anchor

Sergey Klusov snklusov at gmail.com
Tue Feb 20 12:46:30 UTC 2007


Hello,
i'm trying to use anchors on freebsd6.0 and can't get it working
right.

Here is my example:

pfctl -f - <<EOM
block all
anchor anch
EOM

pfctl -a anch/s1 -f - <<EOM
pass quick proto tcp from any to any port 25
EOM

and it doesn't work at all
no traffic is allowed (can't telnet to remote host, not on 25-th port,
not on any other)
if i use 'anchor anch/*' instead of 'anchor anch' then there is ANY
traffic allowed, not only on 25-th port

tried to use 'anch:s1' instead of 'anch/s1' - same effect.

What do i do wrong?



More information about the freebsd-pf mailing list