English
Ask Your Question
0

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 delete

2 Answers

Sort by ยป oldest newest most voted
0

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 :

http://www.privoxy.org/faq/misc.html#TOR

edit flag offensive delete publish link more
0

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=http://127.0.0.1:8080

then run yum from the same terminal window

edit flag offensive delete publish link more

Comments

But in this process where shud I put my socks5 proxy???

rohitsd ( 2013-02-08 04:37:57 +0000 )edit

when you set the http_proxy variable, yum will check it when running, in the above example you set your machine port 8080 as the proxy

The IceMan Blog ( 2013-02-08 13:42:21 +0000 )edit

Nope not working. Can you specify exact steps to make yum use tor's socks proxy? Assume socks proxy as 127.0.0.1:9050.

rohitsd ( 2013-02-08 15:35:11 +0000 )edit

Nope not working. Can you specify exact steps to make yum use tor's socks proxy? Assume socks proxy as 127.0.0.1:9050.

rohitsd ( 2013-02-08 15:35:13 +0000 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

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 to your questions.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question tools

Follow
2 followers

Stats

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

Seen: 2,519 times

Last updated: Feb 08 '13