On Sunday 19 October 2003 11:50 pm, Jason Stubbs wrote: | On Monday 20 October 2003 14:13, Kurt V. Hindenburg wrote: | > On Sunday 19 October 2003 10:33 pm, Jason Stubbs wrote: | > | > $iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.0.0/24 -j | > MASQUERADE | | So doing this didn't work?
Actually no. If I do /etc/init.t/iptables stop /etc/init.t/iptables start * try to ping from .1 machine -> nothing iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.0.0/24 -j MASQUERADE * try to ping from .1 machine -> nothing However, if I run my iptables-rules script which contains the above MASQ line, everthing works... Very odd, I wonder if the order of the MASQ matters...and therefore the /var/lib/iptables/rules-save is not in the correct order. | I'm no iptables expert but I can't see anything wrong. If it works | if you do the natting after the filtering is set up, how about | switching rules-save around so it's like this: | Tried that..didn't help any.
pgp00000.pgp
Description: signature
