I've had some issue finding a good starting point on building an auto re-connect script for a vpnc connection. I have a VPN configured for Cisco IPsec that drops fairly frequently and I need to have it auto re-connect. I'm running a headless Ubuntu 14.04 server and have very basic knowledge of bash scripting.
Any help finding an answer would be much appreciated. If there is any other info you might need to help out I'm happy to provide.