• Virtual Private Cloud

vpc
  1. Help Center
  2. Virtual Private Cloud
  3. User Guide
  4. Security
  5. Firewall
  6. Enabling or Disabling a Firewall

Enabling or Disabling a Firewall

Scenarios

After a firewall is created, enable it based on your network security requirements. You can also disable an enabled firewall when required. Before enabling a firewall, ensure that subnets have been associated with the firewall and that inbound and outbound rules have been added to the firewall.

After a firewall is disabled, user-defined rules will become invalid and only the default firewall rules will apply. Disabling a firewall may interrupt network traffic. Exercise caution when performing this operation. For information about the default firewall rules, see Default Firewall Rules.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. On the console homepage, under Network, click Virtual Private Cloud.
  4. In the navigation pane on the left, choose Access Control > Firewalls.
  5. Locate the target firewall in the right pane, and click Enable or Disable in the Operation column.
  6. Click Yes in the displayed dialog box.

    The firewall is enabled or disabled.