From: Evan Miller Date: Wed, 24 May 2006 16:21:57 +0000 (+0000) Subject: Add information about : syntax (Evan Miller ) X-Git-Tag: v1.3.6~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8185801d0dd58e6df1801b2d4832c55522274366;p=thirdparty%2Fiptables.git Add information about : syntax (Evan Miller ) --- 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