Help Center> Virtual Private Cloud> User Guide> Access Control> Network ACL> Management Network ACL Rules> Adding a Network ACL Rule (Custom Effective Sequence)
Updated on 2024-05-06 GMT+08:00

Adding a Network ACL Rule (Custom Effective Sequence)

Scenarios

If you want a new rule to have a higher or lower priority than a specific rule, you can insert the new rule above or below the specific rule.

For example, there are two custom inbound rules (rule A and rule B) and one default rule. The priority of rule A is 1 and that of rule B is 2. The default rule has the lowest priority. If you want rule C to be applied earlier than rule B, you can insert rule C above rule B. After rule C is added, the priority of rule C is 2, and that of rule B is 3.

Procedure

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  2. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose Access Control > Network ACLs.

    The network ACL list is displayed.

  4. In the network ACL list, locate the target network ACL and click its name.

    The network ACL summary page is displayed.

  5. Click the Inbound Rules or Outbound Rules tab and insert a rule.
    • Locate the target rule and choose More > Insert Rule Above in the Operation column. The new rule is applied earlier than the current rule.
    • Locate the target rule and choose More > Insert Rule Below in the Operation column. The new rule is applied later than the current rule.