|On-demand 20GHz. processing, 8GB RAM for 32p an hour. Serious bargain.|
So first of all I needed a PPTP server. This was fairly easily achieved through some basic trial and error, I'm not a VPN expert but I know enough.
The first thing you must do is install pptpd. Now, this is pretty easy:
root@ubuntu:/etc/ppp# sudo apt-get install pptpd
Yawn. Hard life. Now, you need to edit pptpd.conf which in my case was found in /etc...
root@ubuntu:/etc/ppp# nano /etc/pptpd.conf
You want to be adding in your networks here:
localip 192.168.10.1 remoteip 192.168.10.99-245
My file references the location option /etc/ppp/pptpd-options for which you can make a few tweaks, here however I simply added in the Google DNS
ms-dns 126.96.36.199 ms-dns 188.8.131.52
Now to make the users, which is found in /etc/ppp/chap-secrets
# client server secret IP addresses nick pptpd xyzpass 192.168.10.100
Now I had a bit of problem, I believe you should be tab separating this file, I will need to confirm this though.
All that remained is to add in a NAT statement and start the pptp server:
root@ubuntu:/etc/ppp# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
The when configuring your GNS3 chmod your image/project directories to allow your user account access, otherwise its annoying (I find).
Also, you have your own ISO images, right?