Commands not working in latest version
Hi all,
I've changed from my old distribution to a new one that comes with iptables 1.2.7a.
I have iptables in the kernel (2.4.20) and I've loaded the modules iptable_nat, ipt_REDIRECT and ipt_MASQUERADE.
I had in my previous distributions the following lines:
iptables -t nat -F
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
This would give total access from lan attached to eth0 to the internet through my computer. But now, line 1 executes ok, line 2 gives:
iptables: Invalid Argument
If I do :
iptables -t nat -A POSTROUTING -o eth0
everything runs ok but lan has still no access to the internet as expected. What's happening, any ideas?
Best regards,
Paulo