blob: b862aa4e0214cb3cd6298b84aeaf491ec23fd64d [file] [log] [blame]
Jonas Berlinf33c4612005-04-01 06:54:23 +00001Similar to SNAT/DNAT depending on chain: it takes a range of addresses
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01002(`\-\-to 1.2.3.4\-1.2.3.7') and gives a client the same
Jonas Berlinf33c4612005-04-01 06:54:23 +00003source-/destination-address for each connection.
4.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01005\fB\-\-to\fP \fIipaddr\fP[\fB\-\fP\fIipaddr\fP]
Jonas Berlinf33c4612005-04-01 06:54:23 +00006Addresses to map source to. May be specified more than once for
7multiple ranges.
8.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01009\fB\-\-nodst\fP
Jonas Berlinf33c4612005-04-01 06:54:23 +000010Don't use the destination-ip in the calculations when selecting the
11new source-ip
Eric Leblondae4b0b32007-02-24 15:11:33 +000012.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010013\fB\-\-random\fP
Jan Engelhardt6cf172e2008-03-10 17:48:59 +010014Port mapping will be forcibly randomized to avoid attacks based on
Eric Leblondae4b0b32007-02-24 15:11:33 +000015port prediction (kernel >= 2.6.21).