You are not logged in.

#1 2019-05-19 10:37:19

Liiht
Member
Registered: 2019-04-13
Posts: 21

[Solved] How to start openvpn client.

I have client.conf which I can use via

 sudo openvpn --config /path/to/client.conf 

but I can't it start via

 sudo systemctl start openvpn@client 

this just returns

 Failed to start openvpn@client.service: Unit openvpn@client.service not found. 

I have put the client.conf in /etc/openvpn/client. Although this was weird as I do not have permission to view the contents of the folder, so I used sudo to force it in there. I don't know if i just haven't understood the wiki or I'm doing something stupid, so if someone could point me in the right direction that would be helpful.

Last edited by Liiht (2019-05-19 14:21:36)

Offline

#2 2019-05-19 10:53:24

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: [Solved] How to start openvpn client.

Please compare the service name you are using against OpenVPN#systemd_service_configuration.

Offline

#3 2019-05-19 14:21:24

Liiht
Member
Registered: 2019-04-13
Posts: 21

Re: [Solved] How to start openvpn client.

Hi, thanks I took a better look at that section and noticed the service is called openvpn-client@client rather than openvpn@client. Thanks for putting up with my ineptitude!

Offline

Board footer

Powered by FluxBB