RE IPTABLES && Invalid Argument
Alle 18:46, domenica 23 marzo 2003, hai scritto:
Quoted 7 lines
Hello,
at first try iptables -V to look whether you really call iptables 1.2.7a. Maybe an
old version is in /sbin, and the new one in/usr/local/sbin, so probably the old
version would be found earlier in your PATH.
ok i try iptables -V and it's a iptables 1.2.7a and in /sbin there is not a old version
Quoted 5 lines
If that's not the problem and you're callng the right version, then recompile
iptables 1.2.7a from source. The "Invalid Argument" often refers to an user space
version (iptables) incompatible to the kernel portion (netfilter).
How to recompile iptables??. Beacuse i try to recompile do : make KERNEL_DIR but it return this error : EXTENSION FOUND .......... (INVALID KERNEL HEADERS)
Quoted 5 lines
Hope this helps.
Sven
Thanks!
Quoted 16 lines
Quoted 15 lines · Matteo
Hi all,
I have a little problem..... I use a Redhat 7.3 with kernel 2.4.20 . I have installed iptables 1.2.7a and patch o matic and recompilated the Kernel and it works.
But the problem is when I launch this command:
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
That produced : Invalid Argument
I have loaded first the modules but the result is the same!!!Can i help me??
Thanks a lot!!!
ByeMatteo
Quoted 3 lines
How to recompile iptables??. Beacuse i try to recompile do :
makeKERNEL_DIR
but it return this error : EXTENSION FOUND ..........
What if you do a "make clean" in the iptables build dir first, end then try to compile with "KERNEL_DIR=<path/to/kernel> make" ?
Rob