Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-17-2008, 09:28 AM   #1
Registered: May 2006
Posts: 69

Rep: Reputation: 15
Socks Configuration in Privoxy

I tunnel HTTP traffic through ssh using putty. I also want to be able to configure my ssh connection in putty to accept Socks requests. I have privoxy running on the other end of my putty ssh tunnel, but when I try to connect to my tunnel with a socks connection it just seems to time out. I looked into enabling Socks in Privoxy but found the documentation confusing. How do I tell Privoxy to accept Socks connection request, or am I going about this completely wrong? Thanks! Mike
Old 04-18-2008, 02:33 AM   #2
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
TMK, privoxy doesn't accept Socks at all. (It is, however, capable of forwarding via Socks4 and Socks4a.) Right now I have this browser set up to use a proxy on localhost which I forward via ssh to another machine running privoxy, which I think is basically what you are wanting to do. My ssh command is:

ssh -n -L 8119: onion@ratel "<commands for remote machine>"
My browser is set to use a proxy on tcp/8119 (for historical -- or hysterical -- reasons) and it forwards that to privoxy listing on tcp/8118 on the remote machine. Privoxy's config file then tells it to send some of the requests directly to the Internet and forward others to tor via Socks4a.

I would assume you would be able to do something similar with putty, but it has been a while since I have looked at it.

I hope this is helpful.

Last edited by blackhole54; 04-18-2008 at 02:36 AM.
Old 04-18-2008, 11:45 AM   #3
Registered: May 2006
Posts: 69

Original Poster
Rep: Reputation: 15
Originally Posted by blackhole54 View Post
I would assume you would be able to do something similar with putty, but it has been a while since I have looked at it.
I had port 3888 forwarded to in putty in order to tunnel my web traffic to privoxy. I added forward port 1080 dynamically in my list of putty forwarded ports and that seemed to make the difference. So apparently I am forwarding those requests on port 1080 to my box at home and somehow it knows what to do with them.
Thanks for the help,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Privoxy - "Privoxy is not being used" from slimjim Linux - Networking 1 03-12-2007 12:07 PM
Privoxy???????? jason.rohde Linux - Networking 0 08-26-2005 10:11 AM
Kopete Problems SOCKS/ PROXY CONFIGURATION tryp Linux - Software 0 06-15-2005 03:34 AM
Socks 5 where ? pakos Linux - Newbie 0 12-23-2004 09:58 AM
Privoxy Mortified Pengu Linux - Software 3 11-28-2004 01:11 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration