pfctl -s rules

Miroslav Lachman 000.fbsd at quip.cz
Fri Nov 30 12:17:00 UTC 2012


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


More information about the freebsd-pf mailing list