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

# Connect to the VPN

Connecting to the DuploCloud VPN with the OpenVPN client

DuploCloud integrates with OpenVPN by automatically provisioning VPNs for users added through the DuploCloud Portal. As a DuploCloud user, you can securely access resources within the private network by connecting via the OpenVPN client.

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

## Accessing VPN Credentials

1. Click on your user name in the upper right corner of the DuploCloud Portal, and select **Profile**. Your **Profile** page displays.
2. VPN credentials are displayed in the **VPN Details** area of the **Profile** page.

<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=""><figcaption><p>The <strong>VPN Details</strong> section of the user Profile page</p></figcaption></figure>

## Setting up the OpenVPN User Profile and Client App

1. Click on your user name in the upper right corner of the DuploCloud Portal, and select **Profile**. Your **Profile** page displays.
2. Click the **VPN URL** link in the **VPN Details** section. Browsers may call the link unsafe since it is using a self-signed certificate. Proceed to it anyway.
3. Log in to the **OpenVPN Access Server** portal using the credentials from your **Profile** page.
4. Click on the **OpenVPN Connect Recommended for your device** link to install the OpenVPN Connect application on your local machine.

<div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FqZFOpUR447MGdIcY1TYr%2Fimage.png?alt=media&amp;token=5da6e694-c974-4aa9-8150-406efb56cf7d" alt="" width="375"><figcaption></figcaption></figure></div>

5. Click the link labeled **Yourself (user-locked profile)** to download your OpenVPN user 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%2FZ6X5n3QOaEMx1gFDUDLY%2Fimage.png?alt=media&amp;token=e96f3a5a-578c-4703-a2bf-d9f94d1e4cb7" alt="" width="375"><figcaption></figcaption></figure></div>
6. Open the **.ovpn** file and click **OK** in the **Import .ovpn profile** dialog.<br>

   <div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FSbEFjsIdrh91Hofe4jcD%2F234.png?alt=media&amp;token=d4013da5-5c85-4f35-ab0a-7e821f17929c" alt="" width="375"><figcaption></figcaption></figure></div>
7. Click **Connect**. The OpenVPN user profile and client app are set up.


---

# 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-1/prerequisites/vpn/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.
