Has anyone gotten proxychains to work?

2,146 views
Skip to first unread message

Manish Goregaokar

unread,
Nov 8, 2012, 7:16:03 AM11/8/12
to wncc...@googlegroups.com
Proxychains is an application that lets you run any program through a proxy.

I've been trying to get it to work with the IITB network, but not succeeding (some DNS issues I think). Most of the resources on the internet are about using it with the Tor SOCKS proxy.

Has anyone gotten it to work with netmon?

-Manish

Sudarshan Wadkar

unread,
Nov 9, 2012, 6:30:58 AM11/9/12
to wncc...@googlegroups.com
it used to work like a charm, but you have to setup the environment properly (LD_LIBRARY_PATH, IIRC)

-Sudhi


--
--
The website for the club is http://stab-iitb.org/wncc
To post to this group, send email to wncc...@googlegroups.com
 
 
 

Manish Goregaokar

unread,
Nov 9, 2012, 6:38:25 AM11/9/12
to wncc...@googlegroups.com
Exactly what is to be done? Any links? I've tried messing around with proxychains and proxychains4. Can't get them to work. I'd rather not chain with an external proxy, I want proxychains to just force the app through netmon.

-Manish

Sudarshan Wadkar

unread,
Nov 9, 2012, 7:48:56 AM11/9/12
to wncc...@googlegroups.com
netmon isn't the only proxy server in the institute, or is it?

-Sudhi ;)

Manish Goregaokar

unread,
Nov 9, 2012, 8:07:59 AM11/9/12
to wncc...@googlegroups.com
Tried with cse, tried with a local squid server. Local squid works fine when placed directly in firefox's proxy settings. When I run `proxychains firefox` (and open Google), I get:
|S-chain|-<>-127.0.0.1:3128-<><>-74.125.236.114:80-<--denied

With proxychains4, I get 
[proxychains] Strict chain  ...  127.0.0.1:3128  ...  74.125.236.115:80 <--denied

The proxy conf file is:

strict_chain
#proxy_dns
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
[ProxyList]

http 127.0.0.1 3128


When proxy_dns is uncommented, firefox still doesn't work, though I get no output on the command line.

-Manish

ɹɐʞoɐƃǝɹoƃ ɥsıuɐɯ-

Sudarshan Wadkar

unread,
Nov 9, 2012, 8:38:22 AM11/9/12
to wncc...@googlegroups.com
interesting, we would simply chain the local Socks with dept (w/o auth?) proxy and it would work. see if you can dig more in the verbose/debug mode of proxychains
ohh, i just remembered, proxy chains has its own resolv conf file which lives in the /usr/lib/proxychains. I don't remember its name, but try and put 10.200.1.11 there and see if it works out

-Sudhi

Manish Goregaokar

unread,
Nov 9, 2012, 9:44:05 AM11/9/12
to wncc...@googlegroups.com
Nope, still not working.

You're talking about a local SOCKS proxy (squid only does http), how would I make that? Is there a SOCKS proxy in the insti? Or are you talking about a normal ssh socks tunnel?
-Manish
On Fri, Nov 9, 2012 at 7:08 PM, Sudarshan Wadkar <wad...@gmail.com> wrote:
10.200.1.11

Manish Goregaokar

unread,
Nov 9, 2012, 10:12:36 AM11/9/12
to wncc...@googlegroups.com
Tried using 
socks4 127.0.0.1 8888
http netmon.iitb.ac.in .......
after opening an ssh SOCKS proxy on port 8888. Still not working.

ɹɐʞoɐƃǝɹoƃ ɥsıuɐɯ-

ramprasad sedouram

unread,
Nov 9, 2012, 10:31:06 AM11/9/12
to wncc...@googlegroups.com
somebody pls unsubscribe me from this group and its updates... pls

Sudarshan Wadkar

unread,
Nov 9, 2012, 12:23:23 PM11/9/12
to wncc...@googlegroups.com
@ramprasad
prey, can you please send an email to wncc_iitb+...@googlegroups.com ?
I am quite sure this group is not meant for people who find it challenging to unsubscribe from it
I can only imagine how you found your way in

@Manish
divide an conquer!
try with plain simple http 10.200.13.50 80
avoid domain names, use IP addresses (much better anyways)
if it works, chain your dept proxy, and so on and on
then look into dns resolution problem, I always forward the request
as for the socks proxy; i think they stopped working a while ago (a year?)
or there is no need for them (one can directly ssh outside now, or so I have been told)
proxychain will not work for a proxy which can not work on its own

BTW, just curious, you seem to know your way around the network already
so are you just poking around for fun or you have something else in mind?
maybe there's alternative (tsocks?) which might do the trick for you
of course, this is all within the boundaries of firewalls and proxies, right? :P

-Sudhi

Manish Goregaokar

unread,
Nov 9, 2012, 12:45:35 PM11/9/12
to wncc...@googlegroups.com
@simple http 10.200.13.50 been there, done that. Firefox doesn't work. Why would I chain it with other proxies? And I don't have a department login yet (I tried using mars ids on the cse proxy--doesn't work. And I don't have a phy account).

@ssh Yep, direct SSH (well, SSH via netmon) outside the insti is allowed now--I use it to access the Wikimedia Toolserver. I tried SOCKSing it (ssh -D) --proxychains still doesn't work, but tsocks does. Issue is, I need to use tsocks/proxychains for Google Music Manager, and I'll be downloading/uploading heavily. I'd rather not do that through my Wikipedia ssh account, it's not really for personal use.

@network Well, I'd like to get all my applications working through the proxy, that's all :) But I'm poking around for fun as well :)

-Manish
Reply all
Reply to author
Forward
0 new messages