I'm using a Linux-Box with Debian stable (Woody) with kernel 2.4.5
(vanilla, from kernel.org). After upgrading to kernel 2.4.25, I got
"iptables: invalid argument" when calling "iptables -t nat -A OUTPUT
...". Same problem exists on an older SuSE Linux 7.1
According to the netfilter.org-FAQ, I recompiled the user-space
"iptables"-binary including libraries, but it didn't work out for me :(
strace tells me that the binary is using the correct recompiled
libraries, and stops after calling setsockopt returning "-1 EINVAL
(Invalid argument)"
Any ideas?
Thanx in advance,
Martin 'Funny' Heise
modprobe iptable_nat
no, that was active, of course - I took my old configuration as basis.
The solution is the newly-introduced "CONFIG_IP_NF_NAT_LOCAL", which was
missing.
Funny