当前位置:首页>帮助中心>利用proxychains在终端使用socks5代理

利用proxychains在终端使用socks5代理

日期:2021.12.23 作者:haiwaiip

proxychains安装

sudo apt-get install proxychains

也可以下载源代码来安装

  1. git clone https://github.com/rofl0r/proxychains-ng.git
  2. cd proxychains-ng
  3. ./configure
  4. make && make install
  5. cp ./src/proxychains.conf /etc/proxychians.conf
  6. cd .. && rm -rf proxychains-ng

编辑proxychains配置

  1. vim /etc/proxychains.conf

将socks4 127.0.0.1 9095改为

  1. socks5 127.0.0.1 1080 //1080改为你自己的端口

使用方法

在需要代理的命令前加上 proxychains4 ,如:

  1. proxychains4 wget http://xxx.com/xxx.zip
+852 67287684
cangyun2020@126.com