Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

NAT (Network Address Translation)

Direct answer

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.

When to use this

Use it when configuring, checking or troubleshooting NAT in Firewalls.

First 30 seconds

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.

Operational verification

packet → NAT rule → security rule → translated session

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
Network security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNetwork security
Scope / prerequisiteUse it when configuring, checking or troubleshooting NAT in Firewalls.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • show running nat-policy / show nat — NAT rules
  • show 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.

PlatformRules match on
Cisco ASA (8.3+)Real (pre-NAT) addresses
Palo AltoPre-NAT addresses with post-NAT zone
FortiGatePolicy with NAT settings (depends on central NAT mode)
iptables/nftablesChain 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNetwork security current

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%
Terminology layer

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.

Aliases that resolve here
firewall translationsource destination NATpolicy NAT
Embedded reference data

Quick lookup tables

Firewalls → NAT proof map

Fast scope, effective-policy, runtime-evidence and closure boundaries for Firewalls → NAT.

BoundaryEstablishDoes not establish
Scope and intentExact subjects, destinations, application, direction, trust zone and expected decisionDoes not prove effective path, identity, cryptography or enforcement
Effective control stateResolved rule/policy, session/SA, identity/posture, translation and selected pathObject/config presence does not prove a match or packet outcome
Runtime evidenceCorrelated client, authenticator/firewall/VPN, AAA and destination observations for one flow/timeA single log or success does not prove every packet, peer, path or failover state
ClosureOriginal allowed/denied operation behaves as intended and regression/failure tests passAdministrative commit or tunnel-up state alone is not closure
Confirmation

Confirm action

Continue?