You must have another postrouting rule in there. You should flush your tables and try again, or use -I POSTROUTING to put the new rule first. These are very standard things that work well, and are unaffected by linux-vserver.
Run iptables -L -n -t nat -v and you'll see all the rules that are in there now. Cheers, Liam On Tue, 2004-12-21 at 23:26 +0100, Vincenzo Agosto wrote: > Then.... I add this iptables rules > iptables -I INPUT -i ppp0 -m state --state established,related -j > ACCEPT > iptables -I OUTPUT -o ppp0 -s 192.168.1.250 -j ACCEPT > iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.1.0/24 -d ! > 192.168.1.0/24 -j SNAT --to-source <MY IP> > next enter in my vserver: > <VSERVER> apt-get update > 0% [Connecting to ftp2.it.debian.org (213.156.32.111)] > 0% [Connecting to ftp2.it.debian.org (213.156.32.111)] -- Liam Helmer <[EMAIL PROTECTED]> _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
