Tutorial: SSH Socks Proxy – Being Secure Online

Posted November 13, 2008 // Tagged as Tutorial // 5 Comments ↓

Occasionally, some services like us to be in the presence of America to use their service, or our internet service is down maybe. Maybe your on a unknown wifi channel and want to give yourself a bit more security.

Eh? A proxy in otherwords?

Yes, that’s essentially really what we are doing – for those are confused by a proxy – it’s the middleman between you and the location that you are trying to reach.

Today, i’m going to show you how to use SOCKS, or a SSH Proxy. Now, you will need a web host for this, and it needs to have SSH support for this. I know MediaTemple & Dreamhost do – check with your host just to make sure.

We’ll be doing on this a mac and using Firefox as our browser

So first we need to open the terminal – for those who don’t know where that is:

Finder > Applications > Utilities > Terminal

Now we need your username and address of your server.

ssh -ND 9999 you@example.com

Now, of course you replace this with your credentials which you should. It will then ask you for your password, you should also know this too. For dreamhost – this is the same as your default FTP details.

After you have entered your password, it will not print anything else – it’s job is done and ready.

Setting up FireFox to work with your SSH Proxy.

If everything looks like that, then were good to go! Hit ok, and so if you can load the start of FireFox.

I hope you find this helpful, it’s works for me and I find it useful at WiFi hotspots where sometimes you don’t feel secure. If you have another medthod, please leave a comment or send me an email.

5 Responses

  1. zzap

    November 14th, 2008 at 2:36 am

    Nice guide. I’ve done this with Firefox and my DreamHost server before when I want to view US only content on some websites; very handy.

  2. James Bayliss

    November 14th, 2008 at 2:43 am

    Awesome, Thanks zzap.

  3. zzap

    December 8th, 2008 at 2:07 am

    It doesn’t work with Hulu anymore, though. They do some weird stuff where they run four geoip scripts in the process of loading the video, if you try to debug it. I tried a VPN and Hulu still works fine there, but they seem to be trying pretty hard to block the tunneling.

  4. James Bayliss

    December 8th, 2008 at 3:31 pm

    Yeah, I just tried it now, they must have seeked that they are getting hits from a U.S hosting company.

  5. spascho

    March 5th, 2009 at 2:09 pm

    nice and useful article,it’s very useful for those who use proxy and vpn

Leave a Reply