Skip to main content

Disconnect the security group from the port

Last update:
warning

Traffic that was allowed by the group rules will be denied. Active sessions that were set by the group rules will be interrupted on the port.

If you disable all security groups from a port, traffic on the port will be completely blocked.

  1. In the dashboard, on the top menu, click Products and select Cloud Servers.

  2. Go to the Security Groups section.

  3. Open the page of the group you want to disable → Ports tab.

  4. On the port line, click .

  5. If the group was the only group on the port, enter the group name to confirm disconnection.

  6. Click Disable.

  1. Open the OpenStack CLI.

  2. Disconnect the security group from the port:

    openstack port unset \
    --security-group <security-group> \
    <port>

    Specify:

    • <security_group> - The ID or name of the security group can be viewed with the command openstack security group list;
    • <port> - The port ID can be viewed with the command openstack port list. The list of ports to which the group is assigned can be viewed in the control panel: from the top menu, click ProductsCloud ServersSecurity Groups → Security Group page → tab Ports.
  3. Optional: disable all security groups assigned to the port:

    openstack port set \
    --no-security-group \
    <port>

    Specify <port> - port ID, can be viewed using the openstack port list command.