tutorials questions & answers
by Pinkman

Install OpenVPN on CentOS 8

TAGS:

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

comments (0)

    leave comment

    Please choose login or register to comment in this thread.

    Start now for as low as $4,99 a month!

    • 8 Characters2
    • 1 Uppercase Atleast
    • 1 Number Atleast