天天看點

centos 安裝 proxychains環境安裝步驟感謝

環境

用戶端作業系統:windows10
用戶端系統IP:192.168.11.2
軟體:ShadowsocksR、vmware
shadowsockeR監聽端口:1080
vmware虛拟機:centos 7
虛拟機IP:192.168.11.128
           

安裝步驟

1.安裝git

yum -y install git
           

2.安裝make環境

yum -y install gcc automake autoconf libtool make
           

3.下載下傳proxychains4

git clone https://github.com/rofl0r/proxychains-ng.git
           

4.編譯配置檔案

cd proxychains-ng

然後
./configure

編譯安裝
make && sudo make install
           

5.提取配置檔案

cp ./src/proxychains.conf /etc/proxychains.conf
           

6.請理安裝包

cd .. && rm -rf proxychains-ng
           

7.編輯配置檔案

vi /etc/proxychains.conf
           

後一行修改最為

socks5 192.168.11.2 1080
           

8.驗證

[[email protected] ~]# proxychains4 curl ipinfo.io
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/local/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.14-git-36-g6c029fd
[proxychains] Strict chain  ...  192.168.88.163:1080  ...  ipinfo.io:80  ...  OK
{
  "ip": "58.176.205.229",
  "hostname": "058176205229.ctinets.com",
  "city": "Hong Kong",
  "region": "Central and Western",
  "country": "HK",
  "loc": "22.2783,114.1747",
  "org": "AS9269 Hong Kong Broadband Network Ltd.",
  "timezone": "Asia/Hong_Kong",
  "readme": "https://ipinfo.io/missingauth


[[email protected] ~]# proxychains4 curl http://myip.ipip.net
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/local/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.14-git-36-g6c029fd
[proxychains] Strict chain  ...  192.168.88.163:1080  ...  myip.ipip.net:80  ...  OK
目前 IP:58.176.205.229  來自于:中國 香港   hkbn.net
           

感謝

centos7 安裝使用proxychains4

繼續閱讀