box VPN server that works at once (at least on a mac)
for hulu and iplayer.
==========================================
SETTING UP VPS.NET SERVER AS A VPN SERVER
==========================================
For using hulu.com select a VPS on the US cluster
For using bbc.com/iplayer select a VPS on the UK cluster
Create a new virtual machine on VPS.NET
Select "Ubuntu 8.04 LTS 64-bit Basic Installation"
For this instructions we assume your virtual server has IP: 83.170.XXX.XXX
(replace with the real ip number everywhere
shh [email]root@83.170.XXX.XXX[/email]
And login as root
Following these commands and instructions
==== Update ubuntu ====
apt-get update apt-get upgrade apt-get install joe apt-get install pptpd
joe /etc/pptpd.conf localip 192.168.0.1 remoteip 192.168.0.2-254
hold ctrl and press k-x to save
==== Insert the name servers for ns1.uk2.net and ns2.uk2.net ====
joe /etc/ppp/pptpd-options ms-dns 83.170.64.2 ms-dns 83.170.69.2
hold ctrl and press k-x to save
==== Create 2 test users ====
joe /etc/ppp/chap-secrets user1 pptpd password1 * user1 pptpd password2 *
hold ctrl and press k-x to save
==== Setup routing for vpn server ====
joe /etc/sysctl.conf net.ipv4.ip_forward=1
hold ctrl and press k-x to save
joe /etc/rc.local (insert before exit 0 and replace 83.XXX.XXX.XXX with your VPS IP number) iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -d ! 192.168.0.0/24 -j SNAT --to-source 83.XXX.XXX.XXX
hold ctrl and press k-x to save
==== Restart and we are done ====
shutdown -r now
Now you can login with VPN over PPTP with
user1/password1 or user2/password2
This post has been edited by uk2: 15 September 2009 - 02:09 PM

Help
This topic is locked













