forked from docs/doc-exports
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
5.6 KiB
5.6 KiB
Associating Subnets with a Firewall
Scenarios
You can associate a firewall with a subnet to protect resources in the subnet.
Notes and Constraints
- You can associate a firewall with multiple subnets. However, a subnet can only be associated with one firewall at a time.
- After a firewall is associated with a subnet, the default firewall rules deny all traffic to and from the subnet until you add custom rules to allow traffic. For details, see Adding a Firewall Rule.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Click
in the upper left corner and choose Network > Virtual Private Cloud.The Virtual Private Cloud page is displayed.
- In the navigation pane on the left, choose Access Control > Firewalls.
- Locate the target firewall and click its name to switch to the page showing details of that particular firewall.
- On the displayed page, click the Associated Subnets tab.
- On the Associated Subnets tab, click Associate.
- On the displayed page, select the subnets to be associated with the firewall, and click OK.
A subnet with a firewall 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.
Parent topic: Firewall