shadowsocks conf

Posted on Posted in proxy

讽刺 转的阿里云

shadows 服务端配置

pip install shadowsocks
ssserver -p 38018 -k password -m rc4-md5 -d start

# 或者使用配置文件

{
    "server":"0.0.0.0",
    "server_port":38018,
    "local_address": "127.0.0.1",
    "local_port":1080,
    "password":"mypassword",
    "timeout":300,
    "method":"rc4-md5"
}

ssserver -c /etc/shadowsocks.json -d start/stop

ssserver -p PORT -k PASSWORD -t 300 --pid-file /var/run/sss.pid --log-file /var/log/shadowsocks.log -m aes-256-cfb -d start

多用户配置

{  
 "server":"0.0.0.0",  
 "local_address": "127.0.0.1",  
 "local_port":1080,  
  "port_password": {  
     "38011": "passwd",  
     "38012": "passwd",  
     "38013": "passwd",  
     "38014": "passwd"  
 },  
 "timeout":300,  
 "method":"rc4-md5",  
 "fast_open": false  
}  

ubuntu 开启 bbr 加速

root@ubuntu ~# sysctl -p
net.core.default_qdisc = fq # 添加两个参数
net.ipv4.tcp_congestion_control = bbr
root@ubuntu ~# sysctl net.ipv4.tcp_available_congestion_control
net.ipv4.tcp_available_congestion_control = reno cubic bbr # 出现这个表示成功
» 转载请注明来源:若我若鱼 » shadowsocks conf

Leave a Reply

Your email address will not be published. Required fields are marked *

11 + eight =