summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_NETMAP.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_NETMAP.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_NETMAP.man')
-rw-r--r--extensions/libipt_NETMAP.man9
1 files changed, 9 insertions, 0 deletions
diff --git a/extensions/libipt_NETMAP.man b/extensions/libipt_NETMAP.man
new file mode 100644
index 00000000..d49a025d
--- /dev/null
+++ b/extensions/libipt_NETMAP.man
@@ -0,0 +1,9 @@
+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
+.BI "--to " "address[/mask]"
+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.