安装v2ray: bash <(curl -s -L https://git.io/v2ray.sh)
bbr加速(安装完后要重启) wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh
# iptables 放行端口(适用于CentOS 6/7) iptables -I INPUT -p tcp --dport 23581 -j ACCEPT
# 设置开机启动 systemctl enable v2ray
# 运行v2ray systemctl start v2ray
来源:oschina
链接:https://my.oschina.net/u/3734816/blog/3211215