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.
$ wget https://gist.github.com/raw/950539/pptpd.sh
$ sudo su
# /bin/bash pptpd.sh
To connect to this VPN from KDE4, I had to do a little config song and dance. Screenshot follows:
KDE4 NM VPN Advanced Settings