Re: iptables & 2.5 problem

From: Harald Welte (
Date: Wed Jun 04 2003 - 13:07:26 EST

On Wed, Jun 04, 2003 at 12:26:38PM -0500, Shawn wrote:
> I really don't know how to track this problem to its source, so I was
> hoping someone could enlighten me.

Since this seems to be an iptables usage problem, please direct further
questions to (see for more info)

> The problem illustrated here:
> # iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> iptables: Invalid argument
> This box is a gentoo running iptables-1.2.8-r1 and linux-2.5.70-mm3.
> Config attached.

This sounds like your iptables userspace command was compiled for a
kernel with different headers. Please rebuild iptables and make sure it
actually uses the headers of your 2.5.70-mm3 kernel.

- Harald Welte <>   
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:24 EST