MrCh1ps
Posts: 2
Joined: Tue Aug 08, 2017 1:02 am

Systemctl and Openvpn

Tue Aug 08, 2017 1:20 am

Hi all, last ditch effort after googling for ages trying to resolve my problem...

I am working with a fresh installation of Raspbian and trying to set up Openvpn on it. I have Openvpn working with the .crt and.pem files pathed correctly and the .conf file set up. I am able to test it successfully with

Code: Select all

sudo openvpn --config /etc/openvpn/US\ Seattle.conf
- My ip is hidden.

When I run

Code: Select all

sudo systemctl enable openvpn@US\ Seattle.service
and

Code: Select all

sudo systemctl start openvpn@US\ Seattle.service
I get

Code: Select all

openvpn@US\x20Seattle.service - OpenVPN connection to US\x20Seattle
   Loaded: loaded (/lib/systemd/system/openvpn@US\ Seattle.service; enabled)
   Active: failed (Result: exit-code) since do 2017-08-07 18:54:13 MDT; 1min 36s ago
  Process: 1161 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf (code=exited, status=1/FAILURE)
Any suggestions would be greatly appreciated.

Return to “Raspberry Pi OS”