0:00–0:30
Lecture
0:30–1:50
Lab 5A
1:50–2:00
Debrief
0:00 – 0:30Lecture · 30 min

Why VPNs exist, IPSec protocol suite, IKE negotiation, and the StrongSwan mental model

Part 1 — The VPN problem (5 min)

Part 2 — IPSec protocol suite (10 min)

Part 3 — StrongSwan mental model (8 min)

Part 4 — WireGuard preview (7 min)

0:30 – 1:50Lab 5A · 80 min

Lab 5A — Verify and extend the network topology for S1↔S3 VPN

Part 1 — Verify existing topology (20 min)

Part 2 — Configure S3 as a NAT gateway (30 min)

Part 3 — Network topology documentation (30 min)

Lab 5A complete when: S1 can ping S3's External IP. S3 can ping S1's External IP. S2 cannot ping S3's LAN IP (expected — this is what the VPN will fix). All topology IPs documented in the lab sheet. S3 has internet access through its NAT gateway config.
1:50 – 2:00Debrief · 10 min

Learning outcomes — by end of Day 1, students can…

Explain IPSec IKE phasesDescribe what is negotiated in Phase 1 vs Phase 2 and why two phases are needed
Distinguish ESP and AHExplain what each provides and why ESP is used in tunnel mode VPNs while AH is incompatible with NAT
Verify the VPN topology prerequisitesConfirm S1↔S3 external IP connectivity and document all interface IPs for use in ipsec.conf
Explain the NAT exclusion requirementDescribe why the MASQUERADE rule must be modified before VPN traffic can flow correctly

Common issues and fixes

IssueLikely causeFix
S1 cannot ping S3's external IPS3 not connected to External vSwitch, or External NIC not configuredIn Hyper-V: verify S3 has a NIC connected to the External vSwitch. On S3: check ip addr show — External NIC should have a 172.17.x.x DHCP address
S3 cannot reach internet after enabling NATIP forwarding not enabled, or MASQUERADE rule on wrong interfaceCheck: cat /proc/sys/net/ipv4/ip_forward (must be 1). Check: sudo iptables -t nat -L POSTROUTING — MASQUERADE rule must reference S3's External interface name
← Week 5 Overview Lab 5A Handout Day 2 →