Install OpenVPN on CentOS 8
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!
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, 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
Related Tutorials
Installing and Configuring Wordpress on an CentOS 7 64bit ServerInstall Percona Server 5.7 MySQL on Ubuntu, CentOS or Debian
Locating files on your Linux VPS system using whereis, which, whatis, readlink, find
Authenticate OpenVPN Clients Thru the Freeradius Server
Creating a VPS from VPSServer.com