# 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="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FQygJZxxviGIgQhenaxMF%2FPROFILE.png?alt=media&#x26;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&#x26;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&#x26;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&#x26;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.
