Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [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 |
Jan Engelhardt | fea74bf | 2009-01-12 04:53:18 +0100 | [diff] [blame] | 6 | \fB\-\-to\fP \fIaddress\fP[\fB/\fP\fImask\fP] |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 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. |