> 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/overview-2/prerequisites/connect-to-the-vpn.md).

# Connect to the VPN

Connect to the DuploCloud VPN with the OpenVPN client

DuploCloud integrates with OpenVPN by provisioning VPN users added to the DuploCloud Portal. As a DuploCloud user, you can access resources in the private network by connecting to the VPN with the OpenVPN client.

{% hint style="info" %}
The **OpenVPN Access Server** forwards traffic only to network resources within the DuploCloud-managed private networks. Any traffic intended for other resources on the internet does not pass through the VPN tunnel.
{% endhint %}

## Obtaining VPN Credentials

User VPN credentials are accessible through the user profile page.

1. In the DuploCloud Portal, navigate to **Administrator** -> **Users** and select your user name, or click on the person icon (<img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FPYcg8zt7dwJFyCj4idED%2FScreenshot%20(347).png?alt=media&amp;token=446023f2-e916-4bc7-9fe1-03481ccd79c6" alt="" data-size="line">) in the upper-right corner, and select **Profile**.<br>

   <div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FoOqpYsK6imNqIm61Lmmq%2Fimage.png?alt=media&amp;token=6f5682b2-936a-4489-89b1-6e2d83cd0979" alt="" width="261"><figcaption><p>The User menu</p></figcaption></figure></div>
2. You will find your VPN credentials in the **VPN Details** section of your profile.

<div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FQygJZxxviGIgQhenaxMF%2FPROFILE.png?alt=media&amp;token=e363145c-ec35-4121-8c72-368e9dd04e8d" alt="" width="563"><figcaption><p>VPN Details section of the user profile</p></figcaption></figure></div>

## Setting up the OpenVPN User Profile and Client App

1. Click on the person icon (<img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FPYcg8zt7dwJFyCj4idED%2FScreenshot%20(347).png?alt=media&amp;token=446023f2-e916-4bc7-9fe1-03481ccd79c6" alt="" data-size="line">) in the upper right, and select **Profile**.
2. In the **VPN Details** section, click **VPN URL**. Your browser may flag the link as unsafe due to a self-signed certificate. Click **Proceed Anyway** to continue.
3. Log in to the **OpenVPN Access Server** user portal using the credentials from the DuploCloud user profile section.\
   \
   ![](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FGmsrkw0a4TbutI4Gx742%2F666.png?alt=media\&token=28430012-0051-4edb-ad6c-644de118f8cf)
4. Install the OpenVPN Connect app on your local machine.\
   \
   ![](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FqZFOpUR447MGdIcY1TYr%2Fimage.png?alt=media\&token=5da6e694-c974-4aa9-8150-406efb56cf7d)
5. From the OpenVPN Access Server user portal, download your **user-locked profile** by clicking on the link labeled **Yourself** (this will generate the `.ovpn` file).\
   \
   ![](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FZ6X5n3QOaEMx1gFDUDLY%2Fimage.png?alt=media\&token=e96f3a5a-578c-4703-a2bf-d9f94d1e4cb7)
6. Open the `.ovpn` file and click **OK** in the **Import .ovpn profile** dialog box.
7. Once the profile is imported, click **Connect** to establish the VPN connection.\
   \
   ![](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FSbEFjsIdrh91Hofe4jcD%2F234.png?alt=media\&token=d4013da5-5c85-4f35-ab0a-7e821f17929c)


---

# 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/overview-2/prerequisites/connect-to-the-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.
