diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-09-08 06:59:19 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-09-08 06:59:19 +0000 |
commit | 6de95c6a7814c77552b8cf23c0c4026cd3feeed8 (patch) | |
tree | e52b87ba10ff11d8a5ae60c01a81f52dd9ce4689 /usr.sbin/authpf/authpf.8 | |
parent | d03bfcc8d63c4717dc7f83b019368a4ed26546b5 (diff) |
Remove some nat-anchor, binat-anchor, rdr-anchor. Noticed by jmc@.
ok henning@
Diffstat (limited to 'usr.sbin/authpf/authpf.8')
-rw-r--r-- | usr.sbin/authpf/authpf.8 | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/usr.sbin/authpf/authpf.8 b/usr.sbin/authpf/authpf.8 index b881e291169..250b28e19ea 100644 --- a/usr.sbin/authpf/authpf.8 +++ b/usr.sbin/authpf/authpf.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: authpf.8,v 1.47 2009/01/06 03:11:50 mcbride Exp $ +.\" $OpenBSD: authpf.8,v 1.48 2009/09/08 06:59:18 sthen Exp $ .\" .\" Copyright (c) 1998-2007 Bob Beck (beck@openbsd.org>. All rights reserved. .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 6 2009 $ +.Dd $Mdocdate: September 8 2009 $ .Dt AUTHPF 8 .Os .Sh NAME @@ -103,15 +103,12 @@ By default, the name "authpf" is used, and the ruleset names equal the username and PID of the .Nm processes as "username(pid)". -The following rules need to be added to the main ruleset +The following needs to be added to the main ruleset .Pa /etc/pf.conf in order to cause evaluation of any .Nm rules: .Bd -literal -offset indent -nat-anchor "authpf/*" -rdr-anchor "authpf/*" -binat-anchor "authpf/*" anchor "authpf/*" .Ed .Pp @@ -119,8 +116,8 @@ The "/*" at the end of the anchor name is required for .Xr pf 4 to process the rulesets attached to the anchor by .Nm authpf . -.Sh FILTER AND TRANSLATION RULES -Filter and translation rules for +.Sh FILTER RULES +Filter rules for .Nm use the same format described in .Xr pf.conf 5 . @@ -134,7 +131,7 @@ Additionally, the macro .Em user_id is assigned the user name. .Pp -Filter and translation rules are stored in a file called +Rules are stored in a file called .Pa authpf.rules . This file will first be searched for in .Pa /etc/authpf/users/$USER/ @@ -423,9 +420,6 @@ Example # ssh and use us as a dns server. internal_if="fxp1" gateway_addr="10.0.1.1" -nat-anchor "authpf/*" -rdr-anchor "authpf/*" -binat-anchor "authpf/*" block in on $internal_if from any to any pass in quick on $internal_if proto tcp from any to $gateway_addr \e port = ssh @@ -520,7 +514,6 @@ only for packets coming from logged in users: .Bd -literal table <authpf_users> persist anchor "authpf/*" from <authpf_users> -rdr-anchor "authpf/*" from <authpf_users> .Ed .Pp .Sy Tunneled users |