Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[iptables] iptables: invalid argument

22 views
Skip to first unread message

Martin 'Funny' Heise

unread,
Apr 7, 2004, 7:08:14 PM4/7/04
to
Hi all,

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

Andrey Asadchev

unread,
Apr 7, 2004, 8:36:53 PM4/7/04
to

modprobe iptable_nat

Martin 'Funny' Heise

unread,
Apr 8, 2004, 7:41:40 AM4/8/04
to
Andrey Asadchev wrote:
>
> 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

0 new messages