Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-site-to-site-vpn

Site-to-Site IPsec VPN Internals (IKEv2, Dual Tunnels & BGP Failover)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Site-to-Site IPsec VPN Internals (IKEv2, Dual Tunnels & BGP Failover) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-site-to-site-vpn/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-site-to-site-vpn)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-site-to-site-vpn)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-site-to-site-vpn" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Site-to-Site IPsec VPN Internals (IKEv2, Dual Tunnels & BGP Failover) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["On-Prem Data Center"]
  n1_1["Customer Gateway"]
  n2a_2["Tunnel A"]
  n2b_3["Tunnel B"]
  n3_4["Cloud VPN Gateway"]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Encap ESP · IPsec"| n1_1
  n1_1 -->|"2a. Tunnel A · BGP"| n2a_2
  n1_1 -.->|"2b. Tunnel B · BGP"| n2b_3
  n2a_2 -->|"3a. Route VPC · IP"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • On-Prem Data CenterSTATELESS
    Corporate & hybrid cloud links
  • Customer GatewaySTATELESS
    IKEv2 auth + ESP AES-GCM
  • Tunnel ASTATELESS
    BGP dynamic route + DPD probe
  • Tunnel BSTATELESS
    Redundant AZ endpoint failover
  • Cloud VPN GatewaySTATELESS
    Decap -> VPC private subnets
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. On-Prem Data Center → Customer Gateway (Encap ESP)[IPsec]
  2. Customer Gateway → Tunnel A (Tunnel A)[BGP]
  3. Customer Gateway → Tunnel B (Tunnel B)[BGP]
  4. Tunnel A → Cloud VPN Gateway (Route VPC)[IP]
  5. Tunnel B → Cloud VPN Gateway (Sync)[Control]
  6. Cloud VPN Gateway → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →