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
openvpn installation not creating /etc/openvpn on centos 5.5
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Apr 13, 2011 5:05 pm
-
- Forum Team
- Posts: 285
- Joined: Wed Aug 27, 2008 2:41 am
Re: openvpn installation not creating /etc/openvpn on centos
Correct. It doesn't create /etc/openvpn automatically. You need to do it yourself.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
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.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Apr 13, 2011 5:05 pm
Re: openvpn installation not creating /etc/openvpn on centos
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
i have never done this btw, so if there are any tips/shortcuts to know i would appreciate it.
thanks
- 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
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.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Apr 13, 2011 5:05 pm
Re: openvpn installation not creating /etc/openvpn on centos
cool. thanks for the info.