1 安装
1 | sudo apt install proxychains4 |
2 配置
1 | sudo vim /etc/proxychains4.conf |
3 注释掉 socks4 127.0.0.1 那一行,在最后加上代理工具的设置
1 | socks5 127.0.0.1 1080 |
4 使用
在需要使用代理的命令前加上 proxychains4 例如:
1 | proxychains4 git clone https://github.com/xxx/xxx.git |
1 安装
1 | sudo apt install proxychains4 |
2 配置
1 | sudo vim /etc/proxychains4.conf |
3 注释掉 socks4 127.0.0.1 那一行,在最后加上代理工具的设置
1 | socks5 127.0.0.1 1080 |
4 使用
在需要使用代理的命令前加上 proxychains4 例如:
1 | proxychains4 git clone https://github.com/xxx/xxx.git |