Remove a rule from a security group
The rule will no longer be in effect — traffic that was allowed by this rule will be denied. Active sessions that were set by this rule will be terminated on the ports.
Do not delete rules in the default security group (the group named default
) if a Managed Kubernetes cluster is running in the project and pool of this group. Any changes to the group may cause the cluster to fail.
Control panel
OpenStack CLI
-
In the dashboard, on the top menu, click Products and select Cloud Servers.
-
Go to the Security Groups section.
-
Open the security group page.
-
Depending on which traffic direction the rule applies to, open the Incoming Traffic or Outgoing Traffic tab.
-
From the menu of the rule, select Delete Rule.
-
Click Delete.
-
Delete the rule:
openstack security group rule delete <rule>
Specify
<rule>
— rule ID. You can view the list of rules using theopenstack security group rule list
command<security_group>
.