Skip to Content
Cybrave OS

Policies

How to choose which traffic a rule applies to and what the firewall does when it matches.

Suppose visitors use your guest Wi-Fi and you want to keep them off the payroll server. One security rule covers that case. It tells the firewall to deny connections from the guest zone to the payroll server.

The rule has two conditions. For Source Zone, choose the guest zone. For Destination IP, choose the address object for the payroll server. Set the action to Deny. A guest connecting to payroll meets both conditions, so the firewall blocks the connection when it reaches this rule. A guest connecting to the company website meets only the first condition, so the firewall keeps checking the rules below it.

If payroll has a second server, add its address object to the same Destination IP condition. Now either server matches, and the connection still has to come from the guest zone. Leaving Source Port out lets the rule cover any source port. On fields that support exclusions, the condition matches only when the traffic falls outside all the objects you selected.

Choose a policy

  • Use the security policy to allow or deny connections. By default, a security rule requests a session record when it applies.
  • Use the NAT policy to translate an IPv4 address or port, for example when office devices share one public address.
  • Use an application signature to teach the firewall how to recognize a custom application.

When a rule applies

Security and NAT rules are checked from top to bottom. Put the guest-to-payroll rule above any broader rule that allows guests to reach the office network. The firewall can check addresses and ports as soon as it sees the connection headers. To match an application, it may need to see more packets.

Enable a rule when you want it to take effect. To use a security or NAT rule only during certain hours, give it a schedule. The firewall uses the device’s local time and rechecks existing sessions when the schedule starts or ends. An enabled rule without a schedule applies at any time.

Save and verify

If your device uses manual publishing, review the pending changes before you commit. A commit can include another administrator’s edits. If you need to delete an address object, update any rules that still use it first. See Config Repository.

After publishing, use Policy Verification to check which security or NAT rule matches the connection you have in mind. Then try a new connection through the firewall. To test an application signature, generate traffic from the application and check how the firewall identifies it.