summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_REDIRECT.man
diff options
context:
space:
mode:
authorHenrik Nordstrom <hno@marasystems.com>2004-01-22 15:04:24 +0000
committerHarald Welte <laforge@gnumonks.org>2004-01-22 15:04:24 +0000
commitc2794131b445ebccba184066af6d3fb2f38d1f38 (patch)
treea24f57a9be5a8364b53dfa102705d270f36b440a /extensions/libipt_REDIRECT.man
parent0113fe75ff05e09e6f3d251534d9ae32e9aa717c (diff)
split manpages into per-extension manpage snippet (Henrik Nordstrom)
add lots of missing manpage snippets (Harald Welte)
Diffstat (limited to 'extensions/libipt_REDIRECT.man')
-rw-r--r--extensions/libipt_REDIRECT.man18
1 files changed, 18 insertions, 0 deletions
diff --git a/extensions/libipt_REDIRECT.man b/extensions/libipt_REDIRECT.man
new file mode 100644
index 00000000..19fa917c
--- /dev/null
+++ b/extensions/libipt_REDIRECT.man
@@ -0,0 +1,18 @@
+This target is only valid in the
+.B nat
+table, in the
+.B PREROUTING
+and
+.B OUTPUT
+chains, and user-defined chains which are only called from those
+chains. It alters the destination IP address to send the packet to
+the machine itself (locally-generated packets are mapped to the
+127.0.0.1 address). It takes one option:
+.TP
+.BR "--to-ports " "\fIport\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"
+or
+.BR "-p udp" .