Answer the question
In order to leave comments, you need to log in
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
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question