having issue with remote desktop in virtual box

Page 1 of 2 12 LastLast

  1. Posts : 75
    windows 7 64bit
       #1

    having issue with remote desktop in virtual box


    when i set network to bridge i able to remote. but when i set to NAT i unable to remote. is there anyway that i can use NAT setting and remote in ? anyone can please advise thanks.
      My Computer


  2. Posts : 2,465
    Windows 7 Ultimate x64
       #2

    It's normal, bridge acts as if the virtual computer were attached to the network like any other so you can see it directly. In NAT mode, The VirtualBox controller acts as if it were a NAT router with the virtual machine on the LAN side and the host on the WAN side, so the guest can see the host but the host can't see the guest.

    To allow any such program like remote control, you must do a port forwarding in VirtualBox "router" to enable that port. In the configuration, network tab, under the advanced settings there is a button that lets you configure port forwarding to the guest. For the built in remote desktop, port 3389 is the one you must send.
      My Computer


  3. Posts : 75
    windows 7 64bit
    Thread Starter
       #3

    Alejandro85 said:
    It's normal, bridge acts as if the virtual computer were attached to the network like any other so you can see it directly. In NAT mode, The VirtualBox controller acts as if it were a NAT router with the virtual machine on the LAN side and the host on the WAN side, so the guest can see the host but the host can't see the guest.

    To allow any such program like remote control, you must do a port forwarding in VirtualBox "router" to enable that port. In the configuration, network tab, under the advanced settings there is a button that lets you configure port forwarding to the guest. For the built in remote desktop, port 3389 is the one you must send.
    i already enable it but seems like still nt working can you teach me how to use nat and make it work ? if possible to list down step by step how i can actually do it ?
      My Computer


  4. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #4

    Chapter 6. Virtual networking

    Did you do the VBoxManage modifyvm command already? Give me full command you did
      My Computer


  5. Posts : 2,726
    Windows 7 Ultimate 64bit
       #5

    Why not have a look at TeamViewer - Free Remote Control, Remote Access

    This way you wont have to mess about with any settings

    You could also have a squiz over here if you get stuck TeamViewer
      My Computer


  6. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #6

    Code:
     
    VBoxManage  modifyvm  "fill in VM name"  --natpf1  "guestrdp,tcp,,53389,,3389"
    natpf1=nat Port Forwarding rule1. You can also use natpf2, natpf3 etc.
    guestrdp=just a description
    53389= port to connect to from outside. Connect to host computer port 53389 will be forwarded to guest port 3389
      My Computer


  7. Posts : 75
    windows 7 64bit
    Thread Starter
       #7

    Kaktussoft said:
    Code:
     
    VBoxManage  modifyvm  "fill in VM name"  --natpf1  "guestrdp,tcp,,53389,,3389"
    natpf1=nat Port Forwarding rule1. You can also use natpf2, natpf3 etc.
    guestrdp=just a description
    53389= port to connect to from outside. Connect to host computer port 53389 will be forwarded to guest port 3389
    where can i execute the command ? i not sure how to do that.
      My Computer


  8. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #8

    junqi89 said:
    Kaktussoft said:
    Code:
     
    VBoxManage  modifyvm  "fill in VM name"  --natpf1  "guestrdp,tcp,,53389,,3389"
    natpf1=nat Port Forwarding rule1. You can also use natpf2, natpf3 etc.
    guestrdp=just a description
    53389= port to connect to from outside. Connect to host computer port 53389 will be forwarded to guest port 3389
    where can i execute the command ? i not sure how to do that.
    Of course in "command prompt". Command prompt on host , no on client
      My Computer


  9. Posts : 2,465
    Windows 7 Ultimate x64
       #9

    Why to use command line when you can use the normal settings screen to do the same?
    Open the settings of the VM and on the network tab fill the port forwarding info.
    Attached Thumbnails Attached Thumbnails having issue with remote desktop in virtual box-nat-virtualbox.png  
      My Computer


  10. Posts : 75
    windows 7 64bit
    Thread Starter
       #10

    Alejandro85 said:
    Why to use command line when you can use the normal settings screen to do the same?
    Open the settings of the VM and on the network tab fill the port forwarding info.
    Okay thanks for the reply. so for the guest do i need for port forward any settings ?
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:54.
Find Us