I'm using Virtualbox 2.2.0 with a Debian Lenny guest on an Ubuntu 8.10 Host.
The Network is set to NAT (I cannot use Host interface due to internal networking difficulties).
I've setup Port Forwarding via the commands
Code: Select all
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/Protocol" TCP
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/GuestPort" 80
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/HostPort" 4280
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 4222
Outgoing traffic from the guest works just fine.
Can anybody push me in the right direction to solve this problem?
Perhaps it is possible to reconfigure the VirtualBox DHCP Server to only serve a specific IP?
Thanks in advance,
Stefan