*** Installation ***
# needs a working C compiler, preferably gcc
cd ~/Download
git clone https://github.com/rofl0r/proxychains-ng
cd proxychains-ng
./configure --prefix=/usr --sysconfdir=/etc #編譯配置,設置bin文件安裝目錄和config文件目
#錄
make #編譯
sudo make install #安裝
sudo make install-config #安裝proxychains.conf配置文件到上面設定的目錄
[optional] sudo make install #最好執行
[optional] sudo make install-config (installs proxychains.conf) #最好執行
if you dont install, you can use proxychains from the build directory like this:
./proxychains4 -f src/proxychains.conf telnet google.com 80 #不執行的結果就是每次都要輸入這麼長的命令
代理參數配置
1.打開配置文件
sudo vim /etc/proxychains.conf
2.修改下面1080端口號,要和你sock5的本地監聽端口對應,我的是改成1080
[ProxyList]
# add proxy here ...
# meanwile
# defaults set to "tor"
socks5 127.0.0.1 1080 #socks4 改成 socks5