From 2978e31cbc81d7ba717f908bce472cdad655b8d1 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org" Date: Wed, 24 May 2006 16:21:57 +0000 Subject: Add information about : syntax (Evan Miller ) --- extensions/libipt_DNAT.man | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'extensions/libipt_DNAT.man') diff --git a/extensions/libipt_DNAT.man b/extensions/libipt_DNAT.man index b14c6da..366dcb7 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 -- cgit v1.2.3