Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2007 21:05:53 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-pf@freebsd.org
Subject:   Re: pf won't start because tun0 doesn't exist yet
Message-ID:  <200706302106.02205.max@love2party.net>
In-Reply-To: <20070630182912.5545CB835@shodan.nognu.de>
References:  <20070630182912.5545CB835@shodan.nognu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706302106.02205.max>