Riccardo Paolo Bestetti schreef op 31-05-2017 16:01:
It's not OpenVPN you should configure, but your Operating System.
You should refer to its documentation or its relevant mailing list.
You can also do:
# crontab -l | { cat; echo "*/15 * * * * /bin/sh -c 'ifconfig | grep
tun0 > /dev/null || systemctl restart openvn'"; } | crontab
This will check very 15 minutes whether tun0 is up and if not will use
systemctl to restart openvpn service.
Not sure what runs on Raspbian.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users