diff options
Diffstat (limited to 'extensions/libipt_REDIRECT.man')
-rw-r--r-- | extensions/libipt_REDIRECT.man | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/libipt_REDIRECT.man b/extensions/libipt_REDIRECT.man index 02170450..90ab19d7 100644 --- a/extensions/libipt_REDIRECT.man +++ b/extensions/libipt_REDIRECT.man @@ -9,17 +9,17 @@ 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). .TP -\fB--to-ports\fP \fIport\fP[\fB-\fP\fIport\fP] +\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 -.B "-p tcp" +\fB\-p tcp\fP or -.BR "-p udp" . +\fB\-p udp\fP. .TP -.BR "--random" +\fB\-\-random\fP If option -.B "--random" +\fB\-\-random\fP is used then port mapping will be randomized (kernel >= 2.6.22). .RS .PP |