Screened Subnet (Perimeter Network)
Summary
A screened subnet holds servers that must be reachable from the internet, such as web, mail and DNS servers, while keeping them apart from the internal network. Firewalls control traffic on both sides, so a compromised public server can't freely reach internal systems.
In plain words
A screened subnet (formerly called a DMZ) is a middle zone for public-facing services such as web, email, DNS and FTP. One firewall between the Internet and the screened subnet allows public traffic in to those services. A second firewall between the screened subnet and the internal network blocks almost everything, so a compromised public server can't easily reach internal systems.
Detailed explanation
- Screened subnet: A network segment between the internet and the internal network for public-facing services. Formerly called a demilitarized zone (DMZ).
- Typical services: Web servers, reverse proxies, email gateways, external DNS and VPN gateways.
- Dual-firewall design: An outer firewall controls internet-to-screened-subnet traffic, and an inner firewall controls screened-subnet-to-internal traffic; using different vendors adds diversity.
- Three-legged firewall: A single firewall with separate interfaces for the internet, the screened subnet and the internal network.
- Traffic rules: Internet hosts may reach only specific services in the screened subnet; screened subnet hosts may reach only specific internal services; internal hosts are never directly reachable from the internet.
Important terms
taken from the text above- Screened subnet
- A network segment between the internet and the internal network for public-facing services. Formerly called a demilitarized zone (DMZ).
- Typical services
- Web servers, reverse proxies, email gateways, external DNS and VPN gateways.
- Dual-firewall design
- An outer firewall controls internet-to-screened-subnet traffic, and an inner firewall controls screened-subnet-to-internal traffic; using different vendors adds diversity.
- Three-legged firewall
- A single firewall with separate interfaces for the internet, the screened subnet and the internal network.
- Traffic rules
- Internet hosts may reach only specific services in the screened subnet; screened subnet hosts may reach only specific internal services; internal hosts are never directly reachable from the internet.
Examples & real-world scenarios
- A web server in the screened subnet, with its database kept on the internal network.
- An email gateway in the screened subnet relaying mail inward.
- Public DNS hosted in the screened subnet.
Scenario
A company hosts its website on a server inside the internal LAN. Moving it to a screened subnet between two firewalls means that if it's compromised, the attacker still faces another firewall before reaching internal data.
Common mistakes
- Putting sensitive data stores in the screened subnet.
- Allowing broad traffic from the screened subnet into the LAN.
Practical skills
- Draw a screened subnet design and write the rules for each firewall.
What I should remember
- Screened subnet: Hosts public-facing servers apart from internal systems.
- Dual firewalls: One on each side of the screened subnet.
- Three-legged firewall: One firewall with three zones.
- DMZ: The older name for a screened subnet.