Two ends, one agreement

Client site-to-site VPN connectivity at a regulated payments institution.

Organization
STP
Role
Network & Telecom Analyst, then Network & Telecommunications Specialist
Period
Nov 2021 – present
Stack
IPsec (IKEv1/IKEv2), FortiGate CLI, packet capture; peers on AWS, Azure, GCP, Cisco ASA and strongSwan
One end, many peers Our end sits in the middle. Four tunnels leave it toward four client peers of different kinds: a FortiGate, a Cisco ASA, strongSwan and a cloud gateway. our end FortiGate Cisco ASA cloud gateway strongSwan
Fig. 1One end, many peers. Each peer brings its own vendor, NAT and change window.
Section: Context

Context

STP connects its enterprise clients through site-to-site IPsec VPNs. When I joined in 2021 the platform had about 300 active client VPNs; today it has more than 1,500. Every client arrives with its own firewall vendor or cloud gateway, its own address plan, its own NAT and its own change process. We control one end of every tunnel.

Section: Challenge

Challenge

At that scale, two problems dominate. Onboarding has to be repeatable, because every manual variation becomes a future incident. And troubleshooting happens across an organizational boundary: when traffic fails, the other side often reports that everything is fine on their end, and each team can only see half of the path.

Section: My role

My role

I take client connections from parameters to production, and I own the troubleshooting when they fail. I built the standardized intake form clients fill in and the CLI configuration that turns those parameters into a FortiGate tunnel; I apply it, and I validate that the security associations come up, that routing and policy are correct, and that traffic flows in both directions.

Section: Technical approach

Technical approach

One intake format. I designed a single predefined form that every client fills in: peer, IKE version and proposals, phase-2 selectors and NAT requirements. Ambiguity is resolved before anyone touches a firewall.

One way to configure. Configuration is applied through the CLI from those standardized parameters, so every tunnel is built the same way, regardless of who builds it.

From form to dashboard. With the help of AI tools, I built an internal dashboard on top of that intake format that produces the configuration. It started as a way to help the team: onboarding a client used to take about half an hour, on a call, and the dashboard also shortened the learning curve for new team members.

Diagnosis by evidence, layer by layer.

  1. Are the phase-1 and phase-2 security associations established, and are the encrypt and decrypt counters moving?
  2. Do the phase-2 selectors match exactly on both ends?
  3. Does routing send the traffic, and the return traffic, into the tunnel?
  4. Is a policy or NAT rule dropping it? A packet capture on our side shows what actually leaves and what actually comes back.
get vpn ipsec tunnel summary                      # is the tunnel up?
diagnose vpn tunnel list name <tunnel>            # SAs, selectors, encrypt/decrypt counters
diagnose sniffer packet any 'host <peer-host>' 4  # what leaves, and what comes back
Illustrative diagnostic sequence (FortiOS). Not from a production system.

Cloud peers. With some public-cloud gateways, AWS in my experience, narrow phase-2 selectors caused establishment problems: sometimes because of on-premises bugs, sometimes because the provider changed how its side operates. Defining the phase-2 selectors as 0.0.0.0/0 on both ends, and controlling scope with routing and firewall policy instead, made those tunnels stable.

Section: Outcome

Outcome

With one intake format and one consistent way to configure and diagnose, onboarding stayed repeatable while the platform grew from about 300 to more than 1,500 active client VPNs. Configuration errors went down and clients integrate faster. Building a client VPN went from about half an hour, on a call, to seconds or a couple of minutes.

Section: Lessons learned

Lessons learned

At this scale, consistency is the feature. One intake format, one way to configure and one way to diagnose, whatever sits on the other end: a FortiGate, a Cisco ASA, strongSwan or a cloud gateway.

When one end swears the traffic is leaving, trust the counters, not the claim. A SYN that leaves and a SYN/ACK that never makes it back almost always points to phase 2: the selectors or the return route.

Have a similar problem? Write to me

Next caseRemoving the single point of failure