From owner-freebsd-pf@FreeBSD.ORG Tue Jun 10 10:42:57 2008 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E683106567B for ; Tue, 10 Jun 2008 10:42:57 +0000 (UTC) (envelope-from arossihin@nora.no-ip.org) Received: from relay.eburg.etm.ru (relay.eburg.etm.ru [81.91.38.195]) by mx1.freebsd.org (Postfix) with ESMTP id 995FE8FC0A for ; Tue, 10 Jun 2008 10:42:54 +0000 (UTC) (envelope-from arossihin@nora.no-ip.org) Received: from rossikhin.etme.ru ([192.168.1.78]) by relay.eburg.etm.ru (Lotus Domino Release 6.5.4FP3) with ESMTP id 2008061014174038-168484 ; Tue, 10 Jun 2008 14:17:40 +0400 Message-ID: <484E5581.5000100@nora.no-ip.org> Date: Tue, 10 Jun 2008 16:20:49 +0600 From: Rossikhin Aleksey User-Agent: Thunderbird 2.0.0.14 (X11/20080508) MIME-Version: 1.0 To: Rosli Sukri References: In-Reply-To: X-MIMETrack: Itemize by SMTP Server on EBURGRCU/EKATERINBURG/etm(Release 6.5.4FP3|January 09, 2006) at 10.06.2008 14:17:40, Serialize by Router on EBURGRCU/EKATERINBURG/etm(Release 6.5.4FP3|January 09, 2006) at 10.06.2008 14:41:15, Serialize complete at 10.06.2008 14:41:15 X-TM-AS-Product-Ver: -<3.0.1.3446>-<5.5.1027>-<15962> X-TM-AS-Result: -<-6.843>-<4.5>-<99000> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8; format=flowed Cc: freebsd-pf@freebsd.org Subject: Re: multi gateways setup 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, 10 Jun 2008 10:42:57 -0000 Rosli Sukri wrote: > hi > > scenario: > users---->[lan]freebsdpf[wan]----->{gw1,gw2} > where gw1 goes to isp1, and gw2 goes to isp2. > > > requirements: > ftp, http, https traffic goes to gw1 > telnet, ssh, mail and pop goes to gw2 > > can freebsdpf do this? > _______________________________________________ > 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" > yes, it can look for "reply-to" and "route-to" options in pass rules. for example: pass out route-to ($wan_if $gw1) from $wan_if to any port http keep state here all http traffic from freebsd host goes to gw1