Read the scenario first
Each lab starts with a situation, the way a ticket or an exam question does. Work out what is being asked before you type anything.
Free tool · No sign-up needed
A firewall has the right idea and the wrong order. Find the shadowed rules, narrow the one that is too wide and add the one that is missing.
Last updated
Firewall rules · Intermediate · About 10 minutes
An office firewall separates three networks from the internet: the staff LAN, a guest Wi-Fi network and a DMZ with the mail server. Since a change last week, guests can open file shares on the staff LAN, mail from outside has stopped arriving, and staff can’t read their mail.
The rules are mostly there. The problems are their order, one rule that allows far too much, and one that was never written. Remember that the first matching rule decides, so a rule below a wider one never gets a say.
A simulated firewall that runs in your browser. Your rules are tested with the packets the scenario describes.
Office firewall, between the internet, the staff LAN, the guest Wi-Fi and the DMZ
What the firewall must do
Take it further in OpenpassAI
OpenpassAI’s Hands-on Labs put you in a Linux or Windows terminal for the certification you’re studying, in guided, hint-only and timed modes.
About this lab
Free performance-based questions: Security+, Network+, CySA+
One way to complete the lab, with the reason for each step. Try it yourself first.
| # | Action | Source | Destination | Service |
|---|---|---|---|---|
| 1 | allow | Guest Wi-Fi | Internet | TCP 443 |
| 2 | allow | Internet | Mail server | TCP 25 |
| 3 | allow | Staff LAN | Internet | TCP 443 |
| 4 | allow | Staff LAN | Mail server | TCP 993 |
| – | Deny | Any | Any | Any (the implicit deny) |
Guide
Each lab starts with a situation, the way a ticket or an exam question does. Work out what is being asked before you type anything.
Typing a command, getting it wrong and fixing it is what makes it stick. Use the hints when you’re stuck, not before.
Every lab has a worked solution with the reason for each step. Read it even when you finished: there is often a shorter way.
Reset the lab a day later and do it without hints. If you can, you know it. If you can’t, you’ve found what to study.
14 free labs in your browser: Linux and Windows command line, firewall rules and SOHO router setup, checked as you go.
Open the toolFree performance-based questions for 19 CompTIA exams: firewall rules, network diagrams, command-line tasks and drag-and-drop.
Open the toolFree practice tests for 261 popular certification exams, with explanations and a score by exam domain.
Open the toolFAQs
Find quick answers or contact our support team.
Each requirement is a test packet. The lab sends it through your rules from the top: the first rule that matches decides what happens to it, and a packet that no rule matches is denied, as on a real firewall. You pass when every packet is handled the way the scenario asks.
No. Any rule set that handles every test packet correctly passes, and there are usually several. The walkthrough shows one that works and explains why.
It practices skills from CompTIA Security+ (Security Operations), CompTIA Network+ (Network Security) and CompTIA CySA+ (Security Operations).
No. The labs run in your browser and nothing is saved. Sign up only if you want OpenpassAI’s full labs and progress tracking.
OpenpassAI
Hi 👋 I’m OpenpassAI. Ready to prepare for your exam the smarter way?
Ready to explore OpenpassAI? I can show you how the platform helps you prepare, practice, and pass.