path: root/extensions
diff options
authorMart Frauenlob <>2013-04-10 06:48:49 +0000
committerPablo Neira Ayuso <>2013-05-29 19:27:16 +0200
commitebd4a00b74aa99ed25841a235fe79b1462baea7f (patch)
tree9e7e3f5e35ae5d6cd90221c59007c5652d2fb52f /extensions
parent11965180ba6f278fea81f55a3aa48c8f7c667142 (diff)
extensions: libxt_REDIRECT: rename IPv4 manpage and tell about IPv6 support
This patch renames to thus informing about the IPv6 version. Also the list of valid protocols for port mapping is updated to: tcp, udp, dccp and sctp. Signed-off-by: Mart Frauenlob <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/ (renamed from extensions/
1 files changed, 6 insertions, 7 deletions
diff --git a/extensions/ b/extensions/
index 90ab19d7..3400a6df 100644
--- a/extensions/
+++ b/extensions/
@@ -7,19 +7,18 @@ and
chains, and user-defined chains which are only called from those
chains. It redirects the packet to the machine itself by changing the
destination IP to the primary address of the incoming interface
-(locally-generated packets are mapped to the address).
+(locally-generated packets are mapped to the localhost address,
+ for IPv4 and ::1 for IPv6).
\fB\-\-to\-ports\fP \fIport\fP[\fB\-\fP\fIport\fP]
This specifies a destination port or range of ports to use: without
this, the destination port is never altered. This is only valid
-if the rule also specifies
-\fB\-p tcp\fP
-\fB\-p udp\fP.
+if the rule also specifies one of the following protocols:
+\fBtcp\fP, \fBudp\fP, \fBdccp\fP or \fBsctp\fP.
If option
is used then port mapping will be randomized (kernel >= 2.6.22).
+IPv6 support available starting Linux kernels >= 3.7.