> Briefly, as root, you need to type the following on your host: > > echo 1 > /proc/sys/net/ipv4/ip_forward > iptables -A FORWARD -i vboxnet0 -o ppp0 -j ACCEPT > iptables -A FORWARD -i ppp0 -o vboxnet0 -m state --state RELATED,ESTABLISHED > -j ACCEPT > iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
Awesome! It works. Thanks, Greg. Long life for you. > This should be on four lines, so make sure it doesn't wrap. This > doesn't last across reboots, so you'll want to put this in a boot > script such as /etc/rc.local or some such. If you > install one of any number of firewall packages on your host, nat should be > taken care of by such a package. HTH. I will combine that script with wvdial. wvdial will dial to make the connection, and when the connection established, that firewall rules will be applied. Best regards, Marco ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ VBox-users-community mailing list VBox-users-community@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vbox-users-community _______________________________________________ Unsubscribe: mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe