HOW TO: Setup OpenVPN on CentOS 6 x86_64

Tutorial to install OpenVPN on CentOS 6 x86_64. We will go step by step.

We will enable TUN/TAP first and reboot VPS.

Then we will run following commands.

$ yum update -y
$ yum install gcc make rpm-build autoconf.noarch zlib-devel pam-devel openssl-devel iptables -y

After Installing we will download openvpn server for CentOS 6 x86_64
Latest version can be found here for other OS


fter Downloading, we will execute it

$ rpm -i openvpn-as-2.0.17-CentOS6.x86_64.rpm

You should get a link with "https://IPHERE" now go to it and you should see the OpenVPN access server page.

Login with root or create user and login.
Install OpenVPN client and use OpenVPN. Enjoy

  • 281 Users Found This Useful
Was this answer helpful?

Related Articles

HOW TO: Secure SSH on your VPS

The absolute first thing you should do on a clean server is secure SSH. Before you even consider...

How to install Teamspeak Server?

How to Make a TeamSpeak 3 Server – The Complete Guide In this tutorial, we’ll show you...