Re: netfilter/iptables bug ?

J.A. Magallon (jamagallon@able.es)
Wed, 2 Apr 2003 00:53:44 +0200


On 04.02, Martin Josefsson wrote:
> On Wed, 2003-04-02 at 00:44, J.A. Magallon wrote:
> > Hi all...
> >
> > I'm trying to do NAT from a internal eth1 to external eth0 (connected
> > with a cable modem). Every doc I read says I should do:
> >
> > iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> >
> > But I just keep getting:
> >
> > iptables: Invalid argument
> >
> > Kernel: 2.4.21-pre6 + -pre5-aa. iptables 1.2.7a.
>
> Recompile iptables against your new kernel.
> A major NAT patch (newnat) went into 2.4.20 which changed a lot of
> structures. A recompile against a >= 2.4.20 kernel will get it working
> again.
>
> I suggest that you post further mail about iptables-problems to
> netfilter@lists.netfilter.org as that's where you are most likely to get
> help.
>

Thankyou very much.

Sometimes I doubt if this is a maling list or an IRC channel ;))

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Bamboo) for i586
Linux 2.4.21-pre6-jam1 (gcc 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/