misc/160370: Incorrect pfctl check of pf.conf

Vitalic artemrts at ukr.net
Thu Sep 1 17:20:08 UTC 2011

>Number:         160370
>Category:       misc
>Synopsis:       Incorrect pfctl check of pf.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 01 17:20:08 UTC 2011
>Originator:     Vitalic
>Release:        FreeBSD 9.0-BETA1 #0
xxxxxxxx# uname -a
FreeBSD xxxxxxxxx.xxxxxx.org 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Aug 25 20:41:58 EEST 2011     wishmaster at xxxxxxxx.xxxxxxx.org:/usr/obj/usr/src/sys/MY  i386

I am using FreeBSD as firewall and router for LAN. Inet works via NAT.
Here is the small part (macros) of my pf.conf:

and so on

With pfctl -n -f /etc/pf.conf no errors occur (but exactly should). pfctl -sr and pfctl -sn shows loaded nat and firewall rules, but Inet (via NAT) no working for LAN.

When I corrected my mistake and add quotes to ext_if="tun0" all works fine.
Miss quotes in macros definitions.


More information about the freebsd-bugs mailing list