virtualbox host-only adapter doesn't work anymore
Posted: 16. Jul 2009, 22:51
Hi
host os: Debian Lenny
guest os: any
virtualbox version: 3.0.2
I have a vodafone usb stick, ok.
I want to make network for the guest os so it could have internet connection, and can see the other guest operating systems.
So:
1) I set the guest os networking to "host-only adapter (vboxnet0)".
2) I give a few iptables rules, etc:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
3) I boot the guest os, and it get's an ip....but I just can't ping e.g.: google.com.....
Why? It worked fine in VirtualBox 2.2. Is it a bug? Or I'm just missing something?
regards, and thank you: jakab
host os: Debian Lenny
guest os: any
virtualbox version: 3.0.2
I have a vodafone usb stick, ok.
I want to make network for the guest os so it could have internet connection, and can see the other guest operating systems.
So:
1) I set the guest os networking to "host-only adapter (vboxnet0)".
2) I give a few iptables rules, etc:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
3) I boot the guest os, and it get's an ip....but I just can't ping e.g.: google.com.....
Why? It worked fine in VirtualBox 2.2. Is it a bug? Or I'm just missing something?
regards, and thank you: jakab