Enable and disable the cloud firewall
You can enable or disable-firewall 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 will be interrupted on the cloud router, which cannot be set up under the new rules.
- Control panel
- OpenStack CLI
- In Control Panel, go to Cloud Platform → Firewalls.
- Open the firewall page.
- From the firewall menu ( ), select Enable Firewall.
- Enter the name of the firewall to confirm enablement.
- Press On.
-
Turn on the firewall:
openstack firewall group set --enable <firewall>
Specify
<firewall>
— the ID or name of the firewall. The list can be viewed using theopenstack firewall firewall group list
.
Turn off the firewall
The firewall rules will no longer apply — all inbound and outbound traffic will be allowed.
- Control panel
- OpenStack CLI
- In Control Panel, go to Cloud Platform → Firewalls.
- Open the firewall page.
- From the firewall menu ( ), select Disable Firewall.
- Enter the name of the firewall to confirm shutdown.
- Press Switch off.
-
Turn off the firewall:
openstack firewall group set --disable <firewall>
Specify
<firewall>
— the ID or name of the firewall. The list can be viewed using theopenstack firewall firewall group list
.