summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-06-11 02:12:38 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-06-11 02:12:38 +0000
commita74d174ebe7d9d4fe9d2e8e044766a2230f8db17 (patch)
treef0a811470deb7b4f4f163f1607c5188b76d465ca /share
parent43a37245a81d3c24cfe3e0569a87e69eb22ea172 (diff)
Make NAT proxy port range configurable per rule, for instance privileged
source ports can mapped to privileged proxy ports, or source port 500 to proxy port 500. ok frantzen@
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/nat.conf.55
1 files changed, 3 insertions, 2 deletions
diff --git a/share/man/man5/nat.conf.5 b/share/man/man5/nat.conf.5
index 6f598518a64..9533b0bf346 100644
--- a/share/man/man5/nat.conf.5
+++ b/share/man/man5/nat.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nat.conf.5,v 1.26 2002/06/10 19:31:44 dhartmei Exp $
+.\" $OpenBSD: nat.conf.5,v 1.27 2002/06/11 02:12:37 dhartmei Exp $
.\"
.\" Copyright (c) 2001 Ian Darwin. All rights reserved.
.\"
@@ -83,7 +83,8 @@ Syntax for filter rules in BNF:
.Bd -literal
rule = [ "no" ] ( nat_rule | binat_rule | rdr_rule ) .
-nat_rule = "nat" "on" [ "!" ] ifname [ protospec ] hosts [ "->" address ] .
+nat_rule = "nat" "on" [ "!" ] ifname [ protospec ] hosts
+ [ "->" address [ portspec ] ] .
binat_rule = "binat" "on" ifname [ protospec ] "from" address
"to" ipspec [ "->" address ] .