Date: Thu, 1 Sep 2011 17:14:54 GMT From: Vitalic <artemrts@ukr.net> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/160370: Incorrect pfctl check of pf.conf Message-ID: <201109011714.p81HEsIo084322@red.freebsd.org> Resent-Message-ID: <201109011720.p81HK8ti045778@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160370 >Category: misc >Synopsis: Incorrect pfctl check of pf.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 01 17:20:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Vitalic >Release: FreeBSD 9.0-BETA1 #0 >Organization: >Environment: xxxxxxxx# uname -a FreeBSD xxxxxxxxx.xxxxxx.org 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Aug 25 20:41:58 EEST 2011 wishmaster@xxxxxxxx.xxxxxxx.org:/usr/obj/usr/src/sys/MY i386 >Description: I am using FreeBSD as firewall and router for LAN. Inet works via NAT. Here is the small part (macros) of my pf.conf: ext_if=tun0 int_if="bridge0" ...... 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. >How-To-Repeat: Miss quotes in macros definitions. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109011714.p81HEsIo084322>
