A company that hosts its own website, mail and VPN must let strangers connect to those servers without letting them near the internal network. The classic answer is a DMZ (screened subnet) between two firewalls. This diagram shows the zones, the servers in each, the allowed and blocked flows, and the rules behind them.
1. The Diagram
Edge firewall. Faces the internet and allows only the three published services into the DMZ. The last rule is an explicit deny with logging.
DMZ. The screened subnet holds the servers that must accept connections from strangers: a reverse proxy with a WAF that terminates TLS, an SMTP relay and a VPN gateway. If one is compromised, the attacker is still outside the LAN.
Internal firewall. A second firewall, ideally from a different vendor so one bug does not open both, admits only specific flows from specific DMZ hosts: proxy to app servers on 8443, relay to the mail server on 25, VPN users to the LAN.
Internal LAN. The database and user workstations accept nothing from the DMZ directly. The red dashed arrow is the path the design exists to block: internet straight to the LAN.
2. How to Read It
Security zones are dashed boundaries coloured by trust: yellow for the semi-trusted DMZ, green for the trusted LAN. Green arrows are permitted flows (they should match the rule boxes); red dashed arrows are flows that must fail.
When you review a DMZ diagram, look for arrows that start in the DMZ and end deep inside the LAN, such as a web server talking straight to the database. Those are the paths an attacker uses after compromising a public server.
3. Variant: Three-Legged Firewall
Smaller sites use one firewall with three interfaces. Traffic between any two zones still passes the policy, so the logical design is the same, but a single device or misconfiguration now guards both boundaries. It is cheaper and simpler; the two-firewall layout gives defence in depth.
4. Pros, Cons, and When to Use
Pros
Turns a firewall policy into a picture auditors and managers understand.
Every allowed arrow can be checked against a rule line.
Shows defence in depth and blast radius clearly.
Helps spot accidental paths such as DMZ to database.
Standard layout recognised by PCI DSS and ISO 27001 assessors.
Cons
Does not prove the rules are actually configured that way.
Rule boxes become unreadable beyond a dozen entries.