# Connect to the VPN

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="/files/ckkreugPufSFHpjLM7vF" 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="/files/SMurCBNBCRg84eRUWzO5" 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="/files/z8Y8p4MPoQpO4GLNbnCo" 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="/files/bNZVCmORMhgCKLckGwe9" alt="" width="375"><figcaption></figcaption></figure></div>
7. Click **Connect**. The OpenVPN user profile and client app are set up.


---

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