summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_NETMAP.man
diff options
context:
space:
mode:
authorMart Frauenlob <mart.frauenlob@chello.at>2013-04-10 06:49:25 +0000
committerPablo Neira Ayuso <pablo@soleta.eu>2013-05-29 19:27:27 +0200
commitb8646dc9623631db3b71a5c1846566cf54a66a3a (patch)
tree85f6c661705d4134cdc548bddb17a5d7fe3653cf /extensions/libxt_NETMAP.man
parentebd4a00b74aa99ed25841a235fe79b1462baea7f (diff)
extensions: libxt_NETMAP: rename IPv4 manpage and tell about IPv6 support
This patch renames libipt_NETMAP.man to libxt_NETMAP.man thus informing about the IPv6 version. Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_NETMAP.man')
-rw-r--r--extensions/libxt_NETMAP.man11
1 files changed, 11 insertions, 0 deletions
diff --git a/extensions/libxt_NETMAP.man b/extensions/libxt_NETMAP.man
new file mode 100644
index 00000000..06507db7
--- /dev/null
+++ b/extensions/libxt_NETMAP.man
@@ -0,0 +1,11 @@
+This target allows you to statically map a whole network of addresses onto
+another network of addresses. It can only be used from rules in the
+.B nat
+table.
+.TP
+\fB\-\-to\fP \fIaddress\fP[\fB/\fP\fImask\fP]
+Network address to map to. The resulting address will be constructed in the
+following way: All 'one' bits in the mask are filled in from the new `address'.
+All bits that are zero in the mask are filled in from the original address.
+.TP
+IPv6 support available since Linux kernels >= 3.7.