mirror of
https://github.com/openharmony/third_party_iptables.git
synced 2026-07-21 06:15:26 -04:00
b8646dc962
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>
12 lines
496 B
Groff
12 lines
496 B
Groff
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.
|