Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

AH

Direct answer

Authentication Header provides connectionless integrity, data-origin authentication and anti-replay for IP packets without confidentiality, authenticating immutable IP-header fields and payload under an SA.

When to use this

Use it when configuring, checking or troubleshooting AH in VPN.

First 30 seconds

1. AH (protocol 51) authenticates but doesn't encrypt.

2. Breaks with NAT.

3. Rarely used now — ESP with integrity is preferred.

4. Avoid for new designs.

5. Check legacy configs.

Operational verification

packet → AH integrity → peer verifies

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

A valid AH packet shows integrity/authentication under the SA; it does not hide content or show application/user authorization.

Suspicious evidence: NAT on path, protocol 51 blocked, integrity mismatch, replay drop, obsolete algorithm, wrong mode or expectation that AH encrypts payload.

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 AH in VPN.
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

inner/IP packet → outbound AH SA/integrity/sequence → IP path → inbound SPI/replay/auth verification → packet delivery

Step 2 Checks Verify boundary

Capture shows IP protocol 51 for AH (ESP is 50). Most modern platforms do not support AH with IKEv2 site-to-site profiles; if a peer insists on AH, migrate to ESP with an AEAD cipher (AES-GCM).

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
  • AH ≠ encryption or confidentiality.
  • AH ≠ NAT-friendly because address changes affect authentication.
  • Tunnel or SA up ≠ protected application traffic succeeds.
  • Cryptographic negotiation ≠ correct identity, selector, route or application outcome.
Key checks
  • tcpdump -ni <if> ah — AH packets
  • Config review — AH usage
  • NAT in path? — incompatible
ReferenceWhat it is1 section · depth on demand

Practical note

AH protects parts of the outer IP header, so NAT breaks it and it cannot be encapsulated in UDP for NAT-T. It also provides no confidentiality. Modern VPNs use ESP only (with integrity); AH appears mainly in old configurations and some IPv6 specifications.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

A valid AH packet shows integrity/authentication under the SA; it does not hide content or show application/user authorization.

In depth

AH (Authentication Header, IP protocol 51) authenticates IP packets — including immutable parts of the IP header — without encrypting them. Because it covers the IP addresses, it is incompatible with NAT, and because it offers no confidentiality, ESP with authentication replaced it in practice.

When you see AH: legacy configurations, some specialised compliance environments, or IPv6 designs that wanted header authentication. For new VPNs choose ESP; if only integrity is needed, ESP with null encryption (ESP-NULL) is also possible and NAT-friendly.

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 VPN → AH. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc4301 · 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
Authentication HeaderIP protocol 51IPsec AH
Embedded reference data

Quick lookup tables

VPN → AH proof map

Fast scope, effective-policy, runtime-evidence and closure boundaries for VPN → AH.

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?