2

Just got my Pi 1 setup with OSMC yesterday. I've tried getting OpenVPN to start on boot, but no luck. In etc/default/openvpn here's my settings (Netherlands being Netherlands.ovpn):

#AUTOSTART="all"
#AUTOSTART="none"
#AUTOSTART="home office"
AUTOSTART="Netherlands"

The only way I've been able to start the service OK is with:

sudo openvpn --config /etc/openvpn/Netherlands.ovpn

Even using sudo service openvpn start doesn't work (thought it would).

3

It looks like changing all the ".ovpn" files instead to use ".conf" extension worked. Not sure why that is. E.g.:

sudo openvpn --config /etc/openvpn/Netherlands.conf

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.