OpenVPN not working after router reboot

openvpn

#1

Hi,

each time my Omnia Turris gets rebooted, OpenVPN stops working. Meaning, I can not connect. Restarting the OpenVPN-service via /etc/init.d/openvpn restart helps. But that can only be done if I’m at home ;).
As actually the service is broken again, I can’t provide you with any logfiles. But do you have any ideas, how I could try to solve this as soon as I get near the router?

Thx
Stefan


#2

Quickfix idea:

crontab -e
@reboot sleep 120 && /etc/init.d/openvpn restart

But this doesn’t solve the real issue of course


#3

Nice one :slight_smile:
But you’re right, doesn’t solve the issue. Will try to get some logs in the evening.


#4

try the command:

/etc/init.d/openvpn enable && /etc/init.d/openvpn start


#5

You were completely right. The service wasn’t enabled. Which is mysterious, because I used Foris to set it up.
Thanks a lot!