blob: a7e90b8d0d201f805d6e887b35e5c2a17d6e7ac2 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001This target allows you to statically map a whole network of addresses onto
2another network of addresses. It can only be used from rules in the
3.B nat
4table.
5.TP
6\fB\-\-to\fP \fIaddress\fP[\fB/\fP\fImask\fP]
7Network address to map to. The resulting address will be constructed in the
8following way: All 'one' bits in the mask are filled in from the new `address'.
9All bits that are zero in the mask are filled in from the original address.