Installing and Configuring OpenVPN (CentOS 7)
To access vSphere/NSX-T, you must install the OpenVPN client software on your local computer and establish a VPN connection.
This article explains how to install and configure the OpenVPN client software on a local computer running the CentOS 7 distribution to establish a VPN connection to your Private Cloud.
Open the terminal.
To install the EPEL repository, type the following command:
[root@localhost ~]# yum install epel-releaseThe following message is then displayed:
Is this ok [y/N]:Type
yand press the Enter key.The EPEL repository is installed.
To install the OpenVPN client software, type the following command:
[root@localhost ~]# yum install openvpnThe following message is displayed:
Install 2 Packages
Total download size: 583 k
Installed size: 1.4 M
Is this ok [y/N]: yType
yand press the Enter key.The following message is displayed:
Type
yand press Enter.The OpenVPN client software is installed.
Downloading the Configuration File
To configure the OpenVPN client software, you need a specific *.ovpn file. To download it, proceed as follows:
Log in to your IONOS CLOUD account.
In the Data Center Designer (DCD), go to Menu > Private Cloud > Login.
Log in to the Cloud Panel with your credentials.
Click on the Server & Cloud tile. If necessary, select the appropriate Server & Cloud contract. The Cloud Panel opens.
To download the configuration file, click on VPN in the Private Cloud section.
The configuration file is then downloaded.
Configuring OpenVPN
Copy the OpenVPN configuration file (e.g.
vpn1234B_1.ovpn) to the installation directory. Example:
Change to the destination directory:
Verify that the file has been copied to the destination directory:
Extract the zip file. Example:
Additional Information
Last updated
Was this helpful?