Page 1 of 1

port forwarding not working

Posted: 4. Jan 2009, 13:14
by market100
Hi,

I use xp on host with ppp adapter (mobile) for internet access, and ubuntu 9.10 as guest and vb 2.1, setted up a NAT dhcp connection i'd like to do port forwarding but it's not working.

VBoxManage setextradata "ubuntu" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestweb/Protocol" TCP
VBoxManage setextradata "ubuntu" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestweb/GuestPort" 80
VBoxManage setextradata "ubuntu" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestweb/HostPort" 80

Here's an example i tested with other ports as well eg ssh,ftp.

The netstat -an commands prints well that the configured ports are listening.
So on guest no firewall used, by the host tested with fw turned off.

There isn't any error message by the vb.log, checked some log on xp , ubuntu and still didn't find solution or ideas searching on forums.

Thanks,
MArket

Posted: 4. Jan 2009, 13:57
by TerryE
Hi you should search the Bugtrack system and you will see that this is a known error. Either downgrade to 2.0.6 or use Host IF until 2.1.2 is released.

Posted: 4. Jan 2009, 22:47
by market100
Thanks, using 2.0.6 working good.