On Thursday 11 June 2009 14:14, Mintairov Mikhail wrote:
iptables -F iptables -F -t nat iptables -P FORWARD ACCEPT iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.127.0/24 -j SNAT --to-source [my internet ip]
I know how some like to do the SNAT thing, but a simple rule will get this done also
iptables -t nat -A POSTROUTE -o ppp0 -j MASQUERADE
As to your problem look at your rules with the following and ensure that the SNAT rule is there
iptables -L -v -n | less -SCi