lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | This target allows you to statically map a whole network of addresses onto |
2 | another network of addresses. It can only be used from rules in the | ||||
3 | .B nat | ||||
4 | table. | ||||
5 | .TP | ||||
6 | \fB\-\-to\fP \fIaddress\fP[\fB/\fP\fImask\fP] | ||||
7 | Network address to map to. The resulting address will be constructed in the | ||||
8 | following way: All 'one' bits in the mask are filled in from the new `address'. | ||||
9 | All bits that are zero in the mask are filled in from the original address. |