Page 1 of 1
Cannot access Guest machine by RDP from Host machine or any other
Posted: 14. Jun 2020, 17:33
by Baan
Hi,
Please see my settings attached.
RDP or telnet to 5940 doesn't pass. I tried change network interface from NAT to NAT Network and Host Only Adapter and Internal Network. IP address of VM changes but RDP is still not accessible.
Btw, I have enabled RDP service in VM.. Not sure if it's required. As well as added allowing rule for 5940 port in firewall.
Re: Cannot access Guest machine by RDP from Host machine or any other
Posted: 14. Jun 2020, 17:44
by mpack
You don't have to use the virtual RDP interface, you could do actual RDP using a network connection, bridged or host only. I doubt it would work with NAT. When using host only you must understand that it's a separate network. I've never tried RDP over host-only, I've always used bridged.
Re: Cannot access Guest machine by RDP from Host machine or any other
Posted: 14. Jun 2020, 18:21
by scottgus1
As displayed in your second screenshot, you are using Virtualbox's RDP server (VRDP). VRDP requires the Extension Pack to be installed. VRDP does not go through the guest network or into the guest OS itself, only to the guest's Virtualbox window. Thus you can VRDP to a DOS guest with no network. VRDP does not require a port to be opened in the Virtualbox Port Forwarding sections. You might need to open the port number in the host PC's firewall if you intend to VRDP to the guest from another computer on the LAN.
Other forms of RDP, like MS RDP, or other services like Telnet, require a network between the host PC and guest. Bridged, Host-Only, NAT, and NAT Network will provide this. See
Virtualbox Networks: In Pictures. If you use NAT or NAT network, you will have to open a port in the appropriate Port Forwarding section. Host-Only will only allow the host in, not the LAN. Bridged allows host and LAN in. Host firewall needs to be opened for LAN access.
You cannot RDP/VRDP and Telnet on the same port number. If VRDP is on 5940, then telnet must be on some other port number.