Associating Subnets with a Firewall

Scenarios

On the page showing firewall details, you can associate desired subnets with a firewall. After a firewall is associated with a subnet, the firewall denies all traffic to and from the subnet until you add rules to allow traffic.

Procedure

  1. Log in to the management console.

  1. Click image1 in the upper left corner and select the desired region and project.

  2. On the console homepage, under , click Virtual Private Cloud.

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

  4. Locate the target firewall and click its name to switch to the page showing details of that particular firewall.

  5. On the displayed page, click the Associated Subnets tab.

  6. On the Associated Subnets page, click Associate.

  7. On the displayed page, select the subnets to be associated with the firewall, and click OK.

Note

Subnets with firewalls associated will not be displayed on the page for you to select. If you want to associate such a subnet with another firewall, you must first disassociate the subnet from the original firewall. One-click subnet association and disassociation are not supported currently. A subnet can only be associated with one firewall.