summaryrefslogtreecommitdiff
path: root/share/man/man5
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2003-02-12 13:27:21 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2003-02-12 13:27:21 +0000
commit2483ace7e3f655ab9e54781d76d76d52eeed5bf7 (patch)
tree4eac1aa8ed71831c58fe2ccbf6461e6f7b2638f2 /share/man/man5
parent6a7dec21e25a8d9661dd9bb9bf0073634f69960e (diff)
Fix BNF for rdr and nat to match merge of rdr and nat parsing.
Diffstat (limited to 'share/man/man5')
-rw-r--r--share/man/man5/pf.conf.510
1 files changed, 4 insertions, 6 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 17dd0db6f05..8d0306926de 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.179 2003/02/10 11:26:30 jmc Exp $
+.\" $OpenBSD: pf.conf.5,v 1.180 2003/02/12 13:27:20 mcbride Exp $
.\"
.\" Copyright (c) 2002, Daniel Hartmeier
.\" All rights reserved.
@@ -1855,8 +1855,7 @@ filteropt = user | group | flags | icmp-type | icmp6-type | tos |
label string | queue string
nat-rule = [ no ] nat [ on ifspec ] [ af ] [ protospec ]
- from ipspec to ipspec [ portspec ]
- [ -> ( redirhost | { redirhost-list } )
+ hosts [ -> ( redirhost | { redirhost-list } )
[ portspec ] ] [ pooltype ] [ static-port ]
binat-rule = [ no ] binat [ on interface-name ] [ af ]
@@ -1865,8 +1864,7 @@ binat-rule = [ no ] binat [ on interface-name ] [ af ]
[ -> address [ / mask-bits ] ]
rdr-rule = [ no ] rdr [ on ifspec ] [ af ] [ protospec ]
- from ipspec to ipspec [ portspec ]
- [ -> ( redirhost | { redirhost-list } )
+ hosts [ -> ( redirhost | { redirhost-list } )
[ portspec ] ] [ pooltype ]
antispoof-rule = antispoof [ log ] [ quick ]
@@ -1933,7 +1931,7 @@ group = group ( unary-op | binary-op | { op-list } )
unary-op = [ = | != | < | <= | > | >= ]
( name | number )
-binary-op = number ( <> | >< ) number
+binary-op = number ( <> | >< | : ) number
op-list = ( unary-op | binary-op ) [ [ , ] op-list ]
flags = flags ( flag-set / flag-set | / flag-set )