---
title: "ezgh compute firewalls rules"
description: "A firewall's allow rules."
---

> 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 rules

{/* 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 rules <command>
```

A firewall's allow rules. A rule allows traffic in one direction, of a protocol (and ports or ICMP type), from or to a peer: a CIDR, or the members of a firewall in the project.

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

## Flags

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

## Subcommands

| Command | Description |
| --- | --- |
| [`ezgh compute firewalls rules add`](/cli/reference/compute-firewalls-rules-add) | Add rules to a firewall |
| [`ezgh compute firewalls rules delete`](/cli/reference/compute-firewalls-rules-delete) | Delete a rule |
| [`ezgh compute firewalls rules replace`](/cli/reference/compute-firewalls-rules-replace) | Replace a firewall's rules with a file's |
| [`ezgh compute firewalls rules update`](/cli/reference/compute-firewalls-rules-update) | Change a rule's description |

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