On Fri, 10 May 2002 22:06:51 MST, Greg White wrote:

> > Using tcpdump, I see that the ICMP packet sent back comes from 10.0.0.5,
> > instead of its external address!  This is odd, because xl0 is the
> > interface on which ipnat operates.
> 
> Umm, not to ask a stupid question Sheldon, but where are you tcpdumping
> from? The NAT box, or outside the NAT box? It seems to me that based on
> what I recall of the way NAT works with ipfilter that the NAT box will
> see what you describe, but those outside it will see the NATed
> address...Feel free to correct me here. ;)

Stand corrected. :-)

The tcpdump utility takes its input from the bpf device, which sees
outbound packets after all IPFW / natd / IPFilter / IPnat processing, at
least on a FreeBSD box.

Ciao,
Sheldon.

Reply via email to