Introduction:

In this tutorial i will guide you through the installation of OpenVPN on CentOS 8. We are going to use a script that makes this installation very easy!

If you don't already have a server. You can start off by ordering a VPS here

 

Step 1:

Start by running a CentOS update & confirm the download with pressing the key "Y" when it asks you to:

yum update 

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, fill in the following answers:

Which protocol: 1
What port: 1194
Which DNS: 1 
Client name: your name

The installation is now finished, import the .ovpn file in /root to the device you want to use as client!

Was this answer helpful? 0 Users Found This Useful (0 Votes)