---
title: "Delete cloud firewall"
sidebar_label: "Delete firewall"
sidebar_position: 8
description: "How to delete a cloud firewall"
---

import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'
import Formbricks from '@theme/MDXComponents/Formbricks'

# Delete cloud firewall

When the firewall is removed, the rules will no longer apply — all inbound and outbound traffic will be allowed.

A cloud firewall cannot be removed if it is in the [status](/cloud-servers/firewalls/firewall-statuses.mdx) `ACTIVE` — enabled and assigned to a cloud router port.

<Tabs queryString="delete-firewall">
  <TabItem value="panel" default>
    <TabItemLabel>
      Control panel
    </TabItemLabel>

    1. [Disable the firewall](/cloud-servers/firewalls/enable-disable-firewall.mdx#disable-firewall) or [disconnect it from the cloud router port](/cloud-servers/firewalls/assign-disconnect-firewall.mdx#disconnect-firewall-from-router-port).
    2. In the [Control panel](https://my.selectel.ru/vpc/default/fwaas/), on the top menu, click **Products** and select **Cloud Servers**.
    3. Go to the **Firewalls** section.
    4. Open the firewall page.
    5. From the  firewall menu, select **Remove Firewall**.<MoreVerticalIcon />
    6. Click **Delete**.
  </TabItem>

  <TabItem value="openstack">
    <TabItemLabel>
      OpenStack CLI
    </TabItemLabel>

    1. [Open OpenStack CLI](/cloud-servers/tools/openstack-cli/).
    2. Remove the firewall:

       ```bash
       openstack firewall group delete <firewall>
       ```

       Specify `<firewall>` — the firewall ID or name. You can view the list using the `openstack firewall group list`.
  </TabItem>
</Tabs>

<Formbricks />
