summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Miller <evanm@frap.net>2006-05-24 16:21:57 +0000
committerPatrick McHardy <kaber@trash.net>2006-05-24 16:21:57 +0000
commit8185801d0dd58e6df1801b2d4832c55522274366 (patch)
tree8db53583d796dba70fe627ed2f5d4042073939fa
parent630da419883a848807c044d6f718b95213cea6f3 (diff)
Add information about :<port> syntax (Evan Miller <evanm@frap.net>)
-rw-r--r--extensions/libipt_DNAT.man5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/libipt_DNAT.man b/extensions/libipt_DNAT.man
index b14c6da3..366dcb77 100644
--- a/extensions/libipt_DNAT.man
+++ b/extensions/libipt_DNAT.man
@@ -10,7 +10,7 @@ should be modified (and all future packets in this connection will
also be mangled), and rules should cease being examined. It takes one
type of option:
.TP
-.BR "--to-destination " "\fIipaddr\fP[-\fIipaddr\fP][:\fIport\fP-\fIport\fP]"
+.BR "--to-destination " "[\fIipaddr\fP][-\fIipaddr\fP][:\fIport\fP-\fIport\fP]"
which can specify a single new destination IP address, an inclusive
range of IP addresses, and optionally, a port range (which is only
valid if the rule also specifies
@@ -18,7 +18,8 @@ valid if the rule also specifies
or
.BR "-p udp" ).
If no port range is specified, then the destination port will never be
-modified.
+modified. If no IP address is specified then only the destination port
+will be modified.
.RS
.PP
In Kernels up to 2.6.10 you can add several --to-destination options. For