Updated on 2024-08-07 GMT+08:00

Enabling or Disabling a Network ACL

Scenarios

After a network ACL is created, it is enabled by default. You can disable it as required.
  • If a network ACL is disabled, custom rules will become invalid but default rules are still applied. As a result, all traffic to and from the associated subnets are denied. If a network ACL has a subnet associated, disabling it will interrupt the network traffic to and from the subnet.
  • If a network ACL is enabled, both custom and default rules are applied. If a network ACL has a subnet associated and has only default rules, enabling it will interrupt the network traffic to and from the subnet.

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, enable or disable the target network ACL.
    • Enabling a network ACL
      1. Locate the target network ACL and choose More > Enable in the Operation column.

        A confirmation dialog box is displayed.

      2. Confirm the information and click OK.
    • Disabling a network ACL
      1. Locate the target network ACL and choose More > Disable in the Operation column.

        A confirmation dialog box is displayed.

      2. Confirm the information and click OK.