Use it when configuring, checking or troubleshooting AH in VPN.
AH
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.
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.
packet → AH integrity → peer verifies
Context & applicabilityCommon mistakes · platform/version boundaries
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.
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
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 · 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.
- 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.
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.
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 VPN → AH. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc4301 · 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
VPN → AH proof map
Fast scope, effective-policy, runtime-evidence and closure boundaries for VPN → AH.
| 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 |