Hello guys I installed openconnect from homebrew on OS X 10.10.5, the vpnc-script has some issue, such as: it does not delete $VPNGATEWAY after being killed, then if my network changes, the default gw changes, it will not be able to connect to the $VPNGATEWAY, so I did a heavy modification on the vpnc-script, it works perfect now, I'm not expert, your suggestions on my script will be very welcome. https://gist.github.com/cattyhouse/f3e2d1621e731ea7e26f