NAT port forwarding to the hosts IP works, but not to others
Posted: 3. Apr 2013, 04:13
I am running virutalbox on Windows 7.
The host VM OS is Ubuntu server 12.10.
Within the Host VM I've got eth0, which talks via the NAT interface fine, and I've configured a bridge br0 such that 2 LXC containers (VMs within Ubuntu) have IPs on the same subnet and bridge to eth0.
When I set up a port forward to the host OS's IP, no problem, it forwards the request just fine.
But it fails when I set up a port forward to the IP of one of the LXC containers (the IP of one of the other interfaces connected via br0 to eth0). Actually virtualbox will not even open the listening port on my Windows 7 host.
As soon as I change the IP ot the main Ubuntu Server host, voila, we have a listening port on windows 7, but when I change the port forward to one of the LXC containers, the listening port on windows 7 is gone.
Is there some rule against port forwarding to an IP other than the hosts? In this case the host has been configured with a static IP itself.
The host VM OS is Ubuntu server 12.10.
Within the Host VM I've got eth0, which talks via the NAT interface fine, and I've configured a bridge br0 such that 2 LXC containers (VMs within Ubuntu) have IPs on the same subnet and bridge to eth0.
When I set up a port forward to the host OS's IP, no problem, it forwards the request just fine.
But it fails when I set up a port forward to the IP of one of the LXC containers (the IP of one of the other interfaces connected via br0 to eth0). Actually virtualbox will not even open the listening port on my Windows 7 host.
As soon as I change the IP ot the main Ubuntu Server host, voila, we have a listening port on windows 7, but when I change the port forward to one of the LXC containers, the listening port on windows 7 is gone.
Is there some rule against port forwarding to an IP other than the hosts? In this case the host has been configured with a static IP itself.