[Swan-dev] has iptables SNAT started assigning random ports?
andrew.cagney at gmail.com
Tue Sep 24 21:10:09 UTC 2019
nic# iptables -t nat -A POSTROUTING -s 188.8.131.52/24 -p udp --sport
4500 -j SNAT --to-source 184.108.40.206:3500-3700
I'm guessing that, in the past, the first port - 3500 - was assigned
but now a random port - in the above 3633 - is being assigned
PS: I need to tweak a sanitizer so that 3500 isn't sanitized but
that's not the problem here.
PPS: I wish we used 3-digit port numbers in these tests, usermode is
dead and we're running as root
More information about the Swan-dev