blob: a7e90b8d0d201f805d6e887b35e5c2a17d6e7ac2 [file] [log] [blame]
Henrik Nordstromc2794132004-01-22 15:04:24 +00001This 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
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01006\fB\-\-to\fP \fIaddress\fP[\fB/\fP\fImask\fP]
Henrik Nordstromc2794132004-01-22 15:04:24 +00007Network 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.