Page 1 of 1

Port forwarding

Posted: 28. Aug 2013, 11:01
by njohn
Hey there,

i want to setup VirtualBox on my WinXP with port forwarding to one of the guests.
I tried to add the forwarded port via gui and with these commands:

Code: Select all

    VBoxManage setextradata "VM Name" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
    VBoxManage setextradata "VM Name" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 8022
    VBoxManage setextradata "VM Name" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 2222
Nothing works to connect via ssh to 127.0.0.1:2222 with putty. Windows firewall is turned off
I also cant find the configured port in the "netstat -a"

Any suggestions?