summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
Diffstat (limited to 'share/man')
-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 ] .