To access vSphere/NSX-T, you must install the OpenVPN client software and establish a VPN connection.
This article explains how to install and configure the OpenVPN client software on a local computer using the Ubuntu 18.04 operating system in order to establish a VPN connection to your Private Cloud.
In order 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, you have to enable this port as well.
You have administrator rights.
You have logged in to your local PC.
Download Configuration File
To configure the OpenVPN client software, you need the *.ovpn file. To download this file, please proceed as follows:
Open the Cloud Panel.
To download the configuration file, click VPN in the Private Cloud section.
The configuration file is downloaded.
You have installed the unzip program on your computer.
You can install the program unzip by entering the following command:
[root@localhost ~]# apt-get install unzip
To configure OpenVPN:
Copy the OpenVPN configuration file (e.g. vpn1234B_1.ovpn) to the installation directory. Example:[root@localhost ~]# cp –i /home/vpn123456789.zip /etc/openvpn/
Change to the target directory.[root@localhost ~]# cd /etc/openvpn/
Unzip the zip file. Example:[root@localhost ~]# unzip vpn123456789.zip