項目主頁:https://github.com/rofl0r/proxychains-ng
官方說明:
proxychains ng (new generation) - a preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies. continuation of the unmaintained proxychains project.
安裝
使用 Homebrew 安裝
brew install proxychains-ng
配置
vim /usr/local/etc/proxychains.conf
在 [ProxyList] 下面(也就是末尾)加入代理類型,代理地址和端口例如使用 TOR 代理蹂安,注釋掉原來的代理并添加
socks5 127.0.0.1 9050
(本機使用的端口椭迎,自行修改)
如果所在的網絡很復雜,可能需要在配置文件中啟用
dynamic_chain - 按照列表中出現的代理服務器的先后順序組成一條鏈田盈,如果有代理服務器失效畜号,則自動將其排除,但至少要有一個是有效的
然后在 [ProxyList] 下添加多個代理
默認是:
strict_chain - 按照后面列表中出現的代理服務器的先后順序組成一條鏈允瞧,要求所有的代理服務器都是有效的
使用
proxychains4 curl twitter.com
配合 wget 和 curl 來下載简软,非常好用