3
192.168.2.4 is a machine running a Squid Proxy on port 3128, and a web server on port 80 only accessible via this proxy.
If I run:
$ curl 192.168.2.4 --proxy 192.168.2.4:3128
It works perfectly and cURL outputs the contents of the homepage. Now, when I try to use ProxyChains:
$ cat proxychains.conf
strict_chain
tcp_read_time_out 15000
tcp_connect_time_out 8000
[ProxyList]
http 192.168.2.4 3128
$ proxychains curl 192.168.2.4
ProxyChains-3.1 (http://proxychains.sf.net)
|S-chain|-<>-192.168.2.4:3128-<><>-192.168.2.4:80-<--denied
curl: (7) Couldn't connect to server
It doesn't work. It seems to connect correctly to the Squid Proxy, but not to the end web server.
Any idea why this would be the case?