让终端走代理的几种方法
使用代理
wget https://github.com/coyove/goflyway/releases/download/2.0.0rc1/goflyway_linux_amd64.tar.gz
tar xf goflyway_linux_amd64.tar.gz
./goflyway -up="ip:prot" -g -k="password"
udp 加速 (可选)
wget https://github.com/xtaci/kcptun/releases/download/v20201126/kcptun-linux-amd64-20201126.tar.gz
tar xf kcptun-linux-amd64-20201126.tar.gz
client_linux_amd64 -l :9527 -r ip:prot -key "password" -crypt aes -nocomp -sndwnd 512
./goflyway -up="ip:9527" -g -k="password"
临时设置
export http_proxy=http://127.0.0.1:8100
export https_proxy=http://127.0.0.1:8100
网友评论