NAT performance tweaks

Clement Laforet sheep.killer at cultdeadsheep.org
Mon May 5 09:28:01 PDT 2003


On Mon, 05 May 2003 09:41:38 -0500
Eric Anderson <anderson at centtech.com> wrote:

> Does anyone have any tweaks they apply to NAT firewalls that pass a
> lot of connections through them?  Here's the ony tweak I have in place
> already, but I'm not sure they're needed yet (or if there are any
> tweaks needed at all):

which NAT solution do you use ?

> sysctl kern.ipc.somaxconn=8192

NAT'ing (except for natd which uses IPDIVERT (but not more than 3))
doesn't use socket to translate packets.
Generally, packets are tagged by firewall control software and
translated within the IP stack (at leat in kernel land).

clem


More information about the freebsd-performance mailing list