Source NAT vs Destination NAT — How They Work and When to Use Each (2026)
Last updated 2026-05-17 · Reviewed by the Networkers Home technical writing team
Source NAT (SNAT) rewrites the source IP of a packet — used when private clients connect outbound (LAN → internet). Destination NAT (DNAT) rewrites the destination IP — used when external clients connect inbound to a public IP that the firewall must translate to an internal server's private IP (port forwarding, server publishing). Both are CCNA 200-301 exam topics under Domain 4 (IP Services).
Quick comparison table
| Aspect | Source NAT | Destination NAT |
|---|---|---|
| Rewrites | Source IP (and often source port) | Destination IP (and often destination port) |
| Traffic direction | Outbound (inside → outside) | Inbound (outside → inside) |
| Primary use case | Many private clients sharing a public IP | External users reaching internal servers |
| Cisco ASA terminology | Dynamic NAT / PAT | Static NAT |
| Palo Alto terminology | Source Translation (Dynamic IP and Port) | Destination Translation |
| Fortinet terminology | IP Pool / Outgoing NAT | VIP (Virtual IP) |
| Address mapping | Usually many-to-one (PAT) | Usually one-to-one (or one-to-many for load balancing) |
| Real-world example | Home Wi-Fi devices reaching the internet | www.example.com pointing to a private 10.1.1.50 server |
Source NAT — how it works
Source NAT replaces the source IP (and sometimes port) of an outbound packet. When the response comes back, the firewall reverses the translation so the response reaches the original client. Most commonly implemented as PAT (Port Address Translation) where many private clients share a single public IP by being assigned unique source ports.
Cisco IOS PAT config example (overloading the WAN interface):
access-list 10 permit 10.0.0.0 0.255.255.255
ip nat inside source list 10 interface GigabitEthernet0/1 overload
interface GigabitEthernet0/0
ip nat inside
interface GigabitEthernet0/1
ip nat outside Destination NAT — how it works
Destination NAT replaces the destination IP of an inbound packet. Used when you want public users to reach a server that lives behind the firewall on private address space.
Cisco IOS static NAT example (publish internal web server):
ip nat inside source static 10.1.1.50 203.0.113.10
! external users hitting 203.0.113.10:443 get DNAT'd to 10.1.1.50:443 Double NAT (twice NAT, hairpin/U-turn)
Sometimes a single connection needs both. Classic case: an internal user accesses your company website via its public URL (which resolves to the firewall's public IP). The firewall must DNAT the destination (to the internal web server) AND SNAT the source (so the server's return traffic comes back through the firewall, not directly to the internal client). On Palo Alto this is a U-Turn NAT policy; on Cisco ASA it's twice NAT.
Where these appear in exams
- CCNA 200-301 — Domain 4 (IP Services): basic NAT and PAT configuration on Cisco IOS routers. See CCNA overview.
- CCNP Security — advanced NAT including twice NAT, identity NAT on ASA/FTD.
- Palo Alto PCNSE — full NAT policy authoring (source + destination + bi-directional + dual-stack).
- Fortinet NSE 4/7 — IP Pool, VIP, Central NAT table configuration.
For hands-on CLI practice on real Cisco hardware: Networkers Home CCNA · Palo Alto PCNSE.