108 字
1 分钟
Debian 12 安装 shadowsocks-libev

在 Debian 12 上通过 apt 安装 shadowsocks-libev 并配置 systemd 自启。

Terminal window
apt update
apt install -y shadowsocks-libev vim

配置#

编辑#

Terminal window
vim /etc/shadowsocks-libev/config.json

输入#

{
"server": "0.0.0.0",
"server_port": 30201,
"password": "你的强密码123",
"timeout": 300,
"method": "aes-256-gcm",
"fast_open": false,
"nameserver": "8.8.8.8",
"mode": "tcp_and_udp"
}

启动#

Terminal window
systemctl enable shadowsocks-libev
systemctl start shadowsocks-libev
systemctl status shadowsocks-libev

防火墙放行#

Terminal window
ufw allow 30201/tcp

客户端连接示例#

# Shadowrocket / Clash Meta 等客户端配置
server: 你的服务器IP
port: 30201
password: 你的强密码123
method: aes-256-gcm
Debian 12 安装 shadowsocks-libev
https://zhuyuqinlan.top/post/20260719184630/
作者
执着的牛战士
发布于
2026-07-19

评论

发表评论