> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/automation-platform/security-and-compliance/access-control-2/add-tenant-access-over-a-vpn.md).

# Tenant Security Rules for VPN Access

Grant tenant-specific access to resources over a VPN

For DuploCloud users to access internal resources in a Tenant, such as Hosts or databases, you must add security rules to allow a VPN connection. For details on VPN user access, see [VPN Access for Users](/docs/automation-platform/access-control/user-access-and-permissions/add-and-delete-vpn-access-for-users.md).

{% hint style="info" %}
**Note:** Administrators have persistent access to all Tenants and do not need to add individual Tenant access for themselves.
{% endhint %}

## Adding Tenant Security Rules for a VPN

To define tenant security rules for VPN access:

1. In the DuploCloud Portal, navigate to **Administrators** -> **Tenants.**
2. Select the Tenant in the **NAME** column.
3. Click the **Security** tab.
4. Click **Add**. The **Add Tenant Security** pane displays.<br>

   <div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FmPJh0BxV6QA8MGb8VLod%2FScreen%20Shot%202023-01-26%20at%205.47.52%20PM.png?alt=media&amp;token=34d576ba-b508-47cb-9b73-b1b904b32f2b" alt=""><figcaption><p><strong>Add Tenant Security</strong> pane</p></figcaption></figure></div>
5. Complete the fields to configure the security rule.
   * In the example shown, the rule allows traffic originating from the VPN IP address to access resources that are private or internal to the tenant.
6. Click **Add** to save the rule.

{% hint style="info" %}
If you want to grant some VPN users access while excluding others, add a separate security rule for each user using their individual IP address.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.duplocloud.com/docs/automation-platform/security-and-compliance/access-control-2/add-tenant-access-over-a-vpn.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
