GRC Careers

HomeResourcesNAT

CS-046 · Network

NAT

How network address translation lets many private devices share public IP addresses.

Executive Summary

Network address translation, or NAT, lets devices with private IP addresses share one or more public addresses when communicating with the internet. It was created to conserve scarce IPv4 addresses and remains widespread today. NAT also incidentally hides internal addressing, but it should not be mistaken for a security control on its own.

What It Is

NAT is a technique, usually performed by a router or firewall, that rewrites the IP address information in packets as they cross a boundary between a private network and a public one. Internal devices use private IP addresses from reserved ranges that are not routable on the public internet, and NAT translates those into a public address when traffic leaves, then reverses the translation for the replies. The most common form is port address translation, sometimes called NAT overload, where many internal devices share a single public IP and are distinguished by unique port numbers. NAT keeps a translation table so it can match returning traffic to the correct internal device.

Why It Matters

NAT solved a real scarcity problem: the IPv4 address space is too small for every device to have its own public address, and NAT let entire homes and organizations operate behind a handful of public addresses. It remains everywhere, from home routers to enterprise edges and cloud gateways. NAT also means internal devices are not directly reachable from the internet unless a rule explicitly forwards traffic to them, which reduces exposure as a side effect. However, treating NAT as a firewall is a mistake, because it does not inspect or filter traffic by policy. Understanding what NAT does and does not provide is important for designing and troubleshooting networks.

How It Works

When an internal device sends a packet to the internet, the NAT device replaces the packet's private source address (and, in port address translation, the source port) with its public address and a chosen port, and records that mapping in a translation table. The destination server sees only the public address and replies to it. When the reply arrives, the NAT device consults its table, restores the original private address and port, and forwards the packet to the correct internal device. For inbound connections that must reach an internal server, an administrator configures port forwarding or a static translation so specific external traffic is directed inside. IPv6, with its vast address space, reduces the need for NAT but does not eliminate translation entirely.

Architecture Diagram

Internal device sends with a private IPNAT rewrites source to the public IP and portMapping is stored in the translation tableServer replies to the public addressNAT restores the original private addressPacket is delivered to the correct internal device
NAT rewrites private source addresses to a public one on the way out and reverses the mapping for returning traffic.

Visual Workflow

An internal device with a private IP address sends traffic toward the internet.The NAT device rewrites the source address, and in PAT the source port, to a public value.It records the mapping in its translation table.The external server responds to the public address.The NAT device looks up the mapping and restores the original private address.The reply is forwarded to the correct internal device.

Common Attacks

Common Mistakes

Best Practices

Quick Checklist

Recommended Tools

Router or firewall with NAT
Performs address translation at the network boundary
Connection and NAT table viewer
Shows active translations for troubleshooting
Packet analyzer
Reveals how addresses are rewritten across the boundary
Port scanner
Verifies which forwarded services are exposed externally

Industry Standards

RFC 1918
Defines the private IPv4 address ranges used behind NAT
RFC 3022
Describes traditional IP network address translation
NIST SP 800-41
Firewall guidance covering NAT in boundary designs

Career Relevance

NAT is fundamental knowledge for network security engineers, security engineers, and cloud security engineers, who design address plans, configure gateways, and set up secure inbound access. SOC analysts account for NAT when tracing traffic back to a specific internal host. Understanding NAT is essential for reading network diagrams and logs, a routine task across the roles that AI-Governance-Jobs.com serves.

Interview Questions

Related Certifications

CompTIA Network+ CompTIA Security+ Cisco CCNA

Further Reading

Key Takeaways

Download PDFDownload PNG

FAQ

Does NAT make my network secure?

Not by itself. NAT hides internal addresses and blocks unsolicited inbound connections as a side effect, but it does not inspect or filter traffic by policy. Real protection requires a stateful firewall and proper access controls alongside NAT.

What is the difference between NAT and PAT?

Basic NAT maps private addresses to public ones, often one to one. Port address translation, or PAT, lets many private devices share a single public IP by giving each connection a unique port number. PAT is the form most home and small networks use.

Will IPv6 make NAT obsolete?

Largely, for address conservation. IPv6 has enough addresses that devices can have unique public ones, removing the original reason for NAT. Some translation still occurs for transition and policy reasons, but the widespread PAT of IPv4 is not needed the same way.

Get all 116 reference sheets
The complete AGJ Cybersecurity Professional Reference Library, print-ready PDFs and PNGs.
Browse the library

Related Careers

Related certifications

CompTIA Network+CompTIA Security+Cisco CCNA

Current openings

Live openings appear on the web version. Browse the job board for current GRC and security roles.
Browse all jobs

Suggested learning path

  1. Ground the basics with CS-001 Cybersecurity
  2. Study this sheet: NAT
  3. Go deeper: TCP/IP
  4. Go deeper: Firewalls
  5. Validate it: work toward CompTIA Network+
  6. Find the role: browse current openings

Related sheets

More in Network

Share this LinkedIn Facebook X Email