Beginner to intermediate · Free · In your browser
Learn VPN & IPsec Foundations
Learn what a site-to-site VPN does, then build one: the IKE and IPsec negotiations, proposals that match, pre-shared keys and identities, traffic selectors, NAT traversal, lifetimes, perfect forward secrecy and dead peer detection. Troubleshoot a tunnel from the stage where it stops, and review an old one. Lessons show the same settings on FortiGate, Huawei USG and Cisco IOS. Two projects end in a complete, resilient tunnel. The negotiation is modelled in memory; nothing is encrypted and no gateway is contacted.
No installation. Your code runs right in the browser. Networking Foundations or the same knowledge: IP addresses, subnets, ports and NAT. Firewall Foundations is a useful companion. The configuration format is a Code Temper teaching format, not the syntax of a product; the lessons show FortiGate, Huawei USG and Cisco IOS equivalents, which you should confirm against the documentation of your version. The lab models IKEv2 with pre-shared keys; certificates, remote-access VPNs and routing over tunnels are outside this course.
What you will be able to do
- Explain the IKE SA, the child SA, and the stages of an IKEv2 negotiation
- Configure proposals, authentication, identities and traffic selectors that match the other side
- Keep a tunnel stable with NAT traversal, sensible lifetimes, PFS and dead peer detection
- Troubleshoot a tunnel from its failed stage, and from the data path when it is up
Course outline
A private path over a public network
Gateways, the two negotiations, matching proposals, and traffic selectors.
Who is on the other end
Pre-shared keys, identities, and proposals worth offering.
Real networks
NAT traversal, several networks, narrowing, and a complete branch tunnel.
Keeping the tunnel up
Lifetimes and rekeying, perfect forward secrecy, and dead peer detection.
Troubleshooting
Read the negotiation by stage, debug the data path, and find an identity failure.
Put it together
Handle a change request, review an old tunnel, and build one you can hand over.
Ready for your first line?
Every lesson is short, hands-on, and checked automatically.
Start learning VPN & IPsec Foundations →