summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_NETMAP.man
blob: d49a025db8f016352e59a47df248b93ba71acf7b (plain)
1
2
3
4
5
6
7
8
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.