summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhartmei <dhartmei@openbsd.org>2002-06-24 09:54:43 +0000
committerdhartmei <dhartmei@openbsd.org>2002-06-24 09:54:43 +0000
commitae299db46278299578a26536d7742fd437e670ed (patch)
tree4b4722fcb6c12a9bed3772e21bea26f190385ca2
parentWhen the man page contains such obvious stupid TRIVIAL bugs as this (diff)
downloadwireguard-openbsd-ae299db46278299578a26536d7742fd437e670ed.tar.xz
wireguard-openbsd-ae299db46278299578a26536d7742fd437e670ed.zip
Fix more example rules
-rw-r--r--share/man/man5/pf.conf.58
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 736344b3674..aa2e2a934fb 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.conf.5,v 1.61 2002/06/20 12:04:54 dhartmei Exp $
+.\" $OpenBSD: pf.conf.5,v 1.62 2002/06/24 09:54:43 dhartmei Exp $
.\"
.\" Copyright (c) 2002, Daniel Hartmeier
.\" All rights reserved.
@@ -521,8 +521,8 @@ Note that evaluation takes place at parse time.
supports macro definition and expansion like:
.Bd -literal
ext_if = "kue0"
- pass out on $ext_if from any to any keep state
- pass in on $ext_if from any to any port 25 keep state
+ pass out on $ext_if from any to any keep state
+ pass in on $ext_if proto tcp from any to any port 25 keep state
.Ed
.Pp
Macro names must start with a letter and may contain letters, digits
@@ -864,7 +864,7 @@ are not proxied, all other connections are.
# NO RDR
no rdr on fxp0 from any to $server port 80
no rdr on fxp0 from $sysadmins to any port 80
- rdr on fxp0 from any to any port 80 -> 127.0.0.1 80
+ rdr on fxp0 from any to any port 80 -> 127.0.0.1 port 80
.Ed
.Pp
This longer example uses both a NAT and a redirection.