0% Complete
0/0 Steps
  1. About

    About Cyber School
  2. About BDO
  3. The CSRP program Syllabus
  4. Module 1
    The Cyber World and CIA Triad
    6 Topics
  5. The OSI Model and Network Layers
    6 Topics
  6. IP Addressing, Subnetting and Routing
    6 Topics
  7. DNS and DHCP
    6 Topics
  8. Windows Server Administration
    6 Topics
  9. Active Directory and Identity Management
    6 Topics
  10. Linux CLI Fundamentals
    6 Topics
  11. Linux Permissions and Hardening
    6 Topics
  12. Module 2 - Defense Technologies and Cyber Tools
    Firewall Architecture and Rule Design
    5 Topics
  13. NAT and Secure Traffic Mapping
    6 Topics
  14. Enterprise VPN Solutions
    6 Topics
  15. IDS and IPS
    5 Topics
  16. Identity and Access Management
    5 Topics
  17. Multi-Factor Authentication
    6 Topics
  18. Data Loss Prevention
    6 Topics
  19. Endpoint Security and EDR
    6 Topics
  20. Mail Security
    6 Topics
  21. Web Proxy and URL Filtering
    6 Topics
  22. Regulation and Compliance
    6 Topics
  23. Cloud Security
    6 Topics
    |
    1 Quiz
  24. Module 3 - Ai in security
    AI in Security
    5 Topics
  25. ML Anomaly Detection
    5 Topics
  26. AI Threats
    5 Topics
  27. LLM Defense
    6 Topics
  28. Module 4 - Offensive Cyber & Vulnerability Scanning
    Cyber Kill Chain and Attacker Mindset
    6 Topics
  29. OSINT and Public Intelligence Gathering
    6 Topics
  30. Network and Port Scanning with Nmap
    6 Topics
  31. Vulnerability Scanning
    6 Topics
  32. Exploitation Fundamentals
    6 Topics
  33. Web Application Security
    5 Topics
  34. Social Engineering
    5 Topics
  35. Password and Hash Cracking
    5 Topics
  36. Module 5 - SOC and Advance Cyber Analyst
    SOC Structure and Operations
    6 Topics
  37. SIEM Fundamentals with Splunk
    6 Topics
  38. Alerting and Dashboards
    6 Topics
  39. Incident Response
    5 Topics
  40. Basic Digital Forensics
  41. Capstone A - The Attack: Breaching Meridian
  42. Capstone B - The Defense: Defending Meridian
  43. ISC2 CC Mock Exam and CSRP Graduation
    2 Quizzes
Lesson 12 of 43
In Progress

Firewall Architecture and Rule Design

Cyber School 23/11/2026

Presentation Link : https://gamma.app/docs/Firewall-Architecture-and-Rule-Design-nr8c23jhknbl9kh

Hands-on lab: audit Meridian’s firewall rules

Lab: Audit Meridian's firewall rules

Loading the lab...

Show the full step-by-step solution

Full solution: Lab: Audit Meridian's firewall rules

The complete solution for every step of the lab. Try the lab on your own first. Flags are personal to each learner, so this page explains how to reach each flag instead of printing it.

  1. Step 1: Trace a normal connection

    A customer at 198.51.100.7 opens Meridian's website over HTTPS (TCP port 443) on 10.0.10.10. Which rule number handles this packet?

    Answer: 1

    1. In the packet tester choose TCP, source 198.51.100.7, destination 10.0.10.10, port 443, and press Test packet.

    2. The firewall checks rule 1 first: TCP, any source, destination 10.0.10.10, port 443. Everything matches, so it stops there.

    3. Enter 1.

  2. Step 2: Why is the admin locked out?

    An administrator at 10.0.50.12 complains that SSH (TCP port 22) to the web server 10.0.10.10 is blocked, although rule 4 was written for exactly this. Which rule actually handles the packet?

    Answer: 3

    1. Test TCP, source 10.0.50.12, destination 10.0.10.10, port 22.

    2. Rules 1 and 2 do not match (wrong port). Rule 3 matches: TCP, any source, any destination, port 22, DENY.

    3. The firewall stops at rule 3, so rule 4 is never reached. This is called a shadowed rule.

    4. Enter 3.

  3. Step 3: Fix the shadowed rule

    What is the right fix, so admins can use SSH and everyone else is still blocked? Choose one.

    Correct choices:

    • Move rule 4 above rule 3

    - Changing rule 3 to ALLOW would open SSH to the whole internet.

    - Deleting rule 4 removes the admins' access entirely.

    - A copy at the bottom is still below rule 3, so it is still shadowed.

    - Moving rule 4 above rule 3 lets the specific admin rule match first, and rule 3 still blocks everyone else. Choose that one.

  4. Step 4: Find the hole

    Someone on the internet at 203.0.113.50 connects to the database 10.0.30.5 on TCP port 5432. Only the application servers should reach the database. Which rule lets this connection through?

    Answer: 6

    1. Test TCP, source 203.0.113.50, destination 10.0.30.5, port 5432.

    2. Rules 1 to 4 do not match. Rule 5 does not match either, because 203.0.113.50 is not in 10.0.20.0/24.

    3. Rule 6 matches everything: any protocol, any source, any destination, any port, ALLOW. It was added as a temporary test rule and never removed.

    4. Enter 6.

  5. Step 5: Recommend the clean-up

    Which recommendations belong in your audit report? Select all that apply.

    Correct choices:

    • Remove rule 6 and let the default DENY policy handle everything not explicitly allowed
    • Give temporary rules an owner and an expiry date, and review the rule set regularly
    • Log denied connections so blocked attacks and broken rules are visible
    • Order rules from specific to general

    - Yes: remove the allow-all rule and rely on default deny; put an owner and an expiry on temporary rules; log denies; keep specific rules above general ones.

    - No: allowing the whole internet to the database port would expose it in the same way.

    Select the four good recommendations.