Set up Openvpn client on Centos 6.4

I often use Openvpn to connect my servers toghter over several cloud servers provider.
This is my small how to for setting up the openvpn client.

Install the openvpn server

yum install wget
rpm -Uvh epel-release-6-8.noarch.rpm 
yum install openvpn


Set up the Vpn client

In /etc/openvpn extract you vpn config

Save you openvpn config file as client.conf

Test you vpn

openvpn --config client.conf 

Now when its working restart you openvpn with

/etc/init.d/openvpn restart

And now you will have vpn between you server.



  2 comments for “Set up Openvpn client on Centos 6.4

  1. Art
    November 7, 2013 at 4:49 am

    You only installed epel.

  2. November 8, 2013 at 9:04 am

    Yes only install the EPEL repo and then the openvpn packages are in that repo.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: