Ask Your Question

Use yum via socks 4/5 proxy

asked 2013-02-05 05:40:21 +0000

updated 2013-02-05 05:43:44 +0000

I want to use yum via socks proxy. Until now tsocks did job for me. But in Fedora 18 tsocks does not work. I do not know the reason. Is there any alternative for using using yum with socks proxy? Could this be because of firewall blocking the tsocks? I haven't been able to disable dynamic firewall in fed18. Please help.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-02-05 19:41:00 +0000

you can try this for now,

ssh -D8080 user@hostname

then on another terminal setup the http_proxy variable

export http_proxy=

then run yum from the same terminal window

edit flag offensive delete link more

answered 2013-02-08 17:26:47 +0000

Problem solved. I use Privoxy (a http proxy server).

Privoxy is capable of using socks5(atleast tor).

So yum talks to privoxy (an http proxy server) which talks to tor(a socks5 proxy) eliminating the need of tsocks.

For configuring Privoxy to use tor, please refer :


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools



Asked: 2013-02-05 05:40:21 +0000

Seen: 4,933 times

Last updated: Feb 08 '13