Re: Linux 2.4 and iptables: output includes NAT

Rusty Russell (rusty@rustcorp.com.au)
Wed, 30 Jan 2002 15:20:45 +1100


On Tue, 29 Jan 2002 20:57:19 +0100
Florian Weimer <fw@deneb.enyo.de> wrote:

> On Linux 2.4.14 with the following iptables rule,
>
> iptables -t nat -A POSTROUTING -o eth1 -p tcp -d $TARGET -j SNAT --to $NEW
>
> tcpdump version 3.6.2 with libpcap 0.6.2 (Debian GNU/Linux versions)
> shows the address on the wire for source addresses of IP packets, but
> the destination address is displayed with NAT applied, which is
> quit confusing.

Yes, this was fixed in later kernels.

Thanks!
Rusty.

-- 
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/