Guest rflovato Posted September 17, 2004 Report Share Posted September 17, 2004 Hi, Where are the invalid argument?: [root@localhost root]# iptables -A POSTROUTING -t nat -j SNAT --to-source 200.219.169.201 -s 172.16.9.0/24 -o eth0 iptables: Invalid argument [root@localhost root]# uname -a Linux localhost 2.6.3-7mdk #1 Wed Mar 17 15:56:42 CET 2004 i686 unknown unknown GNU/Linux In the kernel 2.4 of the same Mandrake 10, it's work!!! I'm always used this without problems. Thanks Roger ps: with other distros with kernel 2.6, this line works normally. Quote Link to comment Share on other sites More sharing options...
thinkliberty Posted September 24, 2004 Report Share Posted September 24, 2004 (edited) It looks like iptables is A) Not installed B) Not in your PATH Type as root 'updatedb' then 'slocate iptables' then 'set' to check if iptables is in a directory in your path. (it's normally in /sbin) Also make sure that iptables is running as a service.. Edited September 24, 2004 by thinkliberty Quote Link to comment Share on other sites More sharing options...
Guest acmyau Posted December 22, 2004 Report Share Posted December 22, 2004 Also make sure that iptables is running as a service.. I know this is old - but I've just dealt with the same problem... This last point is the clincher - ensuring iptables is running as a service. If iptables wasn't in the PATH or wasn't installed - command not found errors would've been returned. ty Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.