summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/man/ipnat.5
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>2002-06-07 08:58:22 +0000
committerdarrenr <darrenr@FreeBSD.org>2002-06-07 08:58:22 +0000
commit18c772ae03d7e1f977314e90bd189cc5bd011d58 (patch)
tree8d2f795a0e1f329027a752795bb21f35e0e0ba99 /contrib/ipfilter/man/ipnat.5
parentf1f224e765794690be35a60a66d0451cbec51b9f (diff)
downloadFreeBSD-src-18c772ae03d7e1f977314e90bd189cc5bd011d58.zip
FreeBSD-src-18c772ae03d7e1f977314e90bd189cc5bd011d58.tar.gz
Import IPFilter 3.4.28
Diffstat (limited to 'contrib/ipfilter/man/ipnat.5')
-rw-r--r--contrib/ipfilter/man/ipnat.514
1 files changed, 8 insertions, 6 deletions
diff --git a/contrib/ipfilter/man/ipnat.5 b/contrib/ipfilter/man/ipnat.5
index 16c1752..a8beb6f 100644
--- a/contrib/ipfilter/man/ipnat.5
+++ b/contrib/ipfilter/man/ipnat.5
@@ -19,17 +19,19 @@ mapit ::= "map" | "bimap" .
fromto ::= "from" object "to" object .
ipmask ::= ip "/" bits | ip "/" mask | ip "netmask" mask .
dstipmask ::= ipmask | "range" ip "-" ip .
-mapport ::= "portmap" tcpudp portnumber ":" portnumber .
+mapport ::= "portmap" tcpudp portspec .
options ::= [ tcpudp ] [ rr ] .
-object = addr [ port-comp | port-range ] .
-addr = "any" | nummask | host-name [ "mask" ipaddr | "mask" hexnumber ] .
-port-comp = "port" compare port-num .
-port-range = "port" port-num range port-num .
+object :: = addr [ port-comp | port-range ] .
+addr :: = "any" | nummask | host-name [ "mask" ipaddr | "mask" hexnumber ] .
+port-comp :: = "port" compare port-num .
+port-range :: = "port" port-num range port-num .
rr ::= "round-robin" .
+nummask = host-name [ "/" decnumber ] .
tcpudp ::= "tcp" | "udp" | "tcp/udp" .
-portnumber ::= number { numbers } | "auto" .
+portspec ::= "auto" | portnumber ":" portnumber .
+portnumber ::= number { numbers } .
ifname ::= 'A' - 'Z' { 'A' - 'Z' } numbers .
numbers ::= '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' .
OpenPOWER on IntegriCloud