Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2004 16:23:22 -0700 (PDT)
From:      Frederick Polsky <canonical_fred@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   natd translating ip and udp packets but not tcp..
Message-ID:  <20040620232322.1336.qmail@web53306.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Greetings and salutations;

I am having a puzzling issue with natd under FreeBSD
5.2, in which it will translate icmp and udp packets
just fine, but tcp connections from the inside network
to the outside world cannot be established. I can
lookup hostnames, ping etc. from the internal client
box, but cannot establish a connection to any
tcp-based service.

Consider my configuration, with addresses changed to
implicate the guilty:

Gateway internal interface: xl1
Gateway internal ip: 192.168.0.1/24
Client internal ip: 192.168.0.2

Gateway external interface: xl0
Gateway external ip: 131.107.3.124

Proper kernel options in place.

ipfw configuration (more or less):

050 divert 8668 ip from any to any via xl0
100 allow ip from any to any

natd running properly against xl0

I can provide more detailed information (tcpdumps,
etc) if requested. Thanks.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040620232322.1336.qmail>