Lesson 7 of 8
Keeping Networks Safe
Firewalls, network segmentation, VPNs and updates — the basic defences every network needs. Practical: test a guest-network policy.
Learn it
A firewall is a filter between networks. It checks each packet against rules — which ports, which addresses, which direction — and blocks what isn't allowed.
Segmentation means splitting one network into separate zones. If a guest's infected phone is on the guest network, it can't reach your laptop on the main network.
A VPN (virtual private network) creates an encrypted tunnel across an untrusted network, so people on the same café Wi-Fi can't read your traffic.
Updates matter because attackers exploit known holes. A router or device running years-old software is a door with a published key.
Practical · 25–30 minutes
Test a guest-network policy
Paper or a spreadsheet; no live firewall access.
Only inspect your own device or teacher-approved equipment and targets. Never change the school network, disconnect shared cables, scan other devices or record passwords. If tools are blocked, use the supplied examples or browser lab.
Key terms
- Firewall
- A system that filters network traffic against a set of rules.
- Segmentation
- Splitting a network into separate zones so problems in one can't spread.
- VLAN
- A virtual LAN — separate networks sharing the same physical hardware.
- VPN
- An encrypted tunnel across an untrusted network.
- Least privilege
- Giving accounts and devices only the access they need.
- Defence in depth
- Layering several defences so one failure isn't fatal.
Audit an imaginary network
- 1Imagine: Picture a small café: staff till and laptops, guest Wi-Fi for customers, a smart TV and a security camera, all on one flat network with an old router.
- 2Find the risks: List at least four things that could go wrong. Who can reach the till? What happens if the camera is hacked?
- 3Fix it: For each risk, pick a defence from this lesson: firewall rules, a guest VLAN, updates, stronger passwords, least privilege.
Simple firewall rules
textALLOW outbound any device -> internet :443 (HTTPS)
ALLOW outbound any device -> internet :80 (HTTP)
ALLOW inbound replies to connections we started
BLOCK inbound new connections from the internet
BLOCK guest-VLAN -> staff-VLAN (any port)
LOG everything blockedA default-deny stance — block what isn't explicitly allowed — means attackers must find a hole in the rules rather than stroll through an open door. Logging the blocks reveals who is probing you.
Try it
Match each defence to the problem it solves.
Challenge
Design the security for a school network with four groups: students, staff, guest devices and smart classroom equipment. Say which groups should be segmented from which, what the firewall should allow and block, and two habits (updates, passwords, least privilege, monitoring) that would keep it safe over time.
Pick whichever way suits you — every mode earns the same bonus XP.
Write at least 40 more characters to submit.
Mark your own work
Guided walkthrough — 0/2 clues revealed
- Clue 1 locked — reveal it only if you get stuck.
- Clue 2 locked — reveal it only if you get stuck.
Each clue costs 3 XP (never below 13 XP). You'd earn 25 XP right now.