Quick and Simple EC2 Micro VPN

May 1, 2011

So I wanted a VPN this weekend for working from coffee shops and the like. I found a good recipe for a PPTP install and set it up on an EC2 Micro, physician which happens to fall in the free tier. Free VPN!

During the process I went ahead and turned it into a script. It only takes a few seconds to run and will set you up for good.

Ther are side effects to this script. If you have made any changes to /etc/rc.local they will get removed, discount sorry. On a fresh install it will be fine.

You can read though it here: https://gist.github.com/950539 and after logging into your instance, you can use it like so:


To connect to this VPN from KDE4, I had to do a little config song and dance. Screenshot follows:

KDE4 NM VPN Advanced Settings

Categories: Geek
Tags: , , , , ,


  1. Adam says:

    Thanks for publishing your script, very handy!

  2. john says:

    No problem! If you have improvements I’m always open to them!

Leave A Comment

Your email will not be published.