| Author |
Message |
|
Douglas
|
Post subject: OpenVPN Install Guides Posted: Wed Aug 27, 2008 2:43 am |
|
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: Once this command runs, OpenVPN has successfully been installed on your system.
|
|
|
|
 |
|
krzee
|
Post subject: FreeBSD howto Posted: Fri Aug 29, 2008 5:58 pm |
|
| I should be on the dev team. |
 |
Joined: Fri Aug 29, 2008 5:42 pm Posts: 652
|
|
|
|
 |
|
Douglas
|
Post subject: Posted: Sat Sep 13, 2008 7:05 pm |
|
Joined: Wed Aug 27, 2008 2:41 am Posts: 167
|
There is a Debian installation video as well here.
|
|
|
|
 |
|
adi.kwok
|
Post subject: Re: OpenVPN Install Guides Posted: Wed Nov 17, 2010 5:47 pm |
|
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
|
|
|
|
 |
|
dazo
|
Post subject: Re: OpenVPN Install Guides Posted: Thu Nov 18, 2010 3:57 pm |
|
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/EPELhttp://fedoraproject.org/wiki/EPEL/FAQ
|
|
|
|
 |
|
dhruvpandit
|
Post subject: Re: OpenVPN Install Guides Posted: Tue Apr 19, 2011 11:50 am |
|
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?
|
|
|
|
 |
|
dazo
|
Post subject: Re: OpenVPN Install Guides Posted: Tue Apr 19, 2011 12:44 pm |
|
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.
|
|
|
|
 |
|
whoa
|
Post subject: Re: OpenVPN Install Guides Posted: Tue Jul 26, 2011 10:18 pm |
|
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/EPELhttp://fedoraproject.org/wiki/EPEL/FAQDazo - 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 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?
|
|
|
|
 |
|
whoa
|
Post subject: Re: OpenVPN Install Guides Posted: Wed Jul 27, 2011 3:40 am |
|
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?
|
|
|
|
 |
|
whoa
|
Post subject: Re: OpenVPN Install Guides Posted: Wed Jul 27, 2011 6:58 pm |
|
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.
|
|
|
|
 |
|
dazo
|
Post subject: Re: OpenVPN Install Guides Posted: Wed Aug 03, 2011 12:17 pm |
|
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.
|
|
|
|
 |
|
manahil
|
Post subject: Re: OpenVPN Install Guides Posted: Tue Oct 18, 2011 11:36 am |
|
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...
|
|
|
|
 |
|
Page 1 of 1
|
[ 12 posts ] |
|
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
|