一、安装

# 启用 stretch-backports 源
nano /etc/apt/sources.list
deb https://deb.debian.org/debian/ buster-backports main non-free contrib

# 更新并安装
apt -y update && apt install shadowsocks-libev

二、配置

nano /etc/shadowsocks-libev/config.json

{
    "server":["::1", "0.0.0.0"], # 服务器 ip 地址
    "local_address": "127.0.0.1",
    "mode":"tcp_and_udp",
    "local_port":1080, # 客户端端口
    "port_password": { # 多用户
    "3333": "pwd_1", # 端口号,密码
    "2333": "pwd_2",
    "6666": "pwd_3",
    },
    "timeout":60, # 超时
    "method":"null" # 加密方式
    "fast_open": false #如果你的服务器 Linux 内核在3.7+,可以开启 fast_open 以降低延迟
}

启动:systemctl start shadowsocks-libev
停止:systemctl stop shadowsocks-libev
状态:systemctl status shadowsocks-libev

Last modification:March 1st, 2020 at 10:39 am
如果觉得我的文章对你有用,请随意赞赏