Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2004 21:50:02 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Stephane Raimbault <segr@hotmail.com>
Cc:        net@freebsd.org
Subject:   Re: using natd to load balance port 80 to multiple servers
Message-ID:  <417C85FA.5050708@elischer.org>
In-Reply-To: <BAY24-F38qIfQdmEB4H0000f819@hotmail.com>
References:  <BAY24-F38qIfQdmEB4H0000f819@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Stephane Raimbault wrote:
> Hi All,
> 
> I'm currently using a freebsd box running natd to forward port 80 to 
> several (5) web servers on private IP's.
> 
> I have discovered that natd doesn't handle many requests/second all that 
> well (seem to choke at about 200 req/second (educated guess))
> 

use the "ipfw fwd" option to directly send the packets to the appropriate machine.
Should be able to forwarrd at wire speed.

you will probably need ipfw fwd running on both sides of the forward..
one on the switch machine to forward packets to one machine and one on
that machine to "capture" those packets to a local socket.


> There are other packet filtering options on FreeBSD and I wonder if I 
> can use them to do what I'm trying to do with natd.
> 
> Would someone be able to point me to documentation or help me have 
> either ipf/ipfw/pf forward port 80 traffic to private space IP's?
>



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