Hello,
I've been trying to get my anchors loaded directly from pf.conf, using
the following rules in pf.conf:

anchor annoying
load anchor annoying:all from /etc/anchor-annoying-all

However, whenever I try to load these rules with pfctl -f /etc/pf.conf I
get the following error:

/etc/pf.conf:41: syntax error
pfctl: Syntax error in config file: pf rules not loaded

These rules are copied directly from the pf.conf manpage, after having
replaced spam with annoying.

There shouldn't be anything wrong with the file it's trying to load
either:

% cat /etc/anchor-annoying-all
block in on sf0 proto icmp from 81.84.0.0/16 to any

Any ideas? Whole pf.conf can be posted as well ofcourse, if that would
help.

// nick

Reply via email to