proxychains icon indicating copy to clipboard operation
proxychains copied to clipboard

PROXYCHAINS_SOCKS5 example didn't work

Open dandv opened this issue 11 years ago • 7 comments

I have set up an ssh tunnel using ssh -D, but PROXYCHAINS_SOCKS5=4321 proxychains <application> still read its configuration from /etc/proxychains.conf (unlike what the README says)

dandv avatar Nov 18 '13 07:11 dandv

Same here.

aviau avatar Sep 13 '20 19:09 aviau

Thanks, that helped me figure out what was not working!

phil-blain avatar Nov 26 '20 22:11 phil-blain

Same here

carlosaguilarmelchor avatar Feb 01 '21 08:02 carlosaguilarmelchor

is there any solution to this?

1moere1 avatar Sep 30 '21 12:09 1moere1

Perhaps because the environment variable name is changed from PROXYCHAINS_SOCKS5 to PROXYCHAINS_SOCKS5_HOST and PROXYCHAINS_SOCKS5_PORT. In my local, using tag proxychains-proxychains-4.4.0, following command works.

$ PROXYCHAINS_SOCKS5_HOST=127.0.0.1 PROXYCHAINS_SOCKS5_PORT=18080 proxychains4 nc 192.168.1.1 80

BlueSkyDetector avatar May 03 '22 16:05 BlueSkyDetector

@BlueSkyDetector Does the curl ifconfig.io returns the IP of server after setting: PROXYCHAINS_SOCKS5_HOST=127.0.0.1 PROXYCHAINS_SOCKS5_PORT=18080 proxychains4 nc 192.168.1.1 80? For me it doesn't do anything. I opened this issue https://github.com/haad/proxychains/issues/148 and I wonder can i fix it? (by the way, I have change the proxychain.conf so that it has socks5 127.0.0.1 8080, I am using 8080 instead of 18080)

qaiwiz avatar Feb 10 '23 13:02 qaiwiz