Thanks! I actually got it to work. I'm not entirely certain of the culprit, but I have suspicions. Before I put it in production, I had the Meraki WAN on a Cable modem connection with a Dynamic IP. I could ping the dynamic IP, and the Meraki hostname, but the VPN failed. Once I moved it to a different WAN connection w/ static IP it works. The script above is a thing of beauty. Adds the VPN, user types in credentials, and it seems to just work. I've only tested on a couple of machines, but worked straight away ever since I changed the WAN link. Could be that TWC/Spectrum has some filtering on DHCP modems that they don't on static IP modems? Not sure, but so far, so good.
... View more