]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Add information about :<port> syntax (Evan Miller <evanm@frap.net>)
authorEvan Miller <evanm@frap.net>
Wed, 24 May 2006 16:21:57 +0000 (16:21 +0000)
committerPatrick McHardy <kaber@trash.net>
Wed, 24 May 2006 16:21:57 +0000 (16:21 +0000)
extensions/libipt_DNAT.man

index b14c6da39c5ad9105c09e8a099ed471818d35e0d..366dcb77ef093c58f6a9656a07e0d85a516f48bd 100644 (file)
@@ -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