Setting up VPN with OpenSSH
Posted: April 28th, 2008 | Filed under: Umum | 6 Comments »most of you is already familiar with http proxy and squid, but just a little people that dont know what exactly is socks proxy (including me). PuTTy connected to some linux host that running OpenSSH can be a socks 5 proxy, that will route all the traffic to the internet to the linux host running openssh, that linux host is functioning like proxy
here thing that i use during the testing:
1. PuTTy (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
2. Linux Box running OpenSSH
3. FreeCap (http://www.freecap.ru/files/freecap_3.16-src.zip) (needed by some application that dont support socks 5 proxy)
And here the step to configure Socks5 :
1. open your putty then fill the server address but dont connect yet
2. configure the connection -> SSH -> Tunnels with :
Add new Forwarded Port, Enter Port 7070 (for example) in “Source Port” and check the Dynamic and Auto Radio button in the bottom then click Add
3. Connect to the linux host
4. as long as the putty is running, the socks proxy will stay running
then if the program support the connection using socks proxy, then you can connect to the localhost (127.0.0.1) with port 7070 as example above
if your program dont support socks proxy connect, then you will need the freecap, configure the freecap option to connect socks5 proxy at 127.0.0.1 and port 7070, then provide information about the program executable file and the working directory, after that, you is can run the program within the freecap to connect to the socks proxy
this is that i can write for today, thanks for reading
——–
dikopipes dari sini http://noc.binus-access.com/blog/yani/?p=3#more-3
Recent Comments