Skip to content

proxychains4

proxychains4是新一代的proxychains,非常强大的代理工具,一直用它来设置socks5Linux系统的Terminal代理

Install

git clone https://github.com/rofl0r/proxychains-ng.git proxychains-ng.git
cd proxychains-ng.git
./configure --prefix=/usr --sysconfdir=/etc
make
sudo make install
sudo make install-config

最后一步用来生成配置文件/etc/proxychains.conf

Config

打开/etc/proxychains.conf,将默认的socks4一行修改为

socks5 127.0.0.1 1080

Set alias

.bashrc或是.zshrc中添加一行:

alias supro="sudo proxychains4"

然后执行source ~/.bashrc生效

Examples

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