Bookmark, share, and hop your favorite sites with SiteHoppin Toolbar for Firefox!

DIY Proxy HACK - How to Proxy Firefox through SSH!

Posted in Cool, DoItYourself!, Educational, Entertainment, Hack, Web, WebApp by max on the April 14th, 2008 at 1:33 pm

I know there are many ways to build a proxy on your web server. In college, they make you make a proxy server from scratch. Well, anyways, I site hopped onto one of these cool little howtos on how to proxy firefox through your SSH:

    PuTTY on local machine
    Remote host running OpenSSH
    sh -D 7070 username@host.com

    1. Create a new PuTTY session

    Run PuTTY and create a new session in PuTTY to connect to the remote host that is running OpenSSH. Fill in the hostname, the port (usually 22), make sure SSH is checked, give it a session name and hit Save.

    2. Configure a secure tunnel
    Click on “Tunnels” on the left and set up dynamic fowarding for a local port (e.g. 7070). Under “Add new forwarded port” type in 7070 for the source port, leave the destination blank, and check Auto and Dynamic. Then it the Add button. If you did it correctly, you’ll see D7070 listed in the Forwarded Ports box.

    That’s it for tunnels, as there is no need to create more than one. Remember to save your session profile in PuTTY so you don’t have to set up the tunnel next time.

    3. Connect to the remote SSH box
    Double click on the connection profile and type in your username and password when prompted.

    4. Configure Firefox
    Go to Tools, Options, General, and then click on Connection Settings.

    Check Manual Proxy Configuration, leave most of the fields blank, but fill in 127.0.0.1 for the SOCKS v5 host with a port of 7070 (or whatever you used in Step 2).

    5. Enjoy
    That’s it. From now on, as long as you first log into the remote ssh host with PuTTY, your Firefox and IM traffic will be routed over a secure tunnel to the remote host and then out to the Net. Good stuff.

    Note:

    Use Pidgin with these settings for your IM needs.

    Use Thunderbird with these settings for email.

    If you’re using linux, skip the first three steps and run

    via techtest

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


Related Posts

Bookmark It!


|del.icio.us |Digg it |Netscape |SiteHoppin |Wagg It | Email this to a Friend Email This Post Email This Post

If you like this post then please subscribe to my full feed RSS. You can also subscribe by Email.

Got a new hack, DIY, howto, or gadget? Tip us here.

Search for a new Hack:



RSS feed

1 Comment »

Comment by david cheong Subscribed to comments via email
2008-04-15 02:06:36

This is something i should try it out. But does it only workable in certain country only?

MyAvatars 0.2
 
Name (required)
E-mail (required - never shown publicly)
URI

Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.