Use it when configuring, checking or troubleshooting NAT in Firewalls.
NAT (Network Address Translation)
Firewall NAT applies ordered source, destination, static or port translations as part of packet processing; effective behavior depends on tuple stage, zone/interface, route, policy order and reversible return state.
1. Firewall NAT: source NAT for outbound, destination NAT for published services.
2. Know whether rules use pre- or post-NAT addresses (vendor-specific).
3. Avoid overlapping NAT.
4. Log translations.
5. Document published services.
packet → NAT rule → security rule → translated session
Context & applicabilityCommon mistakes · platform/version boundaries
A NAT translation shows address/port rewriting, but it does not show policy authorization, bidirectional routing or application health.
Suspicious evidence: shadowed NAT, wrong tuple used in policy, missing return route, port exhaustion, hairpin failure, overlapping objects, stale HA mapping or unintended service exposure.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
original packet → NAT candidate/order → translated tuple → route/security policy → session → return untranslation → application
Step 2 Branching troubleshooting Narrow the fault
Concrete boundaries: ingress packet/context → classification/rule order → NAT/inspection decision → session/state entry → route/egress → server application → return state/path → client.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- NAT rule match ≠ security rule permit.
- Translated address reachable ≠ correct original service published.
- Rule present ≠ rule matched by the tested flow.
- Allowed session ≠ successful or authorized application transaction.
show running nat-policy / show nat— NAT rulesshow session all filter nat yes— translated sessions- NAT and security rule interplay — pre/post-NAT addresses
ReferenceWhy it matters1 section · depth on demand
How it works in operation
A security gateway first identifies ingress/context and packet tuple, evaluates ordered policy/NAT/security inspection, may create state/session entries, then forwards or drops.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A NAT translation shows address/port rewriting, but it does not show policy authorization, bidirectional routing or application health.
In depth
NAT on firewalls translates addresses between networks: source NAT (many internal hosts sharing public IPs), destination NAT (publishing internal servers), and twice NAT for overlapping networks. Rules and NAT interact, so understanding the processing order is essential.
| Platform | Rules match on |
|---|---|
| Cisco ASA (8.3+) | Real (pre-NAT) addresses |
| Palo Alto | Pre-NAT addresses with post-NAT zone |
| FortiGate | Policy with NAT settings (depends on central NAT mode) |
| iptables/nftables | Chain order (PREROUTING DNAT before filtering) |
Publishing a server with destination NAT exposes it to the internet — combine with strict security rules, IPS and preferably a reverse proxy or WAF in front.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Firewalls → NAT. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/41/r1/final · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Firewalls → NAT proof map
Fast scope, effective-policy, runtime-evidence and closure boundaries for Firewalls → NAT.
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Exact subjects, destinations, application, direction, trust zone and expected decision | Does not prove effective path, identity, cryptography or enforcement |
| Effective control state | Resolved rule/policy, session/SA, identity/posture, translation and selected path | Object/config presence does not prove a match or packet outcome |
| Runtime evidence | Correlated client, authenticator/firewall/VPN, AAA and destination observations for one flow/time | A single log or success does not prove every packet, peer, path or failover state |
| Closure | Original allowed/denied operation behaves as intended and regression/failure tests pass | Administrative commit or tunnel-up state alone is not closure |