How do you tell OpenVPN to run on startup?

I’ve done these exact same steps on two Ubuntu computers and it works just fine. I copied the exact same foo.conf file (along with a corresponding auth.txt file) into /etc/openvpn/ and it works if I manually enter service openvpn start. But I can’t get it to work on startup. I don’t remember having a problem before. It just worked.

/var/log/openvpn is empty. /etc/default/openvpn matches the working computer (AUTOSTART=”all” is commented so it should use all by default).

It’s not starting the VPN after a reboot though.

Leave a Reply

Your email address will not be published. Required fields are marked *