It's easy to run your own VPN server from your Mac. First you'll have to buy the Server app from the App Store here. It will set you back $20 but it's $20 well spent.

Now open it up and go to the VPN configuration page.

Also you are going to need to purchase a domain name. I went to a place called NameCheap and purchased www.hagensieker.org for almost nothing per year. NameCheap has great support as well.

Once you own a domain set your Config for L2TP then add your hostname, in my case hagensieker.org

There is a shared secret as well that you'll need or of course you can make your own passphrase in that block. Oddly enough that is pretty much it. Wait…..Don't forget to turn the switch to ON.

Screen Shot 2015-01-20 at 3.34.36 PM

Now go to your server name on the sidebar at the top. Mine is called "hagenserver". Click on the tab that says "access". I already have my VPN added but to do it you click on the + sign at the bottom left and configure your user or users that will access your VPN. (Note that VPN is not in the displayed list, that's because it's already in use. It'll be there if you don't have it configured).

Screen Shot 2015-01-21 at 2.49.19 PM

Now add your user: And note that I've only allowed "some users" and defined them "me". Now the user John Hagensieker can access the VPN.

Screen Shot 2015-01-21 at 2.48.42 PM

Now go back to the VPN page and hit the button that says "Save Configuration Profile". This happens: It makes a file called VPN.mobileconfig. Get that file on your computer you wish to VPN from, in my case an iPad. I emailed the file to myself.

Screen Shot 2015-01-21 at 2.26.32 PM

On your iPad simply click on the file you emailed yourself.

IMG_0453

This happens:

IMG_0454

Follow the prompts and click through the "Install" buttons. It will ask you for the user name and password of your user which in my case was john, and my account password.

Once it is installed simply turn your VPN on. The slider bar turns green, and you have a secure VPN session to your server. Congratulations.

IMG_0455

Now lets get at the files on that server. Go back to your server on the Overview tab. Note the Wi-Fi address of 10.0.1.184

Screen Shot 2015-01-21 at 3.05.36 PM

Now download an app called FileBrowser on the iPad.
Add your credentials
-hagensieker.org
-user name
-user password
-and that long Secret string from the VPN server configuration page.
-then input your address as being 10.0.1.184 (Your IP will be different from mine).

And then connect. Voila' There are your files. Pretty amazing, huh?

IMG_0001

That's not all you can do. You can access your server via VNC as well. I use a program called remoter pro. You have to have screen sharing enabled on your Mac Server though.

Watch this.