From owner-freebsd-pf@FreeBSD.ORG Thu Jun 22 16:36:27 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAA0016A47B for ; Thu, 22 Jun 2006 16:36:27 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05CBE43D45 for ; Thu, 22 Jun 2006 16:36:26 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.183.148] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1FtSAL33sa-0002LC; Thu, 22 Jun 2006 18:36:26 +0200 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Thu, 22 Jun 2006 18:36:18 +0200 User-Agent: KMail/1.9.1 References: <449ABD0B.2040706@alinto.net> In-Reply-To: <449ABD0B.2040706@alinto.net> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2143727.AOlMRXj7kl"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606221836.24040.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Subject: Re: pf and policy routing 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: Thu, 22 Jun 2006 16:36:28 -0000 --nextPart2143727.AOlMRXj7kl Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 22 June 2006 17:53, S=E9bastien AVELINE wrote: > I would like to have some advises on pf. I'd like to use pf for > clustering a firewall and using pfsync. > Actually I use a Linux Box to do this. The problem is that I have > specific rules for routing with iproute2 because I got a lot of > different subnets with multi-homing. It seems that freebsd support > policy routing only with ipfw. > My question is : is it possible to use ipfw just for policy routing and > pf just for packet filtering ? > For example I want to to do something like that : > > I had a default gateway (a) but if I received a packet from subnet(c) to > subnet(d) --> use an another default gateway(y) > a > packet from subnet(a) to subnet(x) --> use an another default gateway(y) > > > I wonder if route-to of pf is good for my exemple or if I should try > something else like ipfw for routing and pf for firewalling as I said > above. Actually I'm using freebsd 6.1 for some tests. > > Thanx for your answers. http://openbsd.org/faq/pf/pools.html#outgoing =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart2143727.AOlMRXj7kl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEmscIXyyEoT62BG0RAsm9AJ9Ic+78gFjsmkM69oLRc9uzqp8gwACfVKNZ 6JxWhVOkGskiPdliYfg81Ds= =EraE -----END PGP SIGNATURE----- --nextPart2143727.AOlMRXj7kl--