content top

Friday, November 9, 2012

SSH Tunneling and Secure web surfing

  SSH Socks5 Proxy set up for Secure Web Browsing away from home

If you have ever been scared to surf the over the internet at an internet cafe like starbucks or Barnes & Nobles…etc I have the perfect and “FREE” way of staying secure while your browsing the web away from your home. I made this for all my Top-Hat-Sec friends who might get some use out of this. Lets begin shall we..

Step 1: You first would want to install Backbox or backtrack…etc on a spare machine.

Step 2: You are going to need to forward your ports for on the spare machine your setting up, so set a static IP on that machine through your network manager. Mine is set to 192.168.0.109 for example. And now well forward port 8080 and port 22 on your router “Make sure you forward the ports to the IP of your spare computer which mine would be once again 192.168.0.109 on port 8080 & 22



Step 3: You’ll want to start the SSH service on either backbox or backtrack in your start menu. Services > SSH > SSH Start

Step 4: once the service is running well be able to go to another computer which is not on your local network and SSH in to the spare computer and be able to use it as a socks5 Proxy to encrypt our traffic and actually be surfing the web through the spare computers connection..
The way we would connect I’ll describe below:
“Note this is on another computer and out of your home network & IP Adress”

Type: root@21.116.178.14 -D 8080

—–> root being whatever user name your using on your account of the spare computer you set up backbox or backtrack on.
—–> 21.116.178.14 being your external IP address of your home network
—–> -D 8080 this creates the dynamic socks proxy using port 8080
Now we’ll need to set up the socks 5 proxy in firefox
Go to Edit > Preference > Network > Settings & click on Manual proxy configuration. Now under socks Host in the little box type 127.0.0.1 and in the port box you’ll want to type in 8080 and click ok..



Now you can check your IP address using www.ipchicken.com and see that your IP has changed and you are now using your home connection to browse the internet.
I hope you guys enjoyed this tutorial and find it of use. Thanks for checking it out Any questions just post them and I’ll try to help you work through it.

Thanks to
n1tr0g3n for this White Paper !

0 Connection:

Post a Comment

content top