pf not loading

Roger Grosswiler roger at gwch.net
Mon Oct 24 06:29:29 PDT 2005


Hello...

Am Sonntag, den 23.10.2005, 22:07 +0200 schrieb Max Laier:
> On Sunday 23 October 2005 21:54, Roger Grosswiler wrote:
> > i installed 6.0 RC1 and filled pf_enable="YES" as i did in 5.4
> >
> > But, no pf is loaded while startup. no /dev/pf is there. i can kldload
> > pf, but then the ruleset won't be loaded too. even pfctl -f /etc/pf.conf
> > does not change this.
> 
> This is not very precise.  What happens when you pfctl -f /etc/pf.conf ?  Are 
> you sure you can kldload pf?
yes, i am. i even saw, that pf.conf has been loaded. pf -sA doesn't show
anymore filters & rules, i have to select pfctl -s all - then i see the
rules.

> 
> > does somebody have the same? or does somebody know how to correct?
> 
> Are you, by chance, using a custom kernel without INET6?  In that case trying 
> to kldload pf will error out on the console.  To build the pf module without 
> INET6 you need to define NO_INET6 in make.conf while building pf.ko.  Also 
> make sure you have bpf in your kernel.
> 
I tried also using ipv6 support, but still no hope, pf is not loaded on
bootup.

:-(
Roger



More information about the freebsd-pf mailing list