I have started working on the new VPN Hacktivator application that will allow to turn you Mac in a full IPSec VPN server. This will allow your iDevices and mobile devices like Macbooks, laptops or Netbook to connect back to your home network over the internet.
I started developing the application as AppleScriptobjc but since then changed direction. I am now developing the application as a Cocoa Objective-C application leveraging some source code from the iVPN 2.4b project.
iVPN was a free application (now pay only) that used to do what VPN Hacktivator will do… but it has not been supported for years now as an opensource project and won’t work well on Snow Leopard. I know very little about Objective-C so the learning curve is a bit steep… but so far I have a proof of concept application that can create the necessary configuration files by using user provided data captured via a Cocoa GUI.
I now have to work on the server side of the program to start/stop the VPN server and to make it a startup service. I know how to do all that manually but I have to turn it into an actual Xcode solution.
Luckily the iVPN Xcode project is providing some good example as to how to do some of those things in Xcode.
For now the application will only support L2TP VPN which is more secure than a PPTP VPN solution. I might add an option to configure PPTP as a next release. For me, L2TP also happen to work fine on my iPhone via Rogers 3G network where PPTP won’t.