Network address translation
Also called: NAT, NAPT, port address translation, PAT
Network address translation changes IP addresses as packets cross a network boundary. A common variant also translates transport ports, allowing several private-network endpoints to share one public IPv4 address. The translator keeps mappings so replies can be sent back to the appropriate internal endpoint.
For example, 10.0.0.8:5000 might be mapped to 203.0.113.9:62001 for an outbound TCP connection. The reply uses the mapping in reverse. This changes address visibility and can complicate incoming connections; it does not encrypt payloads or replace an explicit firewall policy. The public-side address here is a documentation example.
- Read first
- IPv4
- Related
- IPv4, TCP, End-to-end principle
- Further reading
- IETF RFC 3022 — Traditional IP Network Address Translator