NAT stands for Network Address Translation. It allows multiple devices on a private network to share one public IP address when accessing the internet — solving the problem of IPv4 address exhaustion.
There are not enough public IPv4 addresses for every device in the world. NAT solves this by translating private IPs like 192.168.x.x into a single shared public IP when traffic leaves your network.
How NAT Works
Here's a real example. Your home network looks like this:
192.168.1.25 to the router73.45.88.200 and records the mapping73.45.88.200 (your public IP)192.168.1.25 and forwards it to your deviceTypes of NAT
PAT — Port Address Translation in depth
PAT (also called NAT overload) is the type of NAT used on virtually every home and small business network. It's what allows dozens of devices to share a single public IP address simultaneously — and it's heavily tested on both A+ and Network+.
The trick is port numbers. Each outbound connection gets a unique source port number assigned by the router. The router maintains a NAT translation table that maps each private IP + port to the public IP + port, so it knows exactly which device to send the response back to.
NAT types comparison — Network+ table
| Type | Mapping | Use case | Public IPs needed |
|---|---|---|---|
| Static NAT | 1 private IP ↔ 1 public IP (permanent) | Public-facing servers — web, email, FTP. The server must always be reachable at the same public IP. | 1 per device |
| Dynamic NAT | 1 private IP ↔ 1 public IP (from pool, on-demand) | Organisations with a pool of public IPs but fewer than devices. Less common than PAT. | 1 per active session |
| PAT / NAT Overload | Many private IPs ↔ 1 public IP (tracked by port) | All home routers and most small/medium businesses. Virtually universal. | Just 1 |
Port forwarding — punching holes in NAT
NAT provides a natural firewall effect — unsolicited inbound traffic has nowhere to go because the router doesn't have a matching entry in its translation table. But sometimes you want inbound traffic to reach a specific internal device: a home server, a gaming console, a security camera.
Port forwarding creates a static NAT rule that permanently maps a specific public port to an internal IP and port. When traffic arrives on that port, the router forwards it straight to the designated device without waiting for an outbound connection.
NAT and security — the Security+ angle
NAT has security implications that appear on Security+. Understanding both the protection it provides and its limitations is important:
NAT acts as an implicit inbound firewall. Internal devices are hidden behind the public IP — their private addresses are not routable from the internet. Unsolicited inbound packets have no matching NAT entry and are dropped. This is not a substitute for a real firewall, but it does reduce the attack surface significantly compared to having every device publicly exposed.
NAT does not inspect traffic content — it only translates addresses. Malware on an internal device can still make outbound connections through NAT freely. NAT also complicates some security protocols (like IPsec in transport mode) because it modifies the packet headers that the cryptographic signature protects. NAT traversal techniques (like UDP hole-punching used by VoIP and VPNs) are needed to work around this.
How NAT Appears on the A+ Exam
Exam questions may ask:
The router performs NAT. That's the answer the A+ exam is looking for every time.
Also know: PAT (Port Address Translation) is the specific type most home routers use — multiple devices share one public IP via different port numbers.
Troubleshooting — When NAT Goes Wrong
A device has all three settings configured correctly, but still can't reach the internet:
Final Summary
Preparing for the A+ Exam?
Practice exams and structured review make NAT and networking scenarios automatic.
Related Networking Articles
Preparing for the A+ Exam?
See the books, practice exams, and free resources that actually work.