]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extensions: libxt_REDIRECT: rename IPv4 manpage and tell about IPv6 support
authorMart Frauenlob <mart.frauenlob@chello.at>
Wed, 10 Apr 2013 06:48:49 +0000 (06:48 +0000)
committerPablo Neira Ayuso <pablo@soleta.eu>
Wed, 29 May 2013 17:27:16 +0000 (19:27 +0200)
This patch renames libipt_REDIRECT.man to libxt_REDIRECT.man 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 <mart.frauenlob@chello.at>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extensions/libxt_REDIRECT.man [moved from extensions/libipt_REDIRECT.man with 68% similarity]

similarity index 68%
rename from extensions/libipt_REDIRECT.man
rename to extensions/libxt_REDIRECT.man
index 90ab19d7981c3bb378a4abcb68cf12882bbe83b8..3400a6df7d3418e76521aee5fb86c4a0bc7b2965 100644 (file)
@@ -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 127.0.0.1 address).
+(locally-generated packets are mapped to the localhost address,
+127.0.0.1 for IPv4 and ::1 for IPv6).
 .TP
 \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
-or
-\fB\-p udp\fP.
+if the rule also specifies one of the following protocols:
+\fBtcp\fP, \fBudp\fP, \fBdccp\fP or \fBsctp\fP.
 .TP
 \fB\-\-random\fP
 If option
 \fB\-\-random\fP
 is used then port mapping will be randomized (kernel >= 2.6.22).
-.RS
-.PP
+.TP
+IPv6 support available starting Linux kernels >= 3.7.