网站制作学习网经验与学习→正文:软件shadowsocks使用
字体:

软件shadowsocks使用

经验与学习 2025/12/18 14:37:00  点击:不统计

<本文原载于www.forasp.cn>

 今天学习了一下shadowsocks在ubuntu 系统的配置
1. 安装:
   sudo apt update
sudo apt install shadowsocks-libev -y
   
 
2. 修改配置
/etc/shadowsocks-libev/config.json
   {
"server": ["0.0.0.0"],
"server_port": 1080,
"password": "password",
"timeout": 300,
"method": "aes-256-gcm",
"fast_open": true,
"reuse_port": true,
"mode": "tcp_and_udp",
"no_delay": true
}
   
 
server: 允许连接地址
server_port 是端口
password 密码 
method 加密方式, 建议使用 chacha20-ietf-poly1305
fast_open: 减少首次连接延迟
mode 通信协议 
reuse_port 多核心cpu 端口重用高并发下延迟明显降低
no_delay: 每个数据包立即发送,不合并
 
3. 连接时 选择对应连接即可。

%77w%77%2E%66%6F%72%61%73%70%2E%63%6E

·上一篇:ubuntu安装指定版本RabbitMQ >>    ·下一篇:网站制作学习网
推荐文章
最新文章