E
E
Evgeny Elizarov2012-05-16 15:55:52
openvpn
Evgeny Elizarov, 2012-05-16 15:55:52

Centos openvpn client

Ladies and gentlemen, tell me pliz - how to make him work as a client? So that it starts and creates a connection after reboot on its own. Googled how to set up a million manuals as a server, but as a client, there were only a couple of notes. So we have CentOS 6.2 and openvpn-2.2.1-1.el6.x86_64. I created the /etc/openvpn directory and put the certificates and config there. Openvpn --config /etc/openvpn/client.config starts fine manually, but how to make it start after a reboot? So that he would read the config. Or does it have some other place for the config / certificates installed by default? Or the init script needs to be edited? Tell me plz.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
logan, 2012-05-16
@KorP

the default name of the config is .conf. If there is at least one file, the service will be started by the init script. I used .conf and client.conf both work. I also recommend checking chkconfig - openvpn is not loaded by default

S
smkuzmin, 2012-06-19
@smkuzmin

Quick deployment and easy management of OpenVPN on CentOS: sites.google.com/site/smkuzmin/home/openvpn

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question