Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Site-to-Site VPN

Direct answer

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.

When to use this

Use it when configuring, checking or troubleshooting Site-to-Site VPN in VPN.

First 30 seconds

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.

Operational verification

site A → IKE/IPsec → site B

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

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.

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 Site-to-Site VPN 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.

1 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

site A flow/route → peer underlay → IKE/authentication → child/data SAs/selectors → encapsulation → site B route/policy → response

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
  • 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.
Key checks
  • show crypto ikev2 sa — IKE SAs
  • show crypto ipsec sa peer <ip> — child SAs and counters
  • swanctl --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:

ChoiceOptions
Policy vs route-basedRoute-based (VTI) preferred: dynamic routing, simpler changes
RoutingStatic or BGP over the tunnel
RedundancyTwo tunnels to two gateways, two ISPs
AuthenticationCertificates or long random PSKs
AlgorithmsIKEv2, 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.

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 → 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%
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
LAN-to-LAN VPNgateway VPNsite VPN
Embedded reference data

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.

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?