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

Managing Protection Rules

This section describes the protection rule parameters page and how to edit, copy, and delete a protection rule.

The default priority of the copy of a protection rule is 1 (highest priority).

Viewing Protection Rules

  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. The Access Policies page is displayed. Click the Internet Boundaries or Inter-VPC Borders tab.

    Table 1 Protection rule parameters

    Parameter

    Description

    Priority

    Priority of the rule.

    NOTE:

    A smaller value indicates a higher priority.

    Name/Rule ID

    Custom rule name and ID

    Rule Type

    Protection type of the rule. It can be an EIP or NAT rule.

    Direction

    Traffic direction of the protection rule.

    Source

    Source of data packets in the access traffic.

    Destination

    Destination of data packets in the access traffic.

    Service

    • Its value can be TCP, UDP, ICMP, or Any.
    • Source Port: Source ports to be allowed or blocked. You can configure a single port or consecutive port groups (example: 80-443).
    • Destination Port: Destination ports to be allowed or blocked.

      You can configure a single port or consecutive port groups (example: 80-443).

    Application

    Application type in the access traffic.

    Action

    • Allow: Allow the traffic to pass through the firewall.
    • Block: Block the traffic from passing through the firewall.

    Hits

    Total number of actions that have been triggered by the rule (since the last reset). For details, see Access Control Logs.

    Schedule Management

    Time when the rule takes effect.

    Status

    Status of the rule. It can be enabled or disabled.

    Tags

    Tag of a rule.

  6. (Optional) Select a direction and a protocol type from the drop-down list boxes.

Editing 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 row of a rule, click Edit in the Operation column.
  7. In the displayed Edit Rule dialog box, modify the rule parameters.
  8. Click OK.

Copying 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 row of a rule, choose More > Copy in the Operation column.
  7. Modify parameters and click OK. The default priority of the new protection rule is 1 (highest priority).

Deleting a 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 row of a rule, choose More > Delete in the Operation column.
  7. In the Delete Rule dialog box, click OK.

    Deleted rules cannot be restored. Exercise caution when performing this operation.