On Tue, Apr 17, 2012 at 10:51:31AM -0400, Michel Blais wrote:
> rule inside of a in bracket anchors, pf will see no rule using the table 
> and delete it. As a work around, I use persist option.


I don't know if things have changed in the pfctl parser, but a way to
be sure is to have per-anchor config files, like so:

$ cat my.conf
table <ausfahrt> persist
pass from <ausfahrt>
$ sudo pfctl -a potazmo -f my.conf
$ sudo pfctl -a potazmo -sT
ausfahrt
$ sudo pfctl -sT | grep ausfahrt
$

...and then load the anchor in the main file using:

load anchor potazmo from "my.conf"

--
Martin Pelikan

Reply via email to