<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>OpenVpnCentOs6</title><revhistory><revision><revnumber>3</revnumber><date>2013-04-18 21:42:13</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>2</revnumber><date>2013-04-18 21:41:17</date><authorinitials>akrevl</authorinitials></revision><revision><revnumber>1</revnumber><date>2013-04-18 21:37:26</date><authorinitials>akrevl</authorinitials></revision></revhistory></articleinfo><section><title>OpenVPN on CentOS 6</title><para>This howto was prepared and tested on CentOS 6 64 bit. </para><section><title>Install the client</title><para><emphasis role="strong">1)</emphasis> Make sure that you add the EPEL repositories to your yum configuration. Here is how you can add those. </para><screen><![CDATA[curl -O http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm]]></screen><para><emphasis role="strong">2)</emphasis> Install OpenVPN. </para><screen><![CDATA[sudo yum install openvpn]]></screen></section><section><title>Set up the connection</title><para><emphasis role="strong">3)</emphasis> Unzip the file named <emphasis>USERNAME_linux.zip</emphasis>. </para><screen><![CDATA[mkdir ~/openvpn
cd ~/openvpn/
unzip /path/to/your/file/USERNAME_linux.zip]]></screen><para><emphasis role="strong">4)</emphasis> Start the connection by running the script startVPN.sh. Make sure you run it as root so it can setup the routing table. </para><screen><![CDATA[sudo ~/openvpn/startVPN.sh]]></screen><para><inlinemediaobject><imageobject><imagedata fileref="http://snap.stanford.edu/moin//moin/OpenVpnCentOs6?action=AttachFile&amp;do=get&amp;target=01.png"/></imageobject><textobject><phrase>01.png</phrase></textobject></inlinemediaobject> </para><para><emphasis role="strong">5)</emphasis> If you want to terminate the connection press Ctrl+C in the command line window where your connection is running. </para></section></section></article>