Community Support Forum
 
  OpenVPN.net  •  Forum Index  •  FAQ  

It is currently Wed May 16, 2012 2:57 pm




Post new topic Reply to topic  [ 12 posts ] 
 OpenVPN Install Guides 
Author Message
 Post subject: OpenVPN Install Guides
PostPosted: Wed Aug 27, 2008 2:43 am 
Forum Team

Joined: Wed Aug 27, 2008 2:41 am
Posts: 167
You've decided you want to install OpenVPN but don't know how? I'll show you how. Just keep reading.

On CentOS 5 via RPM

You need to install LZO (http://www.oberhumer.com/opensource/lzo/) compression library on your server before you can install OpenVPN.

Once these are installed, you are ready to install OpenVPN. The following steps will download and install OpenVPN:

Quote:
cd /tmp
wget http://dag.wieers.com/rpm/packages/openvpn/openvpn-2.0.9-1.el5.rf.i386.rpm
rpm -Uvh openvpn-2.0.9-1.el5.rf.i386.rpm
Once this command runs, OpenVPN has successfully been installed on your system.


Offline
 Profile  
 
 Post subject: FreeBSD howto
PostPosted: Fri Aug 29, 2008 5:58 pm 
I should be on the dev team.
User avatar

Joined: Fri Aug 29, 2008 5:42 pm
Posts: 652
ecrist made a nice howto for setting up openvpn on freebsd...
here is the link
https://www.secure-computing.net/wiki/index.php/OpenVPN_Server

-krzee


Offline
 Profile  
 
 Post subject:
PostPosted: Sat Sep 13, 2008 7:05 pm 
Forum Team

Joined: Wed Aug 27, 2008 2:41 am
Posts: 167
There is a Debian installation video as well here.


Offline
 Profile  
 
 Post subject: Re: OpenVPN Install Guides
PostPosted: Wed Nov 17, 2010 5:47 pm 
OpenVpn Newbie

Joined: Mon Nov 15, 2010 4:14 pm
Posts: 1
i tried that centos 5,

but i got this message:

Unable to obtain Session ID from 67.23.249.55:443: XML-RPC: mismatched tag: line 25, column 2

how to correct it?

thx


Offline
 Profile  
 
 Post subject: Re: OpenVPN Install Guides
PostPosted: Thu Nov 18, 2010 3:57 pm 
Developer

Joined: Mon Jan 11, 2010 10:14 am
Posts: 58
Location: dazo :: #openvpn-devel @ irc.freenode.net
The CentOS recipe is pretty much outdated.

I suggest first to install the Fedora EPEL repository for RHEL5:
Code:
[root@host:~] rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

Then it's just a matter of a yum install:
Code:
[root@host:~] yum install openvpn

And that's it. Should give you a much newer and more decent version of OpenVPN as well.

For more info about the Fedora EPEL repository for RHEL (and CentOS), go here:
http://fedoraproject.org/wiki/EPEL
http://fedoraproject.org/wiki/EPEL/FAQ


Offline
 Profile  
 
 Post subject: Re: OpenVPN Install Guides
PostPosted: Tue Apr 19, 2011 11:50 am 
OpenVPN Power User

Joined: Tue Apr 19, 2011 11:18 am
Posts: 53
hi there,
sorry for a noob question,
but i've installed openVPN with yum command on my centos 64 bit (plesk)

i am accessing my server with remote server . so i checked there , but there was not any icon in my server.

can anyone give me link of tutorial of installing it with GUI?


Offline
 Profile  
 
 Post subject: Re: OpenVPN Install Guides
PostPosted: Tue Apr 19, 2011 12:44 pm 
Developer

Joined: Mon Jan 11, 2010 10:14 am
Posts: 58
Location: dazo :: #openvpn-devel @ irc.freenode.net
dhruvpandit wrote:
hi there,

i am accessing my server with remote server . so i checked there , but there was not any icon in my server.

can anyone give me link of tutorial of installing it with GUI?


Is your CentOS box going to be a client or server? If a client and if using NetworkManager, there is a NetworkManager OpenVPN plug-in, which gives you a GUI. But this is only if you're setting up your box as an OpenVPN client.

If you want to setup you box as an OpenVPN server (which openvpn clients connects to), there are no GUI for this. On CentOS, you write your config file and places it under /etc/openvpn/ with a *.conf extension. Then you do 'service openvpn start' and then read the log files to debug you config.

There are no shortcuts, and to be frankly, the GUIs is just doing the same which the config file does. And the config files are usually quite easy. If you want a kick-start to something, go buy the OpenVPN 2 Cookbook by Jan Just Keijser https://www.packtpub.com/openvpn-2-cookbook/book ... or read the different how-to's and guides on the net, there are plenty of them - but many of them might not be as good as the book though.


Offline
 Profile  
 
 Post subject: Re: OpenVPN Install Guides
PostPosted: Tue Jul 26, 2011 10:18 pm 
OpenVpn Newbie

Joined: Wed Jun 29, 2011 1:42 am
Posts: 5
dazo wrote:
The CentOS recipe is pretty much outdated.

I suggest first to install the Fedora EPEL repository for RHEL5:
Code:
[root@host:~] rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

Then it's just a matter of a yum install:
Code:
[root@host:~] yum install openvpn

And that's it. Should give you a much newer and more decent version of OpenVPN as well.

For more info about the Fedora EPEL repository for RHEL (and CentOS), go here:
http://fedoraproject.org/wiki/EPEL
http://fedoraproject.org/wiki/EPEL/FAQ


Dazo - not to be picky but this installs openvpn-2.1.4-1.el5.x86_64 and the current release is openvpn-2.2.1. After doing
Code:
yum install openvpn
it installed lzo but when I decompress openvpn-2.2.1 and do a ./configure it errors out complaining about lzo not being found...

So...how would one upgrade to openvpn-2.2.1?


Offline
 Profile  
 
 Post subject: Re: OpenVPN Install Guides
PostPosted: Wed Jul 27, 2011 3:40 am 
OpenVpn Newbie

Joined: Wed Jun 29, 2011 1:42 am
Posts: 5
my bad did another ./configure it doesnt complain about lzo not being found. It does complain about this:

Code:
configure: checking for LZO Library and Header files...
checking lzo/lzo1x.h usability... no
checking lzo/lzo1x.h presence... no
checking for lzo/lzo1x.h... no
checking lzo1x.h usability... no
checking lzo1x.h presence... no
checking for lzo1x.h... no
LZO headers were not found
LZO library available from http://www.oberhumer.com/opensource/lzo/
configure: error: Or try ./configure --disable-lzo
[root@localhost openvpn-2.2.1]#


Okay...so how do I fix the LZO headers not being found issue?


Offline
 Profile  
 
 Post subject: Re: OpenVPN Install Guides
PostPosted: Wed Jul 27, 2011 6:58 pm 
OpenVpn Newbie

Joined: Wed Jun 29, 2011 1:42 am
Posts: 5
So I researched this further... I went to LZO's web site downloaded LZO (again) did a ./configure, make, make install and the headers were fixed, but then it complained about openssl headers not being present. So I did a yum search for openssl-devel and installed the latest version, which then fixed that issue. Finally did yet another ./configure in the openvpn directory and low and behold it went to completion. Did a make, make install and didnt see any errors so at this point it looks like the issue is resolved and the latest openvpn version (2.2.1) is installed. This is being installed on a VM instance (virtual box) of CentOS 5.


Offline
 Profile  
 
 Post subject: Re: OpenVPN Install Guides
PostPosted: Wed Aug 03, 2011 12:17 pm 
Developer

Joined: Mon Jan 11, 2010 10:14 am
Posts: 58
Location: dazo :: #openvpn-devel @ irc.freenode.net
Code:
yum install openssl-devel lzo-devel pkcs11-helper-devel


Then you can try to build openvpn again. That gives you the needed development files (header/include files among others) which is needed when compiling programs which uses these libraries.


Offline
 Profile  
 
 Post subject: Re: OpenVPN Install Guides
PostPosted: Tue Oct 18, 2011 11:36 am 
OpenVpn Newbie

Joined: Tue Oct 18, 2011 9:40 am
Posts: 2
Thanks for a great tutorial, but could you please post the server.ovpn file or else the turorial wont work...


Offline
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


 Who is online 

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


phpBB SEO
[ Time : 0.068s | 11 Queries | GZIP : On ]

 
Index  |  FAQ


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group