Neurohazard
暮雲煙月,皓首窮經;森羅萬象,如是我聞。

proxychains-ng 简易使用

wpadmin~April 1, 2019 /System Management

Contents

proxychains 简易使用

安装

git clone https://github.com/rofl0r/proxychains-ng.git
cd proxychains-ng
./configure
make && make install
cp ./src/proxychains.conf /etc/proxychains.conf
cd .. && rm -rf proxychains-ng

配置 proxychains

sudo vim /etc/proxychains.conf

# 将socks4 127.0.0.1 9095改为
socks5  127.0.0.1 1080  //1080改为你自己的端口

使用

在需要代理的命令前加 proxychains

proxychains4 repo sync -j8
proxychains4 wget http://xxx.com/xxx.zip

ss 配置文件样例

提前运行 [screen] sslocal -c /etc/shadowsocks/ss1.json

{
    "server":"remote-shadowsocks-server-ip-addr",
    "server_port":443,
    "local_address":"127.0.0.1",
    "local_port":1080,
    "password":"your-passwd",
    "timeout":300,
    "method":"chacha20-ietf",
    "fast_open":false,
    "workers":1
}

Leave a Reply

Your email address will not be published. Required fields are marked *