I have done a remote access VPN lab before - with OpenVPN. This one is with the more widely accepted L2TP and PPTP. So accepted infact that both the iphone and ipad like it too.
So here we go how to configure a VM to allow remote access from iPhone,iPad and Windows Xp.
Actually Configuring L2TP and PPTP
Settting up Firewall