Page 1 of 1

openvpn installation not creating /etc/openvpn on centos 5.5

Posted: Wed Apr 13, 2011 5:08 pm
by rock1961
i have installed openvpn on centos 5.5 to use as a client and did the installation with configure, make, make install, etc but the /etc/openvpn dir is not being created. is this normal? do i need to create the dir and copy files from the installation source or did something go wrong? i saw no errors on building.

thanks

Re: openvpn installation not creating /etc/openvpn on centos

Posted: Wed Apr 13, 2011 5:14 pm
by Douglas
rock1961 wrote:i have installed openvpn on centos 5.5 to use as a client and did the installation with configure, make, make install, etc but the /etc/openvpn dir is not being created. is this normal? do i need to create the dir and copy files from the installation source or did something go wrong? i saw no errors on building.

thanks
Correct. It doesn't create /etc/openvpn automatically. You need to do it yourself.

I use easy-rsa, generate all the keys in the openvpn-2.whatever/easy-rsa/2.0/keys directory.. then:

mkdir -p /etc/openvpn/keys
cp keys/* /etc/openvpn/keys

Then I make a server.conf and put it in /etc/openvpn and edit accordingly.

Re: openvpn installation not creating /etc/openvpn on centos

Posted: Wed Apr 13, 2011 5:26 pm
by rock1961
thanks for the quick reply doug. if i am just setting it up as a vpn client and the openvpn server is at another company, i assume i will have to get them to give me the keys?

i have never done this btw, so if there are any tips/shortcuts to know i would appreciate it.

thanks

Re: openvpn installation not creating /etc/openvpn on centos

Posted: Wed Apr 13, 2011 10:07 pm
by janjust
the vpn administrator of the server should give you the client crt+key file, as well as the ca certificate and the openvpn configuration file that is needed to connect to the server.

Re: openvpn installation not creating /etc/openvpn on centos

Posted: Thu Apr 14, 2011 1:24 pm
by rock1961
cool. thanks for the info.