Play SSH Trick Freely Part 2

As we said, we can set up a secure Socket 5connection via SSH tool. Then we make our App. like browsers programs go through it. But,,, not all of the browsers support the Socket 5 proxy method. For example, the new generation Google web browser Chrome doesn’t support that.

So we have to make it through. First, the Chrome browser does support the common proxy way — Http proxy. And then, if we can “translate” the socket connection into the http connection, then it works!

The solution is to set up a http proxy in our localhost and let it do the job to help those App. to talk to the remote socket proxy. Then comes to the next tool we need, the Privoxy. Yep, we always use this software to help our Tor proxy services smarter. So we can also do it in this way:

Find the configure file of Privoxy : /etc/privoxy/config (in Ubuntu)
And add this line at the end of the file:

forward-socks5 / 127.0.0.1:7070 .

(don’t miss the “.” at the end of line, that make this route complete)

Easy to see that all the date transfer through the 7070 port will “translate” into the SSH socket 5 proxy service
Save and exit.

Restart the Privoxy :

sudo /etc/init.d/privoxy restart

(in Ubuntu)

And finished…. All you have to do next is to set up your browser’s proxy as http proxy: 127.0.0.1:7070 😉

And BTW, the DNS pollution problem is still needed to be considered.

Dec 27th, 2009 | Posted in Technique
Tags: , ,
No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).