Setting Up an OpenVPN Server on CentOS
Nov 26, 2021
The Background Recently I’ve set up an OpenVPN (Community Edition 2.4.11) server on a CentOS 7 box. While there were multiple1 resources2 that3 helped4 immensely in getting the task done, below is the process that was actually followed.
Configuring EasyRSA and Generating the Server Keys Once we have a CentOS 7 box up and running, we can start by enabling the EPEL repository and optional extras.
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm subscription-manager repos --enable "rhel--optional-rpms" --enable "rhel--extras-rpms" --enable "rhel-ha-for-rhel-*-server-rpms" Then, we can install openvpn and easy-rsa5 as below.…