News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

vbox os2 and nat port forwarding

Started by ydario, March 25, 2013, 12:52:57 PM

Previous topic - Next topic

ydario

Hi,

I have a vbox os2 host (1.6.1), and a VM with xp guest running in network NAT mode.

I'm unable to get nat port forwarding to work, I want to reach internal vnc server in xp. I disabled xp firewall, but it seems a vbox issue.

I can't use TAP driver for bridge, it doesn't work on this pc (when installed it messes tcpip stack).

Davorin

I checked and port forwarding support doesn't seem to exist in 1.6.1.

Michaelhz

... of course its working. I have here an XP-rdp server running inside a eCS-hosted vbox. Using NAT and the following script:

VBoxManage setextradata "WinXPDC" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/remotedesk/Protocol" TCP
VBoxManage setextradata "WinXPDC" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/remotedesk/GuestPort" 3389
VBoxManage setextradata "WinXPDC" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/remotedesk/HostPort" 3389

So my little eCS-Homeserver accepts rdp-logins under the ip-adress of the host-machine.

ydario

Quote from: Michael Holzapfel on March 27, 2013, 08:10:39 AM
VBoxManage setextradata "WinXPDC" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/remotedesk/Protocol" TCP
VBoxManage setextradata "WinXPDC" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/remotedesk/GuestPort" 3389
VBoxManage setextradata "WinXPDC" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/remotedesk/HostPort" 3389

So my little eCS-Homeserver accepts rdp-logins under the ip-adress of the host-machine.

I did like this, but using different ports between host and guest (5902 vs 5900). I'll try again, maybe I mispelled something.