How to install OpenVPN on CentOS 6

OpenVPN VPN Privacy CentOS Security Installation


OpenVPN is a great tool to protect yourself online whether you are on a private or a public network. OpenVPN is a full-featured SSL software solution for enterprise management or home use. OpenVPN client includes a user-friendly interface for Windows, MAC, Linux, Android and IOS. 

Downloading OpenVPN package

In this example, I will be installing OpenVPN on a CentOS 6 64-bit system. If by chance you're using a different version, you can find downloads here

First, you need to download OpenVPN package by using the command below.

 sudo wget

If you not using CentOS 6 64-bit, replace the package URL with the version that matches your system. 

Installing OpenVPN

After you have downloaded OpenVPN package, you need to install it using the command below. 

 rpm -i openvpn-as-1.8.3-CentOS5.i386.rpm

All done! Well.. OpenVPN is now installed on your server, However, we need to change the OpenVPN password so we can login to OpenVPN. Use the following command to change OpenVPN password.

 sudo passwd openvpn

Administrator user-interface

Before we continue, we have to login to the OpenVPN admin interface and accept the terms. You can find OpenVPN admin interface here. 


Let's login using the username "openvpn"  and the password we have created before. Now accept the terms and make sure OpenVPN AS server is showing as "ON" and running. 

Installing OpenVPN client

Now to install the OpenVPN client go to the following page. If you see any SSL warnings, ignore the warnings and continue. 


Login to opennvp account using the password we created before and it will download OpenVPN client. 

That's it! Enjoy your OpenVPN AS!

    No comments found for this tutorial, be the first to leave a comment!

Tutorial by

Last updated on
Dec 23, 2014