跳至主要内容

博文

目前显示的是 二月, 2020的博文

一个脚本安装BBR、Shadowsocks、ShadowsocksR

脚本系统支持:CentOS 6+,Debian 7+,Ubuntu 12+ 1、安装git Centos: yum -y install git Ubuntu/Debian: apt-get update && apt-get -y install git 2、获取脚本 git clone https://github.com/suniceman/ss-fly 3、开启BBR加速 ss-fly/ss-fly.sh -bbr 4、一键搭建shadowsocksR ss-fly/ss-fly.sh -ssr shadowsocksR相关命令 启动:/etc/init.d/shadowsocks start 停止:/etc/init.d/shadowsocks stop 重启:/etc/init.d/shadowsocks restart 状态:/etc/init.d/shadowsocks status 配置文件路径:/etc/shadowsocks.json 日志文件路径:/var/log/shadowsocks.log 代码安装目录:/usr/local/shadowsocks 5、一键搭建shadowsocks ss-fly/ss-fly.sh -i ss密码 ss端口 shadowsocks相关命令 启动:/etc/init.d/ss-fly start 停止:/etc/init.d/ss-fly stop 重启:/etc/init.d/ss-fly restart 状态:/etc/init.d/ss-fly status 查看ss链接:ss-fly/ss-fly.sh -sslink 修改配置文件:vi /etc/shadowsocks.json 6、目前推荐使用 AEAD 加密方式 xchacha20-ietf-poly1305 chacha20-ietf-poly1305 aes-256-gcm aes-192-gcm aes-128-gcm 开源页面: https://github.com/suniceman/ss-fly