Controlling ports used by natd

Barney Wolff barney at databus.com
Thu Dec 11 23:45:21 PST 2003


On Thu, Dec 11, 2003 at 08:12:49PM -0700, Brett Glass wrote:
> Is there a way to control the range of ports to which FreeBSD's
> natd maps outgoing connections? I'm attempting to deal with a
> situation in which natd is (sometimes) changing outgoing UDP 
> packets' source port numbers to ones which are commonly used 
> by worms. Sometimes, a firewall at the destination blocks the
> packet; at other times, the response is blocked on the way
> back.
> 
> If it is possible to tell natd to avoid using ports that are
> firewalled, it ought to be possible to avoid this problem. But
> I can find no way to do this. Does one exist?

UTSL libpcap/alias_db.c

-- 
Barney Wolff         http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.


More information about the freebsd-net mailing list