Network Access Translation (NAT)
Network Access Translation (NAT) is the consolidation of multiple private IP addresses on a network into a single publicly routed IP address. Learn how NAT works, the main types, and why NAT is not a substitute for a firewall.
What is Network Access Translation (NAT)?
NAT, known in networking standards as network address translation, is a technique used by routers and firewalls to rewrite the IP addresses in packets as they pass between networks. Its most common use lets many devices on a private network share one or a few public IP addresses to reach the internet. NAT became widespread because the supply of public IPv4 addresses is limited.
How does NAT work?
- A device on the private network, using a private address such as 192.168.1.20, sends a request to an internet server.
- The NAT device replaces the private source address with its public address and records the mapping, often including a port number.
- The server replies to the public address.
- The NAT device looks up the mapping and forwards the reply to the right private device.
Common types are static NAT (one private address mapped to one public address), dynamic NAT (private addresses mapped to a pool of public ones), and PAT or NAT overload (many private addresses sharing one public address using different ports). Port forwarding maps a public port to an internal server.
NAT vs. firewall
NAT changes addresses; a firewall decides which traffic is allowed. Dynamic NAT and PAT typically block unsolicited inbound connections because no mapping exists, a side effect, not a security policy. Static mappings and port forwarding still allow unsolicited inbound traffic, so they still need firewall rules.
Why does NAT matter?
NAT keeps internal addressing private and conserves public IPv4 addresses. It also complicates remote access: reaching an internal server from outside often means port forwarding, which exposes services such as RDP to attacks. Using a controlled remote access path instead of open forwarded ports reduces that exposure.
Frequently asked questions
What is NAT?
NAT is the consolidation of multiple private IP addresses on a network into a single publicly routed IP address, by rewriting addresses as traffic passes through a router.
Is NAT a security feature?
Not by design. Dynamic NAT and PAT block unsolicited inbound traffic. Static mappings and port forwarding still allow it, so explicit firewall rules remain necessary.
Does IPv6 need NAT?
Usually not. IPv6 provides enough addresses for every device to have a public one, so security relies on firewalls rather than address translation.
Reach private network resources without a VPN
Give users a secure entry point to segmented networks with just-in-time access.
Related terms
IP address
An Internet Protocol (IP) address is a unique number identifying a hardware device that connects to a network.
Read now →Firewall
A firewall is a software or hardware filter that monitors, controls, and restricts incoming and outbound traffic: a network barrier that blocks unauthorized access.
Read now →