Re: iptables NAT kernel 2.4.20

From: Markus Hosch (madmaximus@web.de)
Date: 02/10/03


From: Markus Hosch <madmaximus@web.de>
Date: Mon, 10 Feb 2003 10:35:33 +0100

Christian Koch wrote:

> iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
> iptables: Invalid argument
>
> If I change MASQUERADE to ACCEPT, then I got no "Invalid argument" message.
> But I need MASQUERADE.
>
> I hope somebody has an idea.
>
> Thanks.
> Christian
>
>
>

It's just a guess, but i had that problem when my version of iptables
was outdated, so download the latest package from www.netfilter.org,
compile it and then try again.



Relevant Pages

  • Re: [SLE] iptables in 9.0
    ... > PS. Please read the footer before hitting the reply key ... iptables: Invalid argument ... No Microsoft products were used in the production of this message. ...
    (SuSE)
  • Local forwarding with "iptables" gives "invalid arguments"
    ... fails with the laconic message "iptables: ... I' running SuSE Linux Enterprise Server (last try was with their kernel ... However, the result stays the same whatever I try, that damn "Invalid ... How can I find out what is the reason for that, ...
    (comp.os.linux.networking)
  • Re: [SLE] iptables -j REDIRECT stoped working in 9.1 & 9.2
    ... iptables: Invalid argument ... Cosmo ... >>And then be able to ping any IP address as everything was redirected back ...
    (SuSE)
  • why TCP packet marked as INVALID?
    ... It occasionally happens that iptables mistaken packets state as ... PUSH flag is invalid and send a ICMP error back, ... ok] 1:1ack 1 win 5840 ...
    (comp.os.linux.networking)
  • Re: [BUGS?: 2.6.0test4] iptables and tc problems
    ... > iptables: Invalid argument ... used for communication between kernel and userspace. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)