openvpn installation not creating /etc/openvpn on centos 5.5

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
rock1961
OpenVpn Newbie
Posts: 3
Joined: Wed Apr 13, 2011 5:05 pm

openvpn installation not creating /etc/openvpn on centos 5.5

Post by rock1961 » Wed Apr 13, 2011 5:08 pm

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

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

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

Post by Douglas » Wed Apr 13, 2011 5:14 pm

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.

rock1961
OpenVpn Newbie
Posts: 3
Joined: Wed Apr 13, 2011 5:05 pm

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

Post by rock1961 » Wed Apr 13, 2011 5:26 pm

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

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

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

Post by janjust » Wed Apr 13, 2011 10:07 pm

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.

rock1961
OpenVpn Newbie
Posts: 3
Joined: Wed Apr 13, 2011 5:05 pm

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

Post by rock1961 » Thu Apr 14, 2011 1:24 pm

cool. thanks for the info.

Post Reply