What free VPN server to use that would work with iOS? iOS supports 3 VPN solutions: L2TP, PPTP and IPSec and currently I'm using PPTP connecting to a Ubuntu server.

Also, there are several problems: PPTP configuration has to be tunned on both ends in order to make it work and also I heard that PPTP can be broken in just 4 hours.

Is any other better solution for setting up Apple compatible VPNs that would not require buying some commercial software.
For years I've gone through this cycle of trying to set up a home VPN (running on OS X or Ubuntu) that'll support client connections from both my Mac and iPhone/iPad, and hours later I give up in defeat. Six months pass and I think, "it can't really be THAT difficult" ... and the cycle repeats.

Anyway, a couple weeks ago I finally got everything working. Some genius posted exactly what's necessary to get VPN set up for iOS and it also worked with my Mac:

http://ubuntuforums.org/showthread.php?t=1645473&amp;highlight=openswan+iphone