---
title: "ezgh compute firewalls"
description: "Stateful firewalls for network interfaces."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh compute firewalls

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh compute firewalls <command>
```

A project's stateful firewalls, given by ID (fwl\_…), UUID or name. A firewall holds allow rules and attaches to network interfaces in its project (up to 5 per interface); an interface allows the union of its firewalls' rules. Inbound is denied and outbound allowed by default. A project's default firewall is made the first time an interface is created without naming its firewalls, and new interfaces get it unless told otherwise; it can't be deleted.

Part of [`ezgh compute`](/cli/reference/compute).

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

## Subcommands

| Command | Description |
| --- | --- |
| [`ezgh compute firewalls attachments`](/cli/reference/compute-firewalls-attachments) | The network interfaces a firewall is attached to |
| [`ezgh compute firewalls create`](/cli/reference/compute-firewalls-create) | Create a firewall |
| [`ezgh compute firewalls delete`](/cli/reference/compute-firewalls-delete) | Delete a firewall |
| [`ezgh compute firewalls get`](/cli/reference/compute-firewalls-get) | Show a firewall and its rules |
| [`ezgh compute firewalls list`](/cli/reference/compute-firewalls-list) | List the project's firewalls |
| [`ezgh compute firewalls rules`](/cli/reference/compute-firewalls-rules) | A firewall's allow rules |
| [`ezgh compute firewalls update`](/cli/reference/compute-firewalls-update) | Rename, describe or retag a firewall |

Source: https://docs.ezghcloud.com/cli/reference/compute-firewalls/index.mdx
