If you like ipv6calc, Deep Space 6 or ip.bieringer.net you can donate via | PayPal |
Liberapay |
Switch here to HTTPS | |||
---|---|---|---|
Control |
Amount of connections to use for test: for test use 8, for analysis 1024/2048 is a good choice |
|
|
Workflow step |
|
||
Time [s] Consumed/Left |
|
||
Protocol | IPv4 | IPv6 | |
Status |
|
|
|
Info |
|
|
|
Address Port |
|
|
|
Port Counter |
|
|
|
Address Counter |
|
|
|
Port Min/Max/Delta Assumed Start/Width Reusage |
|
|
|
Histogram each x covers 256 ports each y-dot covers up to 16 hits and above 256 hits as y-dot a line shows an overflow |
|
|
|
2D Source Port distribution each dot refers to one source port same port used a 2nd time same port used >= 3 times |
|
|
# record current value
sysctl net.ipv4.ip_local_port_range
net.ipv4.ip_local_port_range = 32768 60999
# set small range and run test
sysctl -w net.ipv4.ip_local_port_range="32768 33023"
# reset back to original
sysctl -w net.ipv4.ip_local_port_range="32768 60999"
# add dedicated IPv4 Source-NAT rule restricting outgoing ports
iptables -t nat -I POSTROUTING -p tcp -j SNAT --to-source :41984-42239
# run test
# remove NAT rule
iptables -t nat -D POSTROUTING -p tcp -j SNAT --to-source :41984-42239
# add dedicated IPv6 Source-NAT rule restricting outgoing ports
ip6tables -t nat -I POSTROUTING -p tcp -j SNAT --to-source :41984-42239
# run test
# remove NAT rule
ip6tables -t nat -D POSTROUTING -p tcp -j SNAT --to-source :41984-42239
Your connection is via:
IPv4
Your address: 3.235.145.252 |
ip.bieringer.net is maintained by webmaster at bieringer dot de (Impressum) |