To utilize the proxy on my Ubuntu system, I required the installation of proxychains. Here are the steps I took:
sudo apt-get install proxychains
sudo vim /etc/proxychains.conf ... [ProxyList] socks5 192.xxx.xxx.xxx 1080
sudo vim /usr/bin/proxychains ... #export LD_PRELOAD=libproxychains.so.3 export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libproxychains.so.3
Then I run proxychains curl www.google.com
, the proxy doesn't work but there's no error.
When I run sudo proxychains curl www.google.com
, there's the error:
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libproxychains.so.3' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored. ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libproxychains.so.3' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
How can I fix this issue and run proxychains
successfully? Thanks a lot.