Vpngate script from http://xuhaojun.github.io/blog/2013-10-20-openvpn_and_vpngate.html