diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-07-18 20:28:16 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-07-18 20:28:16 +0000 |
commit | 3075c202fdbe6c948ef1ca5b3f55ef3bd66a5e24 (patch) | |
tree | 15cc8cd5ab0b57463fb7a9691ece462322ab9e71 | |
parent | 0e9a2c5bbbbee594eafb33b8a6584495cf1f7231 (diff) |
use a better layout to improve readability.
ok henning@
-rw-r--r-- | share/man/man5/pf.conf.5 | 14 |
1 files changed, 9 insertions, 5 deletions
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 |