Commands not working in latest version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux