LOGBOOK

HELP

Quiz Entry - updated: 2026.12.01

Why is a rule that allows traffic into the DMZ from source "Any" with service "Any" considered bad practice, even if it "works"?

It violates least privilege: it opens every port of every DMZ server to the whole internet, although only a few services (for example HTTPS to the web server) need to be reachable.

A DMZ holds the servers that must be reachable from outside, and for that reason it is also the zone attackers reach first. A rule Any → DMZ-Net → Any → Accept means any host on the internet may connect to any port on any DMZ machine: SSH, database ports, admin interfaces, anything that happens to listen.

The safer rule names exactly what is needed:

Field Too broad Least privilege
Source Any Any (public service) or known partner networks
Destination DMZ network the specific server object
Service Any https (and only what is published)
Track Log Log

Training setups often start with the broad rule and tighten it later, so it is worth recognising it as a deliberate shortcut, not a pattern. In automation the same rule applies: a playbook that creates rules should require explicit services, not default to "Any".

From Quiz: ITIA / Network Automation with Ansible and a Check Point Firewall | Updated: Dec 01, 2026