Jun 28, 2008

Free VPN!

Finally I had the opportunity/need/inspiration/circumstances to look for a free VPN server that would run on a server with a static IP on a LAN. 

Turns out Mac OS X has one built in! It's an open-source UNIX deal called vpnd, and it's the same one on OS X Server and configured through the GUI. It's no surprise that Apple left a VPN GUI out of OS X client — Server costs either $499 or $999 — but a very nice developer named Alex Jones came up with the free iVPN, and after a little port forwarding on the router, and 30 seconds of config of iVPN, we had ourselves a legit L2TP VPN tunnel.

It was important to me that the VPN be accessible by the client built-in to OS X — found in Internet Connect in Tiger or earlier, and in Network System Preferences in Leopard. I have become bored with downloading and config'ing standalone software: too many checkboxes, not enough stability.

So.... whoop! Very easy, very free. 

Now, one thing about most VPN connections that has always bugged me is that, even if the client connects to a network resource, say a server, via its local Bonjour hostname, e.g. server.local, when a connection is attempted over the VPN it fails, and the user has to revert to using the IP address. Which is sort of fine, but a turn off to the less technically minded. So I just found this article on macosxhints.com about editing the /etc/hosts file:

I haven't tried it yet, but it makes sense to me. 


Anonymous said...

iVPN isn't free, according to the website, it costs £14.99. So I continue looking for a free VPN server solution.

Caleb said...

iVPN has (had) a free version - 2.4b. Google for it and you can find a fork on sourceforge. Still free, just don't update when it asks you.

jaminconn said...

i keep looking at source forge projects. i love the stuff they can do but I always run into source copies and I don't actually know how to " install" these. i'm ok with buggy or Open and beta versions but I just am struggling with this knowledge disconnect. simple answer. wanna help me out. thnks

The Mac Whisperer said...

iVPN started out free, but the $20 price tag is not bad, given that it saves you from a command-line learning curve. But the VPN service is built into OS X, so one of the sourceforge projects should do it for ya if you don't mind some tinkering. Or you could install Lion Server FOR $50 on a Mac that'll be on all the time (necessary for VPN anyway), and use its GUI control to turn on VPN.

Check out my new blog at j2mac.com/blog.

Kane William said...

If you are looking best Free VPN then i suggest you one of the best Hotspot Shield VPN. It is totally free and also you can use this software on Windows, Mac, iPhone and Android. ( www.anchorfree.com/hotspot-shield-VPN-download-mac.php )