In this tutorial, I will walk you through the installation of OpenVPN on CentOS 8. We’ll be using a script that simplifies the installation process!
Start by running a CentOS update yum update Confirm the download with Y when it asks you to
Now we are able to install EPEL and Git yum install epel-release git
Download the OpenVPN installer git clone https://github.com/Nyr/openvpn-install.git
Run the installer cd openvpn-install chmod +x openvpn-install.sh sudo ./openvpn-install.sh
The installer will ask you some questions, please provide the following answers:
Which protocol: 1
What port: 1194
Which DNS: 1
Client name: your name
The installation is complete, import the .ovpn file in /root to the device you want to use as client