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 running the CentOS 8 operating system to establish a VPN connection to your Private Cloud.

Requirements
  • You have administrator rights.

  • You have logged in to your local PC.

Note

The OpenVPN client software is not available in the standard repository. The software can be found in the EPEL repository.

  • Open the terminal.

  • To install the EPEL repository, enter the following command:
    [root@localhost ~]# yum install epel-release
    The following message will be displayed:Is this ok [y/N] :

  • Enter y and press the Enter key.

    The EPEL repository will be installed.

  • To install the OpenVPN client software, enter the following command:[root@localhost ~]# yum install openvpn

  • The following message will be displayed:
    Install  2 Packages

    Total download size: 603 k
    Installed size: 1.4 M
    Is this ok [y/N]: y

  • Enter Y and press the Enter key.

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, go to the section Private Cloud and click VPN.

    The configuration file will be downloaded.

Configure OpenVPN

To configure OpenVPN:

Requirement

You have installed the unzip program on your computer.

Note

You can install the program unzip by entering the following command:

[root@localhost ~]# yum install unzip

  • 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