I tried compiling a 2.6.20 plain vanilla kernel for my host machine, and running the command suggested by R. L. Nevot
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -d 0.0.0.0/0 \ -j MASQUERADE This let me get out of my host machine. Who knows, maybe I forgot to remove the iptables --policy FORWARD DROP from the firewall, or something stupid like that. I will have to check with the gentoo kernel again to see at some point. Thanks for all your help, it was greatly appreciated. Jeff Dike wrote: > On Fri, Apr 13, 2007 at 03:32:42PM -0700, Joel Kreager wrote: >> I tried running >> iptables --flush >> iptables -t nat --flush >> >> early on. iptables -L and iptables -t nat -n -L show no rules. As far >> as I know, I have no other sort of firewall on my linux box. > > OK, I guess that rules out a firewall as the problem. > > Have you tried just letting the uml_net helper set up the host, > instead of configuring the tap device, forwarding, arp, etc by hand? > > You do this with eth0=tuntap,,,1.2.3.4 > > Jeff > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ User-mode-linux-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
