pf issues with anchor

FreeBSD MailingLists freebsd.ml at gmail.com
Tue Mar 1 03:20:18 GMT 2005


I recently installed 5.3.  updated source and recompiled the kernel and world.
now up to 5.4-PreRelase.
I decided to try PF instead of IPFW that I am used to...

I was setting up a simple pf.conf to test using anchors
<pf.conf>
block in all
pass in quick on em1 all
anchor ssh-anchor
load anchor ssh-anchor from "/etc/pf.ssh"
</pf.conf>

when I start pf I get:
<snip>
Enabling pf.
/etc/pf.conf:4: anchor '(null)' invalid

pfctl: Syntax error in config file: pf rules not loaded
pf enabled
</snip>

what am I doing wrong?

TIA,
Tomoki


More information about the freebsd-questions mailing list