Get the App
SLTechnology News&Howtos  ›  Servers  › 

MASQUERADE-- random port is not random

Shulou Source: shulou.com Published: 2022-06-03 08:47:52 12月06日 Update

Iptables-t nat-A POSTROUTING-o xxxx-j MASQUERADE-- random

It is found that the source port is not random but increases regularly. After searching by Google, it is found that the new version has the parameter-- random-full.

Iptables-t nat-A POSTROUTING-o xxxx-j MASQUERADE-- random-full

The port changes randomly after the test.

Tags: Port parameter version but regularity change search test Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Shulou Information Linux Xiaomi vpn