port forwarding not working
Posted: 4. Jan 2009, 13:14
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
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