Reference
PAT
PAT multiplexes internal flows onto shared external addresses by translating transport ports.
Meaning and purpose
PAT multiplexes internal flows onto shared external addresses by translating transport ports.
How it works in context
SNAT changes a packet’s source and DNAT changes its destination. PAT multiplexes connections using ports. The translator maintains state so replies can return to the original endpoint. CGNAT adds sharing inside a provider network. A forwarded port also needs a listening application, a route and an allowing firewall rule.
Operational checks and security
Check both directions and identify where translation happens. Overlapping private networks and asymmetric routing can break stateful translation. NAT is not a substitute for an explicit security policy, and a public source address alone may not identify a subscriber behind CGNAT.
Read-only example
These commands inspect the surrounding system or protocol. They do not automatically change its configuration or establish every property of this term. Replace example targets only with destinations you are authorized to inspect.
ip route show
# Review translation rules read-only on a system you administer
sudo nft list ruleset
Sources and further reading
These explanations are educational. Implementations, policies and standards evolve; check the current specification and software version before changing a system.