cd /usr/local/src
git clone https://github.com/rofl0r/proxychains-ng.git
cd proxychains-ng
./configure --prefix=/usr --sysconfdir=/etc
sudo make
sudo make install
sudo make install-config
cd .. && rm -rf proxychains-ng
2.编辑proxychains配置
sudo vi /etc/proxychains.conf
//将socks4 127.0.0.1 9050改为
socks5 127.0.0.1 1080 //1080改为你自己的端口