0:00–0:30
Written
0:30–1:45
Practical
1:45–2:00
Review + Preview W7
Before 0:00Instructor setup
0:00 – 0:30Written · 30 min · 30% of Mini-Assessment 5

Written — IPSec concepts, StrongSwan configuration, PKI, WireGuard

Pen and paper. No computer. 30 minutes.

Section A — IPSec Architecture (12 marks)

Section B — Certificates and WireGuard (18 marks)

0:30 – 1:45Practical · 75 min · 70% of Mini-Assessment 5

Configure a WireGuard tunnel on S1 using a provided specification

You are given a specification for a new WireGuard tunnel. A pre-configured peer endpoint exists and is ready to receive connections. Configure your S1 to connect to it. No notes, no internet. Man pages (man wg, man wg-quick) allowed. 75 minutes.

Tunnel specification (fill in before distributing)

ParameterValue
Your WireGuard interface namewg1 (separate from wg0 built in Lab 5D)
Your tunnel IP address10.10.0.1/24
Listen port51821
Peer public key[Pre-generated by instructor — paste here]
Peer endpoint[Instructor VM IP]:51821
Peer AllowedIPs10.10.0.2/32

Tasks and marks

Student workspace

ItemValue (fill in during practical)
Your S1 public key (give to instructor)
Your S1 private key file path
wg1.conf file contents(write in space below)

Marking criteria

TaskMarksVerified by
Key pair generated — public key provided to instructor20Student shows wg genkey pipeline output and public key file
wg1.conf written correctly — shown to instructor before startup25Instructor reviews: correct [Interface] IP, PrivateKey, ListenPort; correct [Peer] PublicKey, Endpoint, AllowedIPs
Handshake established — wg show confirms, ping 10.10.0.2 succeeds25wg show output shows peer with handshake timestamp; ping returns replies
1:45 – 2:00Review + Week 6 Preview · 15 min

Mini-Assessment 5 — marking summary

ComponentFormatWeightKey topics
Written — Section A (IPSec)Short answer + config12 marks (30%)IKE phases, ESP vs AH, tunnel endpoints, NAT exclusion rule
Written — Section B (PKI + WireGuard)Short answer + config18 marks (30%)PKI trust chain, cert migration changes, AllowedIPs function, WireGuard config, IPSec vs WireGuard comparison
Practical — Key generationLive demonstration20 marks (70%)wg genkey pipeline, public key provided to instructor
Practical — Config fileWritten config reviewed25 marks (70%)All [Interface] and [Peer] fields correct
Practical — Tunnel up and pingLive demonstration25 marks (70%)wg show handshake, ping 10.10.0.2 succeeds
← Day 4 Week 5 Overview Week 6 →