View Full Version : Installing Open VPN
rock freak
March 14th, 2006, 06:36 PM
It gets to this stage as spits this out at me and i have installed open ssl any ideas at all????
configure: checking for OpenSSL Crypto Library and Header files...
checking openssl/evp.h usability... no
checking openssl/evp.h presence... no
checking for openssl/evp.h... no
configure: error: OpenSSL Crypto headers not found.
So I did a "find /usr -name evp.h" and got:
/usr/local/ssl/include/openssl/evp.h
drakkan
March 14th, 2006, 06:43 PM
why not
apt-get install openvpn
??? :D
rock freak
March 14th, 2006, 06:47 PM
i didnt think open vpn was on there thts why !!!!!:D
i shall give it a go and let you know
Darkriser
March 14th, 2006, 07:05 PM
why not
apt-get install openvpn
??? :D
that's really easy :)
on the other side, repositories don't always offer latest releases (and not all apps are back ported). currently, openvpn latest stable release is 2.0.5, using apt-get you'll probably install "only" version 2.0.2.
rock freak
March 14th, 2006, 07:09 PM
coool all install but hwo do i start it and configure it. i want any vpn ips to start at 192.168.1.200
any help/ideas????
cheers
Darkriser
March 15th, 2006, 04:21 AM
go to http://openvpn.net/ and read the documentation + HowTo's, there's really lot of useful reading explaining configuration of openvpn in details.
usacomp2k3
May 17th, 2006, 01:35 AM
Does anyone have a how-to that is specific to Ubuntu/debian? I seemed to have gotten lost trying the how-to on the openvpn website.
gunnor
July 1st, 2006, 06:36 PM
Me too!
For example, I don't know where to put the files (openvpn.conf and static.key).
I read http://openvpn.net/howto.html and http://kerneltrap.org/node/5018 but I am stuck now :(
nzgreen
July 3rd, 2006, 02:08 AM
Me too!
For example, I don't know where to put the files (openvpn.conf and static.key).
I read http://openvpn.net/howto.html and http://kerneltrap.org/node/5018 but I am stuck now :(
The configuration files go in /etc/openvpn if you want to use the init script. You will need to edit /etc/default/openvpn to tell the init script which vpns to start. Probably easiest to use "all" and then any files in /etc/openvpn ending with .conf are assumed to be openvpn config files and a corresponding vpn will be started.
Otherwise, the config files can go anywhere and you can start the vpn manually and specify the config file to use like so:
~$ sudo openvpn --config /home/scott/openvpn/tohome.conf
gunnor
July 6th, 2006, 06:13 PM
nzgreen,
thanks for the answer.
I still have problems understanding the VPN-configuration of OpenVPN.
I want to enable friends (and of course me) to access my server via VPN with Windows XP, but this seems to be impossible because everyone needs certificates.
Is that right or am I wrong?
PS: This is my openvpn.conf:
dev tun
ifconfig 10.0.0.254 192.168.10.195
secret static.key
daemon
user nobody
group nobody
## Set the appropriate level of log
## file verbosity.
##
## 0 is silent, except for fatal errors
## 4 is reasonable for general usage
## 5 and 6 can help to debug connection problems
## 9 is extremely verbose
log /var/log/openvpn/openvpn.log
verb 6
nzgreen
July 6th, 2006, 06:39 PM
You will need to give your friends a copy of static.key. They should then be able to access your server. This is much less secure than using certificates, but is a lot easier to setup and still way more secure than a PPTP connection (IMO).
If you fall out with one of your friends and want to deny them access then you will have to create a new key and re-distribute to those who should have access. With certificates you could just revoke the certificate for that particular friend.
gunnor
July 6th, 2006, 06:42 PM
All right, I'll try that :)
Many thanks for the info!
Jonix
July 24th, 2006, 07:01 AM
If you can't find the file evp.h while you do a manually search you do not have the OpenSSL development files installed. Install it with the command 'sudo apt-get install libssl-dev'.
paul.maddox
July 24th, 2006, 05:59 PM
Sorry to threadjack, but does OpenVPN require a Windows client or can you connect via the VPN client build into WinXP?
I've tried using poptop as a VPN server in the past but it was a pain because the kernel needed patching for MPPE encryption (WinXP default) and setting up clients without MPPE requires more steps for the end user.
Thanks
NewPenguin
January 3rd, 2008, 09:42 PM
If you can't find the file evp.h while you do a manually search you do not have the OpenSSL development files installed. Install it with the command 'sudo apt-get install libssl-dev'.
I realize this is a Ubunto specific forum, but perhaps someone can help regardless. I found this thread as I am having the same problem installing OpenVPN. I have also installed OpenSSL.
How do I install libssl-dev with CentOS. I cannot use the apt-get command.
I appreciate your help! Thank you!
NewPenguin
January 3rd, 2008, 11:30 PM
Problem solved, found solution at http://www.webhostingtalk.com/showthread.php?t=595436
Thanks anyway!
vBulletin® v3.8.0 Release Candidate 2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.