Date: Tue, 24 Apr 2007 17:50:41 -0500 From: "Sam Fourman Jr." <sfourman@gmail.com> To: Volker <volker@vwsoft.com> Cc: freebsd-pf@freebsd.org Subject: Re: testing load balancig work. Message-ID: <11167f520704241550g7ebf705eqfc7cf4962e33592e@mail.gmail.com> In-Reply-To: <462E4E71.4050605@vwsoft.com> References: <20070424162747.83796.qmail@web37703.mail.mud.yahoo.com> <462E4E71.4050605@vwsoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Does someone have a sample pf.conf using 2 external connections in a load balanced or round robin fasion. I would like to use one as a refrence when buildinf my firewall / Router Sam Fourman Jr. On 4/24/07, Volker <volker@vwsoft.com> wrote: > On 04/24/07 18:27, cangak wrote: > > i have two connection, and i try load balancing by > > doing like this > > nat on $ext_if1 xxxxxxxxxxxxxxxxxxxxx > > nat on $ext_if2 xxxxxxxxxxxxxxxxxxxxx > > > > and now how to see its work or not. thanks > > > > cangak, > > these are just two NAT rules. But it has nothing to do with load > balancing. > > For load balancing somebody else on the list has to comment as I never > tried balancing two external connections. > > In general, if you want to check out what packets are leaving your > system, using which source address, check out the states `pfctl -ss'. > AFAIK the way for you to go is to use rdr options. Also take a look at > the round-robin options pf.conf(5). Other folks here on the list have > the comfort of having two upstream connections and already tried > things like that. Perhaps anybody else with some experience can > comment on this? > > HTH > > Volker > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11167f520704241550g7ebf705eqfc7cf4962e33592e>