pfctl -s rules

Fleuriot Damien ml at my.gd
Fri Nov 30 11:02:16 UTC 2012


On Nov 30, 2012, at 12:00 PM, Laszlo Danielisz <laszlo_danielisz at yahoo.com> wrote:

> Hi Everybody,
> 
> Recently I've discover the following issues: I can't display my firewalls rules, and the firewall is enabled. 
> Take a look what is happening:
> 
> ktulu# pfctl -s rules   
> No ALTQ support in kernel
> ALTQ related functions disabled
> ktulu# pfctl -e
> No ALTQ support in kernel
> ALTQ related functions disabled
> pfctl: pf already enabled
> 
> ktulu# uname -a
> FreeBSD ktulu.danielisz.eu 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Mon Jun 11 23:52:38 UTC 2012     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
> 
> 
> 
> Do you have any idea why I can not see them?
> 
> Thx!
> Laszlo



Actually, I believe you can see your rules, all the 0 of them.

Try pfctl -nf /etc/pf.conf

See if you have an error when loading the rules, that would explain it all.



More information about the freebsd-pf mailing list