Upgrading OpenVPN to 2.4.2 on Centos

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
King Kong
OpenVpn Newbie
Posts: 15
Joined: Sat Oct 19, 2013 1:48 pm

Upgrading OpenVPN to 2.4.2 on Centos

Post by King Kong » Fri Jun 02, 2017 4:42 pm

Hello
I have Centos 6.6
2.6.32-642.6.2.el6.i686

I would like to upgrade it tot he latest version 2.4.2. How can I do this? Through the Centos command line and if so what are the commands.
How do check what the current version I'm running?

Thanks in advance for the help

King Kong
OpenVpn Newbie
Posts: 15
Joined: Sat Oct 19, 2013 1:48 pm

Upgrading Existing Installation

Post by King Kong » Mon Jun 05, 2017 11:37 am

Hello
I have Centos 6.6
2.6.32-642.6.2.el6.i686

I would like to upgrade it tot he latest version 2.4.2. How can I do this? Through the Centos command line and if so what are the commands.

Thanks in advance for the help

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Upgrading OpenVPN to 2.4.2 on Centos

Post by TinCanTech » Mon Jun 05, 2017 12:29 pm


King Kong
OpenVpn Newbie
Posts: 15
Joined: Sat Oct 19, 2013 1:48 pm

Re: Upgrading OpenVPN to 2.4.2 on Centos

Post by King Kong » Mon Jun 05, 2017 10:40 pm

Hello
Thanks for the response, unfortunately the provided link doesn't give specifics as to the commands I would use to upgrade OpenVPN. Has anyone upgrade their version of OpenVPN and if so, would you be kind enough to provide me with the steps used. Thanks for the help.

TiTex
OpenVPN Super User
Posts: 310
Joined: Tue Apr 12, 2011 6:22 am

Re: Upgrading OpenVPN to 2.4.2 on Centos

Post by TiTex » Tue Jun 06, 2017 7:28 am

you should first upgrade to the latest stable release , that is Centos 6.9
openvpn 2.4.1 is already provided in the epel repository

Code: Select all

yum install epel-release && yum install openvpn
if you must have the latest and greatest ...

Code: Select all

yum install epel-release gcc gcc-c++ yum-utils
yum-builddep openvpn
wget https://swupdate.openvpn.org/community/releases/openvpn-2.4.2.tar.gz
tar xvf openvpn-2.4.2.tar.gz
cd openvpn-2.4.2
./configure
make 
make install

King Kong
OpenVpn Newbie
Posts: 15
Joined: Sat Oct 19, 2013 1:48 pm

Re: Upgrading OpenVPN to 2.4.2 on Centos

Post by King Kong » Tue Jun 06, 2017 11:23 am

Hello
Thanks very much for the guidance and feedback.

King Kong
OpenVpn Newbie
Posts: 15
Joined: Sat Oct 19, 2013 1:48 pm

Re: Upgrading OpenVPN to 2.4.2 on Centos

Post by King Kong » Wed Jun 07, 2017 11:24 am

Hello
FYI. My version of Centos is SHMZ release 6.6 (Final). I wasn't able to update it to the latest Centos release. Is this because it's a fixed version of FreePBX (SHMZ)?

Next I followed the steps to install openvpn 2.4.2. All went well, however when I login I see the "Access Server" version is 2.0.21. Are there other steps I should be taking?

Thanks in advance for any help that can be provided.

King Kong
OpenVpn Newbie
Posts: 15
Joined: Sat Oct 19, 2013 1:48 pm

Re: Upgrading OpenVPN to 2.4.2 on Centos

Post by King Kong » Mon Jun 12, 2017 11:33 am

Hello
Can anyone add to my above comment of June 7, 2017? Any suggestions would be greatly appreciated.

Thanks

TiTex
OpenVPN Super User
Posts: 310
Joined: Tue Apr 12, 2011 6:22 am

Re: Upgrading OpenVPN to 2.4.2 on Centos

Post by TiTex » Mon Jun 12, 2017 3:48 pm

i don't understand , did you install openvpn access server or openvpn stand alone (free opensource) ?

King Kong
OpenVpn Newbie
Posts: 15
Joined: Sat Oct 19, 2013 1:48 pm

Re: Upgrading OpenVPN to 2.4.2 on Centos

Post by King Kong » Mon Jun 12, 2017 9:47 pm

Hello
Thanks for getting back to me. I have OpenVPN Access Server 2.0.21on a Lap Top running Centos SHMZ 6.6 (Final). It looks like latest release is 2.1.6 (I thought it was 2.4.2 - sorry, my mistake). My question is, how do I go about installing / upgrading to the latest release (2.1.6) on my lap Top?

Thanks in advance for any help that you can provide.

TiTex
OpenVPN Super User
Posts: 310
Joined: Tue Apr 12, 2011 6:22 am

Re: Upgrading OpenVPN to 2.4.2 on Centos

Post by TiTex » Tue Jun 13, 2017 1:04 pm

It seems like you have both installed , my guide above was for openvpn 2.4.2 which is the free version
openvpn access server is a paid version (*free for two users) with a nice web admin gui and professional support (i guess) , and i don't use this version so i can't help you.

King Kong
OpenVpn Newbie
Posts: 15
Joined: Sat Oct 19, 2013 1:48 pm

Re: Upgrading OpenVPN to 2.4.2 on Centos

Post by King Kong » Thu Jun 15, 2017 1:22 am

Thanks for all you efforts. I appreciate them.

Post Reply