OpenVPN fails to start automatically

Hello. I have a working OpenVPN configuration that I’ve setup.

The issue I have is that the OpenVPN service fails to startup automatically on boot. I’ve run
/etc/init.d/openvpn enable

I can manually startup OpenVPN via /etc/init.d/openvpn start (or via the Luci interface). I’d simply like it to start automatically if the router is rebooted and I happen to be away from home…

Perhaps it’s very obvious, but the tinkering I’ve done has not fixed the issue. Is this a race condition on startup - that OpenVPN depends upon something else being configured, etc?

Note that I have dyndns also configured (and used for the OpenVPN name).

Cheers,

Gabor

1 Like

I had the same. After a reboot OpenVPN was not running.

in Luci -> System -> Startup I had to enable the OpenVPN service.

Now it automatically starts when the router is rebooted.