Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2011 08:51:05 +0300
From:      =?WINDOWS-1251?B?wujy4Ovo6SDC6+Dk6Ozo8O7i6Pc=?= <artemrts@ukr.net>
To:        bugbusters@FreeBSD.org
Subject:   not correct behaviour syntax check of pfctl
Message-ID:  <84531.1314424265.17827405142770253824@ffe8.ukr.net>

next in thread | raw e-mail | index | archive | help
I am using pf for firewalling and NAT.
I discovered yesterday one not correct behaviour syntax check of pfctl.

In my pf.conf file I have define macros

ext_if=tun0

without quotes (my mistake) and then executed command
pfctl -F all -f /etc/pf.conf

All the rules have been cleaned and then loaded without errors.

pfctl -sr and pfctl -sn show loaded rules, but Internet do not work for LAN network.
When I corrected the mistake (ext_if="tun0") then all work fine.

OS: FreeBSD 9-BETA1 i386

WBR,
Vitalic



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