summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_SAME.man
blob: 7e28ca54e8c0178dc87b92418f5165eda79d60c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Similar to SNAT/DNAT depending on chain: it takes a range of addresses
(`--to 1.2.3.4-1.2.3.7') and gives a client the same
source-/destination-address for each connection.
.TP
\fB--to\fP \fIipaddr\fP[\fB-\fP\fIipaddr\fP]
Addresses to map source to. May be specified more than once for
multiple ranges.
.TP
.B "--nodst"
Don't use the destination-ip in the calculations when selecting the
new source-ip
.TP
.B "--random"
Port mapping will be forcibly randomized to avoid attacks based on 
port prediction (kernel >= 2.6.21).