# Enabling or Disabling a Firewall Rule

#### Scenarios

Enable or disable an inbound or outbound rule based on your network security requirements.

#### 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 and click its name to switch to the page showing details of that particular firewall.
6. On the Inbound Rules or Outbound Rules tab, locate the row that contains the target rule, and click More and then Enable or Disable in the Operation column.
7. Click Yes in the displayed dialog box.

   The rule is enabled or disabled. The procedure for enabling or disabling an outbound rule is the same as that for enabling or disabling an inbound rule.

Parent topic: Firewall