Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save chenxinlong/cd6c0e2c33a9ec2cfc29b803aa9fe7c0 to your computer and use it in GitHub Desktop.

Select an option

Save chenxinlong/cd6c0e2c33a9ec2cfc29b803aa9fe7c0 to your computer and use it in GitHub Desktop.

Revisions

  1. @deltalt0 deltalt0 created this gist Jun 7, 2018.
    22 changes: 22 additions & 0 deletions 阿里云ecs-ubuntu16.04 ss客户端
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    // 安装客户端
    apt install -y shadowsocks

    // 代理服务器配置, 16.04 tls 上 apt 安装的 ss 客户端仅支持部分加密 method, 比如 aes-256-cfb
    // 建一个配置文件,比如 shadowsocks.json ,写入:
    {
    "server":"代理服务器的ip",
    "server_port":10763,
    "local_address":"127.0.0.1",
    "local_port":1080,
    "password":"密码",
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open":false
    }

    // 启用代理,指定配置文件
    sslocal -c /etc/shadowsocks.json

    // 测试
    https_proxy=socks5://127.0.0.1:1080 curl https://myip.ipip.net