Files
shadowsocks-android/jni/iptables/extensions/libipt_NETMAP.man
T
2014-06-08 11:21:18 +08:00

10 lines
441 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.