From 3075c202fdbe6c948ef1ca5b3f55ef3bd66a5e24 Mon Sep 17 00:00:00 2001 From: Igor Sobrado Date: Sat, 18 Jul 2009 20:28:16 +0000 Subject: use a better layout to improve readability. ok henning@ --- share/man/man5/pf.conf.5 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'share/man') diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5 index 6e12e11f7be..8d1bd081e8b 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.443 2009/05/30 16:56:17 jmc Exp $ +.\" $OpenBSD: pf.conf.5,v 1.444 2009/07/18 20:28:15 sobrado 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: May 30 2009 $ +.Dd $Mdocdate: July 18 2009 $ .Dt PF.CONF 5 .Os .Sh NAME @@ -756,10 +756,14 @@ The packet is redirected to another destination and possibly a different port. .Ar rdr rules can optionally specify port ranges instead of single ports. -rdr ... port 2000:2999 -\*(Gt ... port 4000 +For instance: +.Bl -tag -width Ds +.It Ar rdr ... port 2000:2999 -\*(Gt ... port 4000 redirects ports 2000 to 2999 (inclusive) to port 4000. -rdr ... port 2000:2999 -\*(Gt ... port 4000:* -redirects port 2000 to 4000, 2001 to 4001, ..., 2999 to 4999. +.Pp +.It Ar rdr ... port 2000:2999 -\*(Gt ... port 4000:* +redirects port 2000 to 4000, port 2001 to 4001, ..., port 2999 to 4999. +.El .El .Pp In addition to modifying the address, some translation rules may modify -- cgit v1.2.3