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="home office"

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).

1 Answer 1


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 and acknowledge you have read our privacy policy.

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