🎧 [Listen] The Site-to-Site VPN Series, Fully Recapped
This article is an audio-learning recap for anyone who’s already read all five articles in the Site-to-Site VPN series. Use your browser’s or phone’s text-to-speech feature and let it play in the background during a commute or while doing chores. There are no diagrams, tables, or code here — just spoken-style prose, stitching the whole series back together into a single, continuous thread.
The series started with the difference between a site-to-site VPN and a remote-access VPN. A remote-access VPN connects individual client devices to a VPN server one-to-one, handing out a new virtual IP address at every connection. A site-to-site VPN, on the other hand, connects two sites’ networks entirely, through a tunnel between their gateways, keeping each side’s existing IP addressing scheme intact. That difference changes how IPsec gets used, too. A remote-access VPN often uses transport mode, while a site-to-site VPN uses tunnel mode, wrapping the entire original packet inside a new IP header. And when building a tunnel between a Cisco device at a Japanese office and a WatchGuard device overseas — devices from different vendors — the parameters both sides need to agree on, like the cipher suite and the traffic selectors, need to line up exactly.
Next came site-to-site VPN with AWS. The first thing to sort out here is that IGW, VGW, CGW, and TGW are four terms with completely different roles. An IGW is the gateway through which a VPC connects directly to the internet, and has nothing to do with VPN. A VGW is the AWS-side gateway that actually terminates the IPsec tunnel with the CGW, which represents the on-premises device. And when consolidating multiple VPCs or multiple sites, a TGW, a transit gateway, gets used instead of a VGW. The traffic between on-premises and AWS never travels defenselessly over the plain internet — it travels through two encrypted, redundant tunnels, which is the real architecture underneath.
Then came SD-WAN and edge router selection. The term SD-WAN refers specifically to the traffic-control technology that dynamically chooses between a site’s multiple links based on per-application communication quality. Being able to centrally manage the configuration of devices across multiple sites from the cloud is a separate concept — a centralized-operations mechanism, not SD-WAN itself. Many products bundle both together, which is exactly why the two get confused, but separating them out makes it much easier to understand the differences between commonly compared devices like FortiGate, Yamaha, and Meraki.
Next came DMVPN, a mechanism that ensures you don’t have to manually add configuration everywhere every time a new site joins. In traditional site-to-site VPN, adding one new site meant individually adding a tunnel configuration dedicated to that site on the hub side — but DMVPN combines mGRE, a single tunnel interface the hub holds just once, with NHRP, which dynamically maps a virtual IP to each site’s actual public IP address, so adding a new site is completed entirely through that site’s own configuration alone. And don’t forget: there are three Phases, differing in whether direct spoke-to-spoke communication forms, with Phase 3 the recommended approach today. You also saw the historical thread connecting this to SD-WAN, which carries forward exactly the challenge DMVPN was solving — dynamic tunnel management that scales as sites are added — through a more refined, vendor-specific, centrally managed controller.
The final article was a hands-on for verifying all of this theory yourself. Two strongSwan servers stood in for devices from different vendors, and deliberately mismatching the cipher suite reproduced a NO_PROPOSAL_CHOSEN error. During the IKE phases, an SA can never be established unless there’s at least one exact match among the cipher suites both sides offer. Even after aligning the cipher suites, a pitfall still remained. The traffic selectors — the declaration of which local subnet pairs with which remote subnet — also need to match between both sides, or you get a different error instead, TS_UNACCEPTABLE. And some vendors’ implementations automatically narrow the actually-established SA’s range down to just the intersection of the subnets both sides declared — a behavior called narrowing. Not knowing about it leads to a confusing failure where, even though the configuration should allow a broad range, only some hosts can actually communicate.
Looking back across all five articles, one consistent pattern emerges. Building a site-to-site VPN demands a habit of questioning and verifying, at every different stage, whether both sides’ settings genuinely match — the difference from a remote-access VPN, AWS’s division of gateway roles, separating SD-WAN from cloud management, DMVPN’s dynamic site addition via mGRE/NHRP, and aligning parameters between different vendors. Rather than assuming it should just work, you move forward by actually checking logs and status output. That habit is the perspective a top-1% engineer carries away from this series. And that’s the recap of the Site-to-Site VPN series, complete.