Module 2 · Segmentation and Firewall Policy · Lesson 7 of 9
Guided project: build a segmented network
Staff and guest subnets, a web service, a firewall that allows only what's needed, and a connection matrix that proves it.
In this lesson · about 45 minutes
- Plan addressing for two segments and their gateways
- Configure and test a least-privilege rule set
- Produce a portfolio-ready connection matrix
Whiteboard · watch and try
Draw the plan first
Press Play. The tutor sketches the network you'll build, then lists the tests that prove it.
Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.
Setup: a network simulator (such as Packet Tracer or GNS3), or a firewall VM (such as pfSense) plus a staff VM and a guest VM on isolated virtual networks. Don't bridge the lab into your home or office network.
Addressing plan
| Segment | Subnet | Gateway (firewall) | Hosts |
|---|---|---|---|
| Staff | 10.10.10.0/24 | 10.10.10.1 | Web server 10.10.10.5, admin PC 10.10.10.21 |
| Guest | 10.10.20.0/24 | 10.10.20.1 | Guest PC 10.10.20.31 |
The six steps
- Draw it. Two subnets, the firewall between them, every interface and address labelled.
- Address and route. Configure IPs, VLANs if your tool supports them, and default gateways. Confirm each client can reach its own gateway. Fix addressing before touching rules.
- Start a harmless web service on the staff server (for example
python3 -m http.server 80) and confirm it listens on the right interface and port. Keep console access to the firewall in case you lock yourself out. - Write the rules. Allow guest → server on 80/TCP only. Deny guest → staff management ports (22, 3389, 443 on the firewall itself) with logging. Review and remove any broad "allow any" rules left from setup.
- Test. From the guest: HTTP works, SSH to the server is blocked. From the admin PC: SSH to the server still works (the approved management path).
- Document and clean up. Export a sanitised diagram, rule table and test evidence. Stop test services and restore snapshots if the lab was temporary.
Hands-on lab (simulated terminal)
Project lab: steps 2, 3 and 5
Work through the key checks in order. You start on the staff server (10.10.10.5).
Step 1 of 5. Type each command and press Enter. Nothing runs on your computer.
1. Step 2: show this server's IP addresses.
Performance-based question (PBQ)
Step 5: fill in the expected-versus-actual matrix
You ran every test. Here are the results: guest → web 80 returned 200 OK; guest → server SSH 22 timed out with a log entry; guest → firewall web GUI 443 timed out with a log entry; admin PC → server SSH 22 connected; guest → internet 443 worked.
For each test, pick the verdict.
- Guest → 10.10.10.5:80 (web)
- Guest → 10.10.10.5:22 (SSH)
- Guest → 10.10.20.1:443 (firewall GUI)
- Admin PC → 10.10.10.5:22 (SSH)
- Guest → internet:443
Noviq Academy is free and for learning. Every lab here is simulated with synthetic data and private lab addresses. Only capture traffic and test networks that you own or have written permission to test. Wireshark and pfSense are trademarks of their owners; this course is independent of them.