Setting up a VPN server
OpenVPN is an opensource software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities.
As a requirement for this section, we are in need for a CentOS 7 server with the capacity to install some packages and make some changes to the network configuration files (internet and root access). At a later stage, we may need to create some authentication certificates. We will cover how to do that too.
First, we will start with the installation of the required packages. And before we do that, OpenVPN isn't available in the default CentOS standard repository, so we need to add the EPEL repository that contains the popular additional packages:
$ sudo yum install epel-release
After this command is done, we can start OpenVPN. We also need to install an RSA generator to generate the SSL key pairs that we will use to secure the VPN connection...