What is a zone-based firewall?

By the NexusSec team · 5 min read · Published
Short version: A zone-based firewall groups interfaces, VLANs and VPN tunnels into zones, then applies policy to traffic moving from one zone to another. Traffic between zones is denied unless a rule allows it, and each direction is a separate decision. Compared with writing rules on every interface, it keeps the policy short, readable and consistent as the network grows.

Most people meet zones the first time they open a modern firewall and find that rules ask for a source zone and a destination zone before anything else. It looks like an extra step. It is actually the idea that makes a firewall policy survive years of changes.

The idea in one paragraph

A zone is a group of network segments that share a level of trust: the staff network, the servers, the guest Wi-Fi, the internet. The firewall stops thinking about individual cables and starts thinking about boundaries. A connection that stays inside one zone is not its concern. A connection that crosses from one zone into another is checked against the rules written for that pair of zones, in that direction.

The parts

How vendors treat traffic inside a zone

The default for traffic that stays inside one zone is where products differ, so it is worth checking on yours. On Cisco's zone-based policy firewall for IOS routers, traffic between interfaces in the same zone is allowed by default and traffic between different zones is dropped unless a policy permits it. Palo Alto Networks firewalls ship with two default rules, one allowing intra-zone traffic and one denying inter-zone traffic. Other platforms let you choose. If devices in the same zone should not reach each other, as on guest Wi-Fi, split the zone or use isolation on the switch or access point.

Zones compared with per-interface rules

QuestionPer-interface rulesZone-based policy
Where rules liveOn each interface, inbound or outboundOn zone pairs, in one policy
Adding a new VLANWrite a new set of rules for itPut it in the right zone; it inherits that zone's policy
Reading the policyReconstruct intent from many listsEach rule names where traffic comes from and goes to
Default for new pathsDepends on how each list endsDenied between zones until a rule allows it

Per-interface rules are not wrong. Firewalls such as pfSense and OPNsense write rules per interface, and a well-run one is perfectly secure. The difference is how well the policy holds up when the network changes and the person who wrote it has moved on. Grouping interfaces, which both of those platforms support, gets most of the benefit.

What zones do not do on their own

A zone boundary decides whether a connection may cross. It does not, by itself, look inside the connection. Application control, intrusion prevention, malware scanning and TLS inspection are applied to the traffic a zone-pair rule allows. That is why a good rule names the application and the users as well as the zones, and why the inspection settings belong on the rule rather than being switched on globally and forgotten. For what to decrypt, see TLS inspection: what to decrypt and what to leave alone.

Where to go from here

If you are planning zones for an existing network, zones first is the practical version of this article, with a starting set of zones and a way to move an existing firewall onto them in phases. If the network is flat today, one laptop should not reach everything explains why that matters most.

NXSgate, the firewall NexusSec is building, is designed around this model from the start: zones, default deny between them and a rule for each direction. It has not been released yet.

Frequently asked questions

What is a zone in a firewall?

A named group of interfaces, VLANs or VPN tunnels that share a level of trust, such as Staff, Servers, Guest or Internet. The firewall applies policy to traffic moving between zones.

Is traffic inside the same zone allowed?

It depends on the product. Cisco's zone-based policy firewall and Palo Alto Networks firewalls allow intra-zone traffic by default; other platforms let you choose. Split a zone if its members should not reach each other.

Is a zone the same as a VLAN?

No. A VLAN separates traffic on the switch. A zone is where the firewall applies policy. Several VLANs can belong to one zone, and the separation only becomes enforceable when traffic between them is routed through the firewall.

Do I need a zone-based firewall?

You need the discipline more than the product. Any firewall can be run with grouped interfaces, default deny and a rule per direction. Zone-based firewalls make that the natural way to work.

Want your firewall policy reorganised into zones?

We review the current rules, propose zones that match how your business works, and move the policy over in planned phases.

Book a free consultation