Enable and disable the cloud firewall
You can enable or disable the cloud firewall for all cloud router ports to which it is assigned at once.
To enable or disable traffic filtering on a specific router port, assign a firewall to that port or disconnect the firewall from the port.
Enable firewall
Inbound and outbound traffic that is not allowed in the firewall rules will be denied. Active sessions on the cloud router will be interrupted, which cannot be set according to the new rules.
Control panel
OpenStack CLI
- In the dashboard, on the top menu, click Products and select Cloud Servers.
- Go to the Firewalls section.
- Open the firewall page.
- From the firewall 's menu, select Enable Firewall.
- Enter the name of the firewall to confirm enablement.
- Click Enable.
-
Turn on the firewall:
openstack firewall group set --enable <firewall>
Specify
<firewall>
— the ID or name of the firewall. You can view the list using theopenstack firewall group list
command.
Turn off the firewall
The firewall rules will no longer apply — all inbound and outbound traffic will be allowed.
Control panel
OpenStack CLI
- In the dashboard, on the top menu, click Products and select Cloud Servers.
- Go to the Firewalls section.
- Open the firewall page.
- From the firewall 's menu, select Disable Firewall.
- Enter the name of the firewall to confirm shutdown.
- Press Off.
-
Turn off the firewall:
openstack firewall group set --disable <firewall>
Specify
<firewall>
— the ID or name of the firewall. You can view the list using theopenstack firewall group list
command.