From owner-freebsd-pf@FreeBSD.ORG Mon Jul 10 00:31:41 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 DCA1B16A4E0 for ; Mon, 10 Jul 2006 00:31:41 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1375943D53 for ; Mon, 10 Jul 2006 00:31:41 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.181.175] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1FzjgZ1BKM-0008NK; Mon, 10 Jul 2006 02:31:39 +0200 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Mon, 10 Jul 2006 02:31:32 +0200 User-Agent: KMail/1.9.1 References: In-Reply-To: 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="nextPart5554175.jZQEkvaLVj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607100231.37891.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Subject: Re: Sync command from IPF to PF...? 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: Mon, 10 Jul 2006 00:31:41 -0000 --nextPart5554175.jZQEkvaLVj Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 10 July 2006 02:23, Fire walls wrote: > I start working with pf, my first firewall is running ipf, my doubt > is, we have the flag "y" on ipf, on pf we dont need any more that > setting?, because before every time i connect to my isp i run the > ppp.linkup with the command !bg /sbin/ipf -y, how pf handle that? With pf a simple "pfctl -f config.file" will do the same in 99% of the time= =20 unless you have tables predefined in the config file that were changed late= r=20 on - in that case you will lose the changes. As a better alternative, pf has the "(interfacename)" syntax. Whereever yo= u=20 want to say "addresses on tun0" you can say "(tun0)". For instance you wou= ld=20 want to write things like: nat on $ext_if inet from ($int_if:network) to any -> ($ext_if) this - in contrast to: nat on $ext_if inet from $int_if:network to any -> $ext_if will track changes of the interface address automatically. See pf.conf(5) = for=20 more details on this. Make sure that you use the "()" syntax everywhere to avoid surprises. =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 --nextPart5554175.jZQEkvaLVj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEsZ/pXyyEoT62BG0RAm3bAJ9tIKlp4w1PV5TJNSmmDrh6y15CQgCfaXwq dgavJ3/h/O4x2sKqVdw9x1c= =x8iv -----END PGP SIGNATURE----- --nextPart5554175.jZQEkvaLVj--