Every interface (a network card, a VLAN, a VPN tunnel, a PPPoE link) belongs to one zone at most. For every packet that comes in through an interface, the firewall looks at its zone and asks:
- is the packet addressed to the appliance itself (DNS, the console, a service of the appliance)? The zone’s inbound services decide, and then its inbound policy;
- does the packet cross the appliance towards another network? The zone’s forward rules decide, in this order, then its forwarding matrix and finally its forward policy.
What counts is always the zone the traffic comes in from. Traffic from the LAN to the internet is decided by the lan zone, not by the wan. Port publications are the exception: they pass whatever the forward policy of the zone they come in from (see Published services). Replies to connections already accepted always pass, in both directions: no rule is needed for the way back.
Traffic that comes in through an interface without a zone neither reaches the appliance nor crosses it (with the only exceptions of the lockout protection, ping and the services that open by themselves, described further on).