Use it when configuring, checking or troubleshooting Site-to-Site VPN in VPN.
Site-to-Site VPN
A Site-to-Site VPN protects selected traffic between networks or gateways, typically using stable peer identities, routing or policy selectors and bidirectional security associations across an untrusted underlay.
1. Site-to-site IPsec connects networks.
2. Match proposals and traffic selectors on both sides.
3. Certificates or strong PSKs.
4. Route-based (VTI) eases routing.
5. Monitor counters and rekeys.
site A → IKE/IPsec → site B
Context & applicabilityCommon mistakes · platform/version boundaries
Established site SAs show selected peer/proposal state; they do not show every subnet, route, NAT exemption or application works.
Suspicious evidence: selector mismatch, missing return route, NAT before encryption, overlapping prefix, one-way SA, stale peer IP, rekey failure or tunnel bypass via alternate route.
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
site A flow/route → peer underlay → IKE/authentication → child/data SAs/selectors → encapsulation → site B route/policy → response
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.
- Peer reachable ≠ protected prefixes negotiated.
- One-way encapsulation ≠ bidirectional tunnel health.
- Tunnel or SA up ≠ protected application traffic succeeds.
- Cryptographic negotiation ≠ correct identity, selector, route or application outcome.
show crypto ikev2 sa— IKE SAsshow crypto ipsec sa peer <ip>— child SAs and countersswanctl --list-sas— strongSwan
ReferenceWhat it is1 section · depth on demand
Design choices
- Route-based (VTI) with dynamic routing for many subnets and failover.
- IKEv2, AES-GCM, DH group 19/20+, certificates or long random PSKs.
- Redundant tunnels over two ISPs with BFD/DPD.
- Correct MTU/MSS (IPsec overhead 50–80 bytes).
Checks: show crypto ikev2 sa, show crypto ipsec sa (encaps/decaps rising on both ends), routing to the remote subnets.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Established site SAs show selected peer/proposal state; they do not show every subnet, route, NAT exemption or application works.
In depth
A site-to-site VPN connects entire networks through gateways at each end, so hosts communicate as if on a private WAN without any client software. It is the standard way to connect branch offices, partners and cloud environments over the internet.
Design choices:
| Choice | Options |
|---|---|
| Policy vs route-based | Route-based (VTI) preferred: dynamic routing, simpler changes |
| Routing | Static or BGP over the tunnel |
| Redundancy | Two tunnels to two gateways, two ISPs |
| Authentication | Certificates or long random PSKs |
| Algorithms | IKEv2, AES-GCM, SHA-256+, DH group 19/20, PFS |
Monitor tunnel state and traffic counters, and test failover regularly — a backup tunnel that never carries traffic may silently be broken.
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 → Site-to-Site VPN. 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 → Site-to-Site VPN proof map
Fast scope, effective-policy, runtime-evidence and closure boundaries for VPN → Site-to-Site VPN.
| 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 |