pf not loading
Max Laier
max at love2party.net
Mon Oct 24 08:02:38 PDT 2005
On Monday 24 October 2005 15:29, Roger Grosswiler wrote:
> 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.
If you meant to say "pfctl -sA", that shows Anchors not "filters & rules".
"pfctl -s rules" is what you want.
> > > 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.
After booting try (as root):
# /etc/rc.d/pf rcvar
# /etc/rc.d/pf status
# /etc/rc.d/pf start
and watch the console (#dmesg -a) for error messages.
--
/"\ Best regards, | mlaier at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20051024/9a5b3e95/attachment.bin
More information about the freebsd-pf
mailing list