> For the complete documentation index, see [llms.txt](https://docs.zeupiter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zeupiter.com/on-demand-multi-cloud/compute/firewalls.md).

# Firewalls

⭐ Feature Set

### Understanding **Firewalls**

Firewall or security group rules manage incoming traffic to your instances. You can create global firewall policies (containing rules) on the [<mark style="color:purple;">**Firewall**</mark>](https://www.zeupiter.com/utility/firewall) page under Utilities dropdown in sidebar and attach them to your preferred cloud provider. The rules then apply to all instances within that provider.

***

<figure><img src="https://1538940149-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdUmV4bRj3jf20k7NYMhW%2Fuploads%2FD38P0ar24ZfcvHReUn8t%2FScreenshot%20(95).png?alt=media&amp;token=d74ca9fb-1356-41c0-9b22-30846169a5ea" alt=""><figcaption></figcaption></figure>

#### **Create a Firewall Policy and rules:**

1. Go to global **Firewall** in the Zeus dashboard and add a new policy.
2. Under **Inbound Rules**, click **Edit**.
3. Choose a rule type:
   * **Custom TCP/UDP**: Manually configure specific traffic.
   * **HTTPS/SSH**: Automatically allow secure traffic.
   * **All TCP/UDP**: Allow all traffic for the protocol.
4. In **Source**, enter an IP or range (e.g., `203.0.113.0/24 or 0.0.0.0/0 to allow all`).
5. For **Custom TCP/UDP**, specify a port (e.g., `8080` or `8080-8081`).
6. (Optional) Add a **description**.
7. Click **Update** to save.

**To Update a Rule:**

1. Navigate to **Firewall > Inbound Rules > Edit**.
2. Modify the desired rule.
3. Click **Update**.

> **Note:** You can also update rules via the Zeus API.

<mark style="color:red;">**To Delete a Rule:**</mark>

1. Go to **Firewall > Inbound Rules > Edit**.
2. Click **❌** next to a rule.
3. Click **Update**.

{% hint style="danger" %}
**Warning:** Configure rules properly as this may prevent new instances from launching. Deleting a rule for TCP/22 (SSH) may block access to your Linux based instances.
{% endhint %}

### **Other ways to manage rules:**

Visit the **Firewall** page in the dashboard or use the **Zeus API** to list or manage existing rules.
