From 7207fbdc7f170b0373c66f48fe5f2dbb0661aa20 Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Tue, 10 Nov 2009 09:10:12 +0000 Subject: 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@ --- share/man/man5/pf.conf.5 | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'share/man') 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 -- cgit v1.2.3