summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-06-07 20:31:14 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-06-07 20:31:14 +0000
commit742062c073b6699199cb6d53c78f25f09343d7e9 (patch)
tree851f1de1a9d8219a519f1486ef36da3aabd7a60d
parent7143916a2f974d866f228d8d5c69f70689cc6de4 (diff)
update BNF to show that tagging is also possible on rdr/nat/binat
-rw-r--r--share/man/man5/pf.conf.59
1 files changed, 6 insertions, 3 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index a1883c5d9ed..d22ed3ff5fa 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.253 2003/06/07 20:27:56 henning Exp $
+.\" $OpenBSD: pf.conf.5,v 1.254 2003/06/07 20:31:13 henning Exp $
.\"
.\" Copyright (c) 2002, Daniel Hartmeier
.\" All rights reserved.
@@ -2175,16 +2175,19 @@ filteropt = user | group | flags | icmp-type | icmp6-type | tos |
"queue" "(" string | ( string [ [ "," ] string ] ) ")"
nat-rule = [ "no" ] "nat" [ "on" ifspec ] [ af ] [ protospec ]
- hosts [ "->" ( redirhost | "{" redirhost-list "}" )
+ hosts [ "tag" string ]
+ [ "->" ( redirhost | "{" redirhost-list "}" )
[ portspec ] [ pooltype ] [ "static-port" ] ]
binat-rule = [ "no" ] "binat" [ "on" interface-name ] [ af ]
[ "proto" ( proto-name | proto-number ) ]
"from" address [ "/" mask-bits ] "to" ipspec
+ [ "tag" string ]
[ "->" address [ "/" mask-bits ] ]
rdr-rule = [ "no" ] "rdr" [ "on" ifspec ] [ af ] [ protospec ]
- hosts [ "->" ( redirhost | "{" redirhost-list "}" )
+ hosts [ "tag" string ]
+ [ "->" ( redirhost | "{" redirhost-list "}" )
[ portspec ] [ pooltype ] ]
antispoof-rule = "antispoof" [ "log" ] [ "quick" ]