> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/private-cloud/ionos-private-cloud/getting-started/install-and-configure-openvpn/installing-and-configuring-openvpn-microsoft-windows.md).

# Installing and Configuring OpenVPN (Microsoft Windows)

This article explains how to install and configure the OpenVPN client software on your local computer to establish a VPN connection to access vSphere and NSX-T.

To access **vSphere/NSX-T**, you must install the OpenVPN client software and establish a VPN connection. The OpenVPN client is open-source software that enables you to establish a VPN connection that is protected through SSL.

This article explains how to install and configure the OpenVPN client software on your local computer.

## Installing OpenVPN

{% hint style="info" %}
**Prerequisites:**

* You have administrator rights.
* You have logged in on your local PC.
  {% endhint %}

{% hint style="warning" %}
**Important:**

To use OpenVPN, you must enable the following ports in your router and firewall:

Alternatively, OpenVPN can be used with port 1194 TCP. In this case, this port should also be opened.
{% endhint %}

| **Port** | **Protocol** |
| -------- | ------------ |
| 1194     | UDP          |
| 443      | TCP          |

### Installation Steps

1. Download the [<mark style="color:blue;">OpenVPN software</mark>](https://openvpn.net/community/). This is offered as a 32-bit and a 64-bit version.
2. To start the installation, double-click on the installation file.
3. Click on **Install Now**. The OpenVPN software is installed.
4. Click on **Close**.
5. Click **OK** in the **OpenVPN GUI** window.

![OpenVPN GUI](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-91e36b3d94d76f7232aab102319e46e52eebad2f%2Finstalling-openvpn.png?alt=media)

## Downloading the Configuration File

To configure OpenVPN, you need a specific `*.ovpn` file. To download it, proceed as follows:

1. Log in to your [<mark style="color:blue;">IONOS CLOUD account</mark>](https://dcd.ionos.com).
2. In the [<mark style="color:blue;">**Data Center Designer (DCD)**</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#data-center-designer-dcd), go to **Menu** > **Private Cloud** > **Login**.
3. Log in to the [<mark style="color:blue;">Cloud Panel</mark>](https://cloudpanel.ionos.de/login) with your credentials.
4. To download the configuration file, click **VPN** in the **Private Cloud** section.

The configuration file is downloaded in the form of a zip file.

## Configuring OpenVPN

1. Open your Windows Explorer.
2. Open the folder that contains the zip file you downloaded.
3. Unzip the zip file in the desired folder.
4. Click the upward pointing arrow on the right side of the taskbar.

![Select the upward pointing arrow](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-c2a4966696d8fccbea6da37a97f1b064c99b3dde%2Fprivate_cloud_configuring_openvpn_1.png?alt=media)

5. Right-click on the OpenVPN icon.

![OpenVPN icon](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-4f1f22187d515fc38c05372aa36d3752d25821f5%2Fprivate_cloud_configuring_openvpn_2.png?alt=media)

6. Click **Import > Import File**.

![Import file](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-aa70c3ad253d8771bf34e3afa6dc9943b99ee3f0%2Fprivate_cloud_configuring_openvpn_3.png?alt=media)

7. Open the directory where you unzipped the ZIP file.
8. Select the configuration file with the `*.ovpn` file extension.
9. Click **Open**.

The configuration file is imported.


---

# 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.ionos.com/cloud/private-cloud/ionos-private-cloud/getting-started/install-and-configure-openvpn/installing-and-configuring-openvpn-microsoft-windows.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.
