diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-11-10 09:10:12 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-11-10 09:10:12 +0000 |
commit | 7207fbdc7f170b0373c66f48fe5f2dbb0661aa20 (patch) | |
tree | daa7356fdf82edf6c5bb3a89c62ef7dec69781cb /share | |
parent | f2f23d0a35c5d0458ed54b61d57889218c6f6d39 (diff) |
adjust one of the examples/descriptions for nat-to; it used to be
'nat pass' and nearest equivalent now is to use 'pass quick...nat-to'
not just 'pass...nat-to'. ok henning@ jmc@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/pf.conf.5 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5 index 7223a2bf3dc..87cddeae69d 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.463 2009/11/06 11:44:15 eric Exp $ +.\" $OpenBSD: pf.conf.5,v 1.464 2009/11/10 09:10:11 sthen Exp $ .\" .\" Copyright (c) 2002, Daniel Hartmeier .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: November 6 2009 $ +.Dd $Mdocdate: November 10 2009 $ .Dt PF.CONF 5 .Os .Sh NAME @@ -2508,12 +2508,14 @@ match in on $ext_if proto tcp from any to any port 80 \e rdr-to 127.0.0.1 port 8080 .Ed .Pp -If the +If a .Ar pass -modifier is given, packets matching the translation rule are passed without -inspecting the filter rules. +rule is used with the +.Ar quick +modifier, packets matching the translation rule are passed without +inspecting subsequent filter rules. .Bd -literal -offset 4n -pass in on $ext_if proto tcp from any to any port 80 \e +pass in quick on $ext_if proto tcp from any to any port 80 \e rdr-to 127.0.0.1 port 8080 .Ed .Pp |