Google Secure Access VPN on Mac OS X
Google released Google Secure Access, which is basically a VPN service aimed at Wi-Fi users that allows the encryption of over-the-air data to protect it from sniffers. Your data is encrypted between your system and Google’s VPN server, where Google will route your data to the original destination.
However, Google has not released a client for Mac OS X yet. No worries. The Google Secure Access VPN is actually a 128bit PPTP connection. Instead of logging in with your Google userid and password (Gmail?), the username and password is randomly generated and returned to the client via an XML file.
Once you know how it works, you can easily write an Applescript to connect to it as Mac OS X already has all the necessary software to connect to Google Secure Access’s VPN. Basically you need to download the auto-generated XML file containing the username and password to use, parse the file, then tell Internet Connect to dial a PPTP VPN connection to vpn.google.com with that username and password.
Kevin Stock has already written such an Applescript.
Update: Kevin’s site seems to be down, so here’s the AppleScript.
Google caps your speed to about 512kbps when you are connected to their VPN server, but if you need the extra security, I’d recommend you connect to it! I’ve just tried HTTP browsing, POP3 and IMAP access and they all work. SMTP seems to be blocked. I suppose Google does not want spammers to take advantage of masking their own IP through the Google Secure Access VPN which translates the source IP to Google’s own block of IPs.
For more information on how to run your Applescripts, read on Apple’s Script Menu. All you have to do is put the script into your Scripts folder and run it from the Script Menu in Finder.
September 24th, 2005 at 11:23 pm
This trick works with a basic PPTP connection on XP as well.
September 25th, 2005 at 12:48 am
More WiFi Secure Access VPNs…
Earlier I posted about Google’s secure VPN access, turns out you can use it with a Mac as well (here’s how) - and if you’re looking for another VPN client - Tom writes “There is a free and more trustworthy free VPN client software (called “iPig”…
October 2nd, 2005 at 5:27 am
Can you Update your post with a direct link to Kevin Stock’s script as it seems his site is down or he has removed it from his site.
October 17th, 2005 at 2:45 am
[...] Google Secure Access VPN on Mac OS X at Apple Newbie [...]
February 7th, 2006 at 4:26 am
if you get a cannot complile error with this, remove the line break between “gserver” and “with”. it should just have a single space between. thanks for posting, i’ve been trying to find this for a while.
September 1st, 2006 at 5:11 pm
[...] A Howto on connecting to Google Secure Access VPN on Mac OS X. Uses Applescript, curl and grep.read more | digg story [...]