Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vps 搭建 Shadowsocks #5

Open
yijinc opened this issue May 19, 2019 · 0 comments
Open

vps 搭建 Shadowsocks #5

yijinc opened this issue May 19, 2019 · 0 comments
Labels
blog blogs and articles tutorials some tutorials or tools

Comments

@yijinc
Copy link
Owner

yijinc commented May 19, 2019

登录 vps

ssh root@vps_ip -p ssh_port

安装 shadowsocks

wget --no-check-certificate -O shadowsocks-all.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh

chmod +x shadowsocks-all.sh

./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log

根据命令提示选择 至完成。

启动/配置

ssserver -c /etc/shadowsocks-python/config.json -d start
# 更多命令查看 ssserver --help

客户端下载 macos

TCP BBR 拥塞控制算法(加速优化)

TCP BBR 是 Google 开源的 拥塞控制算法,类似锐速的单边加速工具。由于受到各方面限制,国外的vps速度不理想,偶尔有延迟、不稳定的现象出现。而bbr的作用,就是要解决这一问题

使用root用户登录,运行以下命令:

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh

chmod +x bbr.sh

./bbr.sh

安装完成后,脚本会提示需要重启 VPS,输入 y 并回车后重启。重启后,执行命令:

lsmod | grep bbr

返回值有 tcp_bbr 模块即说明bbr已启动。

参考:

@yijinc yijinc added blog blogs and articles tutorials some tutorials or tools labels Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blog blogs and articles tutorials some tutorials or tools
Projects
None yet
Development

No branches or pull requests

1 participant