Free tech learning for everyone, from basics to pro

SD-WANNetworking SecurityAdvanced

SD-WAN encryption: IPsec, automatic key distribution, rekeying and device trust

In short: SD-WAN overlays are encrypted with IPsec. Instead of configuring keys pair by pair, edges authenticate to controllers with certificates, and the controller distributes encryption keys and rotates them regularly. This scales to thousands of tunnels. Device trust, anti-replay settings, algorithm choice and the ability to revoke a stolen device are key parts of the design.

From IKE pairs to controller keys

Traditional site-to-site VPNs use IKE between each pair of peers, which needs configuration per pair and grows quickly. Many SD-WAN platforms let each edge generate keys and send them to the controller over a secure control connection; the controller distributes them to peers. Some platforms still use IKE for tunnels but automate its configuration.

Automatic key management in SD-WANGenerate keyseach edgeDistributevia controllerEncryptIPsec tunnelsRekeyregular intervalsRevokeremoved devices
Figure 1. The controller removes the manual key management that made large VPNs hard.

Device identity

  • Edges authenticate with certificates, often built into hardware at manufacture, plus serial number allow-lists in the controller.
  • Virtual edges receive certificates during onboarding.
  • Only devices authorised in the controller can join the fabric.

Encryption and performance

Tunnels typically use AES-GCM, which provides encryption and integrity together and is hardware accelerated on most platforms. Encryption throughput is a key sizing figure for edge devices; check vendor numbers with realistic packet sizes and features enabled.

Rekeying and anti-replay

Keys are changed regularly (for example every day or more often). An anti-replay window rejects old or duplicated packets. With QoS, packets may arrive out of order; too small a window can drop legitimate packets, so platforms allow it to be tuned.

Revoking devices

If an edge is stolen or retired, invalidate it in the controller (remove from the allow-list, revoke the certificate). Its control connections fail and peers stop accepting its tunnels. Make this part of your incident and decommissioning procedures.

Looking ahead

Vendors are adding post-quantum key exchange options to IPsec and control connections in response to future quantum computing risks. Track your vendor's roadmap and plan to enable them when supported.

Real-world example: a stolen branch router

A branch was burgled and its SD-WAN edge taken. The network team removed the device's serial from the controller's authorised list within an hour. When the device was later powered on elsewhere, it could not join the fabric, and no tunnels or keys were sent to it.

Practice

How do many SD-WAN platforms avoid pair-by-pair key configuration?
Edges send keys to the controller over secure control connections, and the controller distributes them to peers.
Why might a small anti-replay window drop legitimate packets?
QoS and multipath can deliver packets out of order, outside the window.
What should you do if an SD-WAN edge is stolen?
Revoke it in the controller by removing it from the allowed list or revoking its certificate.

Related guide: IPsec explained: how site-to-site VPNs keep traffic safe

Key takeaways

  • SD-WAN overlays use IPsec with automated key distribution.
  • Devices authenticate with certificates and controller allow-lists.
  • Keys rotate regularly; tune anti-replay with QoS in mind.
  • Revoke stolen or retired devices promptly; watch post-quantum options.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: