You are not logged in.

#1 2011-10-09 08:55:06

krax
Member
From: Tory;Mi
Registered: 2010-06-26
Posts: 62
Website

Pacman with Socks Proxy

I am on very restricted wi-fi connection which is limit all access to git or mercurial repositories directly. So i made myself a ssh connection and runs it with gstm.
now i have two problems:
@First; how could I make pacman use 127.0.0.1:6666 for a socks proxy
@the second; adding XferCommand = /usr/bin/curl --socks5 127.0.0.1:6666 %u > %o to the pacman doesn't help with YAOURT command or makepkg. how could i make yaourt also uses the socks proxy?

If someone be kind enough to help me with this it would be more than great because more than the fare share of packages in AUR  are sourced on git servers and i cant installed them using yaourt or makepkg.

thanks 
PS: i mean how make yaourt foo uses the 127.0.0.1:6666 all the way long up to the end from downloading the source and so on.

Last edited by krax (2011-10-09 09:03:59)

Offline

#2 2011-10-09 11:32:59

dschrute
Member
From: NJ, USA
Registered: 2007-04-09
Posts: 183

Re: Pacman with Socks Proxy

tsocks lets you use a socks proxy with programs that don't support that natively.  See it's project page for info on using it.

Offline

#3 2011-10-11 07:38:50

retry
Member
Registered: 2010-05-21
Posts: 9

Re: Pacman with Socks Proxy

Or use privoxy http proxy which directs everything to socks proxy.

Offline

#4 2016-01-05 16:17:47

gccplus
Member
Registered: 2015-12-31
Posts: 3

Re: Pacman with Socks Proxy

proxychains do the same job. but I'm still wondering if there is a way yaourt or pacman can only use the proxy setting only when the dead link happened.

Offline

#5 2016-01-06 20:57:40

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,973
Website

Re: Pacman with Socks Proxy

Please don't necrobump, gccplus.

https://wiki.archlinux.org/index.php/Fo … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB