Security

Firewall policy lab

Edit a small local rule set and see which first matching rule handles a documentation-only test flow.

Test flowTest flowPolicy decisionPolicy decisionTest client192.0.2.10Test client — 192.0.2.10Policy enginePolicy engineDocumentation service203.0.113.20Documentation service — 203.0.113.20
Legend

Current step

Firewall policy lab

Edit a small local rule set and see which first matching rule handles a documentation-only test flow.

Try the policy

Disable the HTTPS allow rule or change its port, then observe the default-deny result.

Reveal diagnosis

A least-privilege policy permits only the intended source, destination, protocol and port; unmatched traffic reaches the default-deny rule.

Firewall policy simulator

Local-only simulation. Fields match exactly (case-insensitive); use "any" as a wildcard. Nothing changes on a real device.

Test traffic
  1. Rule 1
  2. Rule 2

Result: allowed Matched rule: allow-web

This is a deterministic browser-only teaching simulation. It does not send packets, connect to a network, or modify any device.

Documentation example: addresses use the RFC 5737 ranges and ASNs use the reserved private range. Nothing here connects to a real network.

Tags

  • firewall
  • acl
  • policy
  • stateful
  • simulation
  • defense

Lessons using this diagram