Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2008 00:22:29 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        Volker <volker@vwsoft.com>
Cc:        Jeremy Chadwick <koitsu@FreeBSD.org>, freebsd-stable@freebsd.org, freebsd-pf@freebsd.org
Subject:   Re: pf rules not being loaded during boot on 7.1-PRERELEASE
Message-ID:  <20081004002229.7089be9c@tau.draftnet>
In-Reply-To: <48E69F6D.5050001@vwsoft.com>
References:  <48E535D3.8000805@cran.org.uk> <20081003111703.GA27385@icarus.home.lan> <20081003113824.GA27757@icarus.home.lan> <20081003230534.60b4c1cb@tau.draftnet> <48E69F6D.5050001@vwsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 04 Oct 2008 00:40:45 +0200
Volker <volker@vwsoft.com> wrote:
> You seem to have a rule like:
> 
> pass ... on tun0 from any to tun0 ...
> 
> If you change that into:
> 
> pass ... on tun0 from any to (tun0) ...
> 
> pf will happily parse your rules and activate your firewall even while
> tun0 does not already have an IP address. You may also try to use
> rules naming an interface family instead of a single interface.

You're right - I mostly used lines with (tun0) but line 45 didn't have
the brackets.  I've just added them, rebooted and pf loaded the rules
during boot.

-- 
Bruce Cran



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