Firewall Policy¶
Menu: Policy & Objects > Firewall Policy
Firewall policies control traffic that passes through the firewall. Each policy describes traffic from an incoming interface to an outgoing interface and combines addresses, services, schedule, action, NAT, security profiles and logging in one entry. Traffic addressed to the firewall itself is handled by Local-In Policy.
How policies are evaluated¶
- Policies are evaluated in order; the first matching policy decides.
- Traffic that matches no policy is denied by the Implicit Deny entry at the end of the list. Logging of implicitly denied traffic can be switched on separately for IPv4 and IPv6.
- One policy can match IPv4, IPv6 or both (default: both). Delegated (dynamic) IPv6 prefixes are followed automatically.
Main settings¶
| Setting | Description |
|---|---|
| Incoming / Outgoing interface | An interface, a zone, an SD-WAN zone or a VPN interface |
| Source / Destination | Address objects and groups: subnet, range, FQDN, country, internet service, virtual IP; the source can also include users and groups. Each can be negated |
| Service | Service objects and groups (TCP, UDP, ICMP, ICMPv6, IP protocol number) from Policy & Objects > Services |
| Schedule | Optional schedule object limiting when the policy applies |
| Action | ACCEPT or DENY |
| NAT | Source NAT for the policy, when NAT is configured per policy (see Central SNAT) |
| Security profiles | Inspection mode (flow-based or proxy-based) and security profiles, on ACCEPT policies |
| Log | Security events only or all sessions (ACCEPT); violation traffic (DENY) |
Working with the list¶
- Two views: By Sequence and Interface Pair View.
- Counters for bytes, hits and last hit per policy, with a link to the matching log entries.
- Policies can be cloned. A session in the traffic log can be used to pre-fill a new policy.
Existing rules¶
When a firewall is switched to Boundgate, its existing filter rules are converted into policies. The original rules are disabled, not deleted.