Updated on 2024-12-18 GMT+08:00

Adjusting the Priority of a Protection Rule

When traffic hits a rule, the action of the rule will be performed, and CFW will not match the traffic against other protection rules. You are advised to set the priorities of the allowing rules to be higher than those of the blocking rules, and set the priorities of specific rules to be higher than those of general rules.

This section describes how to adjust the priorities of protection rules.

Priority

A larger value indicates a lower priority. The value 1 indicates the highest priority.

Adjusting the Priority of a Protection Rule

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. In the navigation pane on the left, click and choose Security & Compliance > Cloud Firewall. The Dashboard page will be displayed.
  4. (Optional) Switch firewall instance: Select a firewall from the drop-down list in the upper left corner of the page.
  5. In the navigation pane, choose Access Control > Access Policies.
  6. In the Operation column of a rule, click Configure Priority.
  7. Select Pin on top or Lower than the selected rule.

    • If you select Pin on top, the policy is set to the highest priority.
    • If you select Lower than the selected rule, you need to select a rule. The policy priority will be lower than the selected rule.

  8. Click OK.