Troubleshooting NAT on Cisco IOS: inside and outside, ACL matches, pools and order of operations
In short: NAT problems usually come from a few simple causes: an interface not marked inside or outside, an ACL that does not match the traffic, a pool that has run out, or a routing problem that makes traffic skip the NAT router. Show ip nat translations and statistics, plus a careful look at the order of operations, find almost all of them.
Start with the basics
- Interfaces. Every interface facing internal users needs
ip nat inside, and the interface facing the internet needsip nat outside. A new VLAN interface added later withoutip nat insideis the single most common NAT fault. - Matching.
show access-lists NAT-ACLshows hit counts. If the counter does not rise when a user tries to browse, the ACL is not matching. Check the wildcard mask and remember that NAT ACLs should bepermitstatements for the inside source addresses. - Translation.
show ip nat statisticsshows the number of active translations, hits and misses, and pool usage. A pool withoutoverloadruns out after one translation per public address. - Routing. Traffic has to actually pass through the NAT router in the inside-to-outside direction, and replies must come back through it. A default route on the router pointing out of the outside interface is required.
Reading the translation table
R1# show ip nat translations
Pro Inside global Inside local Outside local Outside global
tcp 198.51.100.10:4096 10.10.20.15:51522 93.184.215.14:443 93.184.215.14:443
tcp 198.51.100.10:443 10.10.5.20:443 --- ---
The first line is dynamic PAT for a user. The second is a static port forward to an internal web server. If a user is browsing and no line appears for their address, NAT never matched them.
Order of operations
On Cisco IOS, the order matters when ACLs and NAT are on the same interfaces:
- Inside to outside: the inbound ACL on the inside interface is checked first, then routing, then NAT, then the outbound ACL on the outside interface, which therefore sees the translated (public) address.
- Outside to inside: the inbound ACL on the outside interface sees the public address, then NAT translates it, then routing happens.
So an ACL on the outside interface that permits a port forward must reference the public address, not the private one.
Other common problems
- Hairpinning: internal users cannot reach an internal server using its public address. Classic IOS NAT does not hairpin; use split DNS so internal users get the private address, or NAT Virtual Interface (
ip nat enable). - Applications that carry addresses inside the payload (SIP, FTP active mode, some games) need an application layer gateway or a SIP-aware setup.
- Stale translations after a change: clear them with
clear ip nat translation *(this drops current sessions). - Overlapping port forwards using the router's own management ports such as 443 or 22.
Debugging carefully
debug ip nat prints every translation and can flood a busy router. Limit it with an ACL: debug ip nat 10 detailed where ACL 10 matches only the test host. Turn it off with undebug all as soon as you have what you need.
Real-world example: the new Wi-Fi network
A school added a new guest Wi-Fi VLAN. Guests connected and got addresses but could not reach any website. show ip nat statistics showed no hits from the 10.50.0.0/24 range. The new SVI was missing ip nat inside, and the NAT ACL only covered the older 10.10.0.0/16 ranges. Fixing both lines brought the network up.
Practice
Users in a new VLAN get IP addresses but cannot reach the internet, while other VLANs work. Name two NAT-related things to check.
ip nat inside, and that the NAT ACL includes the new subnet.On traffic going from inside to outside, does an outbound ACL on the outside interface see the private or the public source address?
Why might internal users fail to reach a server using its public address?
Key takeaways
- Check inside and outside markings first; new interfaces are often missed.
- ACL hit counters and show ip nat statistics show whether NAT is matching.
- Know the order of operations: outbound ACLs see translated addresses.
- Limit debug ip nat with an ACL on busy routers.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.