Quick and dirty VPN? (Linux to linux) [closed]
I have EC2 Ubuntu server which I would like to use as VPN gateway, I'm looking to do geoip targeting test and using a machine with US IP is a must.
My client machine is Ubuntu 11.04.
Any ideas, it doesn't have to be scalable or highly reliable - Quick and dirty would be great.
Please note that I'm looking mainly to do HTTP access so a working SOCKS5 proxy would be just as good.
What you're looking for is sshuttle. Here's a quick guide to get started.
From the readme:
The most basic use of sshuttle looks like:
./sshuttle -r username@sshserver 0.0.0.0/0 -vv
If you would also like your DNS queries to be proxied through the DNS server of the server you are connect to:
./sshuttle --dns -vvr username@sshserver 0/0
on your client:
ssh -ND 5555 remoteserver.com
and then use localhost:5555 in your browser as a SOCKS5 server.
OpenVPN
http://openvpn.net/index.php/open-source.html
..if you don't want to ssh, N2N is quite good and there are some ubuntu packages in the repositories.