勾选:
然后:
shell
git clone https://github.com/rofl0r/proxychains-ng.git
shell
./configure --prefix=/home/wangguisen/usr --sysconfdir=/home/wangguisen/etc
make
make install
shell
# 在最后配置成本地代理地址
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
shell
vim ~/.bashrc
shell
# 新增:
export PATH=/home/wangguisen/usr/bin:/home/wangguisen/miniconda3/bin:$PATH
alias proxychains4="proxychains4 -f /home/wangguisen/etc/proxychains.conf"
shell
source ~/.bashrc
测试通不通:
shell
proxychains4 telnet google.com 80