path: root/extensions
diff options
authorEvan Miller <>2006-05-24 16:21:57 +0000
committerPatrick McHardy <>2006-05-24 16:21:57 +0000
commit8185801d0dd58e6df1801b2d4832c55522274366 (patch)
tree8db53583d796dba70fe627ed2f5d4042073939fa /extensions
parent630da419883a848807c044d6f718b95213cea6f3 (diff)
Add information about :<port> syntax (Evan Miller <>)
Diffstat (limited to 'extensions')
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/ b/extensions/
index b14c6da3..366dcb77 100644
--- a/extensions/
+++ b/extensions/
@@ -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:
-.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
.BR "-p udp" ).
If no port range is specified, then the destination port will never be
+modified. If no IP address is specified then only the destination port
+will be modified.
In Kernels up to 2.6.10 you can add several --to-destination options. For