Skip to Content
Cybrave OS

Security Zones

Security zone roles, device discovery, and traffic directions.

A security zone identifies the network associated with an interface. The firewall derives a packet's zone from its ingress interface.

Each zone has these settings:

  • Role decides the traffic direction:
    • Internal: your own networks, such as office LANs.
    • External: networks you don't manage, such as the internet.
    • Transit: zones on transit links. The firewall classifies their traffic direction the same way as for external zones.
  • Device discovery identifies the devices connected to the zone from their DHCP and mDNS traffic. It is off by default.
  • Zone protection profile limits floods and drops attack packets entering the zone. See Zone Protection.

Traffic directions

Traffic direction depends on the zone roles at each end of a flow.

Inbound: external or transit to internal. Outbound: internal to external or transit. Lateral: internal to internal. Transit: external or transit to external or transit.

In the matrix below, rows show the role traffic comes from; columns show the role it goes to.

From \ ToInternalExternalTransit
InternalLateralOutboundOutbound
ExternalInboundTransitTransit
TransitInboundTransitTransit

Inbound traffic enters an internal zone from an external or transit zone. Outbound traffic leaves an internal zone for an external or transit zone. Traffic between internal zones is lateral. Traffic with neither end in an internal zone is transit.

These directions apply to the traffic in each flow. When an internal client connects to an external server, its requests are outbound and the server's replies are inbound. When an external client connects to an internal server, its requests are inbound and the server's replies are outbound.

The session record's origin shows whether the firewall identified the session as device-initiated. When an internal client connects to an external server, the request direction is outbound and the session origin is transit.

Configure a zone

Open Network > Zones (/network/zones), create or edit a zone, select its role, and add the member interfaces. An interface may belong to only one zone, regardless of forwarding role. Enable discovery on the device-facing side if needed. For a virtual wire, put its two ends in separate zones when only one side should be discovered.

Save and publish, then reference the zone in policy conditions. Changing a zone's role affects direction classification; it does not create an allow rule.