美文网首页
Linux 让终端走代理的几种方法 代理加速

Linux 让终端走代理的几种方法 代理加速

作者: 虚心的锄头 | 来源:发表于2020-12-23 16:36 被阅读0次

    让终端走代理的几种方法

    使用代理

    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
    

    相关文章

      网友评论

          本文标题:Linux 让终端走代理的几种方法 代理加速

          本文链接:https://www.haomeiwen.com/subject/rthunktx.html