Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 13:16:51 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Laszlo Danielisz <laszlo_danielisz@yahoo.com>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: pfctl -s rules
Message-ID:  <50B8A3B3.6000507@quip.cz>
In-Reply-To: <21296179F7C744CE89529A0027FBE9DA@yahoo.com>
References:  <49BF4308335C496593D1D7C82391C805@yahoo.com> <FE4E0127-F5A8-49C4-9BE3-814DAC35329A@my.gd> <21296179F7C744CE89529A0027FBE9DA@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Laszlo Danielisz wrote:
> Nothing is displayed
>
> ktulu# pfctl -nf /etc/pf.conf
> ktulu#

It is better to use verbose command (will show you parsed rules as well 
as some errors)

pfctl -nvvf /etc/pf.conf

If you see your rules with above command, but rules are not loaded at 
boot, then you have some error in /etc/rc.conf  (you need at least 
pf_enable="YES")

Manually try `service pf reload` or `service pf restart`

Miroslav Lachman



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