From owner-freebsd-pf@FreeBSD.ORG Sat Jun 30 19:03:58 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 C239A16A41F for ; Sat, 30 Jun 2007 19:03:58 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.179]) by mx1.freebsd.org (Postfix) with ESMTP id 5920313C43E for ; Sat, 30 Jun 2007 19:03:58 +0000 (UTC) (envelope-from max@love2party.net) Received: from [88.64.186.29] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis), id 0ML31I-1I4iEf1i2g-0004DG; Sat, 30 Jun 2007 21:03:57 +0200 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Sat, 30 Jun 2007 21:05:53 +0200 User-Agent: KMail/1.9.6 References: <20070630182912.5545CB835@shodan.nognu.de> In-Reply-To: <20070630182912.5545CB835@shodan.nognu.de> 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="nextPart1493658.YTYodrCFii"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200706302106.02205.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1+TNcVtkKAtIrVL0aRMcLIQdbLJXf6cUdqEc/3 EL63tfj1ZJQeNTzDIfuXTToe0hVcVFkJwDiRzUGc+YLU+9L/0F cEM3cfAFW5bzxDz91qlHldbEPK042Hd76q4Fuy23f0= Cc: Subject: Re: pf won't start because tun0 doesn't exist yet 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: Sat, 30 Jun 2007 19:03:58 -0000 --nextPart1493658.YTYodrCFii Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 30 June 2007, Frank Steinborn wrote: > I'm going to set up a FreeBSD-router running pf. I have rules in > pf.conf containing rules with 'tun0'. Here is the problem: > > When booting the machine, pf won't load the rules because tun0 doesn't > exist at this time. Of course I could easyilly workaround this, but I > wonder if there is a more elagant or even official way on this issue? This is a FAQ - search the archives. In short: If you need ALTQ on tun0 the only workaround is ppp.linkup (or=20 similar). loginterface is unnecessary since pfctl -vvvsI -i tun0. =20 Addresses are written "(tun0)" not "tun0". =2D-=20 =46reeBSD Status reports due: 07/07/07 :-) /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1493658.YTYodrCFii Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQBGhqmaXyyEoT62BG0RAu6GAJ4idngX98wuuen/ufACGgbnPE9z5wCcChxJ 5fKCxZe+0tDX95Ku8pn9e90= =hZvZ -----END PGP SIGNATURE----- --nextPart1493658.YTYodrCFii--