I am trying to set OpenVPN to autostart on boot. With 18.04 Mate I have tried my usual put opvpn config into /etc/openvpn and then edit /etc/default/openvpn to connect all. This does not work, although it worked on 16.04.

I have looked into using systemd but I can't get it to work.

I have tried using network manager to connect on log in, as a compromise, this failed due to ethernet not auto connecting if a VPN is set to always be used.

So, in summary, what I want is:

My openvpn to automatically connect when I boot up.

Thanks for all and any help!

xm