From owner-freebsd-pf@FreeBSD.ORG Tue Apr 24 22:50:43 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B121416A401 for ; Tue, 24 Apr 2007 22:50:43 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.freebsd.org (Postfix) with ESMTP id A4D7413C459 for ; Tue, 24 Apr 2007 22:50:42 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so11076wxc for ; Tue, 24 Apr 2007 15:50:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QGUNnAVo63PvEaAt+clekbNClh+zwkcJJtgIiE4HDhavCUOB6vV1K6S1mkBlkjF9UuGMIjmjURQoP6upOJsKHaF/feuYgK6o7WO9HV9pJ6J+9tW57M8geh4xhyI8JPGZ8Nh3lXSmI1ZCM0GOoHrzzCo2XvsboVXhOhVwCUnJ+nE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pmz/TrrdqW/Oe1Ad+WFIVO64ftH8ttNCrYAsEbCuNOZlC6Kn6y78LmgTmXvuG9i535sjt8VgLAQ7oWneSbS4ld2Oy9OuT/jOolfyLle2MSQ+v5d+u/mxth+GVRT/W7aGvWNXX5CqUtiZfESSGMCx4Z6XG6JqvU2mois7iKBI+MA= Received: by 10.70.90.18 with SMTP id n18mr18151wxb.1177455041762; Tue, 24 Apr 2007 15:50:41 -0700 (PDT) Received: by 10.100.48.8 with HTTP; Tue, 24 Apr 2007 15:50:41 -0700 (PDT) Message-ID: <11167f520704241550g7ebf705eqfc7cf4962e33592e@mail.gmail.com> Date: Tue, 24 Apr 2007 17:50:41 -0500 From: "Sam Fourman Jr." To: Volker In-Reply-To: <462E4E71.4050605@vwsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070424162747.83796.qmail@web37703.mail.mud.yahoo.com> <462E4E71.4050605@vwsoft.com> Cc: freebsd-pf@freebsd.org Subject: Re: testing load balancig work. X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2007 22:50:43 -0000 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 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" >