VPNs: IPsec & WireGuard
Build, route and troubleshoot site-to-site and remote-access VPNs with IPsec (strongSwan) and WireGuard.
4 objectives 6 steps about 135 min
Check what you know
The lessons are coming later. The knowledge check is ready now.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Explain tunnels and overlays (GRE, IPsec, WireGuard, VXLAN overview), route-based versus policy-based VPNs, site-to-site versus remote access, and IPsec versus TLS-based (SSL) remote-access VPNs.
- Configure an IKEv2/IPsec site-to-site tunnel with strongSwan and explain IKE and child SAs, ESP and the negotiated cipher suites.
- Configure a WireGuard tunnel, explain cryptokey routing and AllowedIPs, and route site subnets over it.
- Troubleshoot VPNs: mismatched proposals, NAT traversal, MTU and MSS black holes, and routing or firewall gaps.
Lesson plan
6 steps, about 135 min · 0 of 5 lessons available so far
- Tunnels and overlays: what gets wrapped in what, and IPsec vs TLS-based VPNs Concept · 25 min · coming later
- IPsec in practice: IKEv2, security associations and ESP Concept · 20 min · coming later
- Lab: a strongSwan site-to-site tunnel between two FRR sites Lab · 30 min · coming later
- Lab: the same link with WireGuard, plus routing over it Lab · 25 min · coming later
- Worked example: the VPN that pings but cannot load web pages Worked example · 20 min · coming later
- Check: VPN design and troubleshooting scenarios Knowledge check · 8 questions
Practise it
Connect two lab sites first with an IKEv2/IPsec tunnel (strongSwan) and then with WireGuard, route each site's subnets over the tunnel, show in captures that only ESP or WireGuard UDP crosses the simulated internet link, and fix an injected MTU problem with MSS clamping.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own VPNAdvanced · 15–30 h
References
Hard prerequisites
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.