# Infrastructure Security Group Rules

Infrastructure Security Group rules let you manage traffic controls at the Infrastructure level.

For security rules that apply to a specific Tenant, see the [Security Groups](/docs/automation-platform/security-and-compliance/access-control/security-groups.md) page.

## Adding Security Group Rules

1. In the DuploCloud Portal, navigate to **Administrator -> Infrastructure**.
2. Select the Infrastructure for which you want to add or view Security Group rules from the **NAME** column.
3. Select the **Security Group Rules** tab.
4. Click **Add**. The **Add Infrastructure Security** pane displays.<br>

   <div align="left"><figure><img src="/files/6bcskCk7MUoQivDNNcxX" alt=""><figcaption><p><strong>Add Infrastructure Security</strong> pane defining port range for Cross-tenant access</p></figcaption></figure></div>
5. From the **Source Type** list box, select **Tenant** or **IP Address**.
6. From the **Tenant** list box, select the Tenant for which you want to set up the Security Rule.
7. Select the protocol from the **Protocol** list box.
8. In the **Port Range** field, specify the range of ports for access (for example, **1-65535**).
9. Optionally, add a **Description** of the rule you are adding.
10. Click **Add**.

## Viewing Security Group Rules

1. In the DuploCloud Portal, navigate to **Administrator** -> **Infrastructure**.
2. Select the Infrastructure from the **Name** column.
3. Click the **Security Group Rules** tab. Security Rules are displayed.

<figure><img src="/files/HNw4ocZDziTpdsRjITrG" alt=""><figcaption><p>Viewing Security Rules using the <strong>Security Group Rules</strong> tab</p></figcaption></figure>

## Deleting Security Group Rules

1. In the DuploCloud Portal, navigate to **Administrator** -> **Infrastructure**.
2. Select the Infrastructure from the **Name** column.
3. Click the **Security Group Rules** tab. Security Rules are displayed in rows.
4. In the first column of the Security Group row, click the Options Menu Icon ( <img src="/files/7DagHksotNef8625xoXr" alt="" data-size="line"> ) and select **Delete**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview/use-cases/creating-an-infrastructure-and-plan-for-aws/security-group-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
