On Thursday 23 December 2004 18:27, Bastian Boday wrote: > from the vserver I can connect to eth0 but not to the internet. From my > local net everything works fine.
You need to do SNAT in order to get your vservers connecting to the internet when you're using different IPs on the root dev and the alias... it looks like this: /sbin/iptables -t nat -A POSTROUTING -s 192.168.50.0/255.255.255.0 -d ! 192.168.50.0/255.255.255.0 -j SNAT --to-source 192.168.2.x (this should be the ip of eth1) Bene -- Benedikt Boehm www.croup.de [EMAIL PROTECTED] GPG-ID: 0x32585A3D "If it moves, compile it." -- Gentoo
pgpHl5UvTaPfq.pgp
Description: PGP signature
_______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
