Cake
Senior Member
Does anybody have a script they use for the OpenVPN client in their jffs dir for checking if the vpn is still working, and reconnecting if necessary.
I am thinking maybe like getting ip,
and check if it is between a certain range if it is exit, if not cycle the openvpn connection. I have found my VPN provider (PIA) sometimes gets disconnected, and I only find out when using google as the country local changes.
running 376.48_1
I am thinking maybe like getting ip,
Code:
curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
running 376.48_1