勾选:
然后:
git clone https://github.com/rofl0r/proxychains-ng.git
./configure --prefix=/home/wangguisen/usr --sysconfdir=/home/wangguisen/etc
make
make install
# 在最后配置成本地代理地址
vim /home/wangguisen/etc/proxychains.conf
socks4 172.16.100.141 7890
如果没⽣成etc/proxychains.conf,直接新建etc/proxychains.conf,粘贴以下内容:
[ProxyList]
socks4 172.16.100.141 7890
vim ~/.bashrc
# 新增:
export PATH=/home/wangguisen/usr/bin:/home/wangguisen/miniconda3/bin:$PATH
alias proxychains4="proxychains4 -f /home/wangguisen/etc/proxychains.conf"
source ~/.bashrc
测试通不通:
proxychains4 telnet google.com 80