[netfilter-cvslog] r6621 - trunk/iptables/extensions
kaber at netfilter.org
kaber at netfilter.org
Wed May 24 18:21:58 CEST 2006
Author: kaber at netfilter.org
Date: 2006-05-24 18:21:57 +0200 (Wed, 24 May 2006)
New Revision: 6621
Modified:
trunk/iptables/extensions/libipt_DNAT.man
Log:
Add information about :<port> syntax (Evan Miller <evanm at frap.net>)
Modified: trunk/iptables/extensions/libipt_DNAT.man
===================================================================
--- trunk/iptables/extensions/libipt_DNAT.man 2006-05-24 16:15:27 UTC (rev 6620)
+++ trunk/iptables/extensions/libipt_DNAT.man 2006-05-24 16:21:57 UTC (rev 6621)
@@ -10,7 +10,7 @@
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 @@
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
More information about the netfilter-cvslog
mailing list