lkml.org 
[lkml]   [2002]   [Jan]   [30]   [last100]   RSS-feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Complete thread (EXPERIMENTAL)
/
DateWed, 30 Jan 2002 15:20:45 +1100
FromRusty Russell <>
SubjectRe: Linux 2.4 and iptables: output includes NAT
Digg This
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.

\
ISP Services
Valid XHTML 1.0!\ /
Valid CSS! Last update: 2005-03-22 12:15    [W:0.169 / U:0.050 seconds]
©2003-2005 Jasper Spaans