shadowsocks服务端和客户端安装

标签: shadowsocks

server配置

  1. $sudo apt install shadowsocks-libev
  2. $sudo vim /etc/shadowsocks-libev/config.json
{
    "server":"<your-public-ip>",
    "server_port":<your-port>,
    "password":"<your-password>",
    "timeout":60,
    "method":"chacha20-ietf-poly1305|aes-128-gcm|aes-192-gcm|aes-256-gcm|chacha20-ietf-poly1305|xchacha20-ietf-poly1305"
}
  1. #systemctl start shadowsocks-libev.service

client配置

  1. $sudo apt install shadowsocks-libev
  2. $sudo vim /etc/shadowsocks-libev/config.json
{
    "server":"<your-public-ip>",
    "server_port":<your-server-port>,
    "local_port":<local-proxy-port>,
    "password":"<your-password>",
    "timeout":60,
    "method":"<same-to-server-method>"
}
  1. #ss-local
build:   __BUILD_VERSION__