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
Use CentOS ISO VPS image to build a local yum repositoryLocating files on your Linux VPS system using whereis, which, whatis, readlink, find
Using SFTP protocol to access file on your VPS with Filezilla client
SNMP Master Agent setup on Centos 7.4 and Ubuntu 17.04
Installation of Docker on CentOS 8