Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2007 17:06:45 +0500
From:      Sergey Klusov <snklusov@gmail.com>
To:        freebsd-pf@freebsd.org
Subject:   anchor
Message-ID:  <913541362.20070220170645@gmail.com>

next in thread | raw e-mail | index | archive | help
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?




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