centos 安装 proxychains

环境

客户端操作系统:windows10
客户端系统IP:192.168.11.2
软件:*R、vmware
*eR监听端口: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.验证

[root@localhost ~]# 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": "*",
  "region": "Central and Western",
  "country": "HK",
  "loc": "22.2783,114.1747",
  "org": "AS9269 * Broadband Network Ltd.",
  "timezone": "Asia/Hong_Kong",
  "readme": "https://ipinfo.io/missingauth


[root@localhost ~]# 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

上一篇:angular在使用*ngfor时将index放入input框中


下一篇:如何使用schematics快速创建全新的SAP Spartacus Storefront并启用SSR