v2ray一键脚本:支持WebSocket + TLS,HTTP/2

本文章仅供个人学习记录参考,请勿用于商业传播使用。

Trojan虽好,但是macOS居然没有客户端,所以考虑再配置一个基于谷歌云的v2ray,当然要WS+TLS / HTTP2的传输协议更稳定些。

要求:Ubuntu 16+ / Debian 8+ / CentOS 7+ 系统
推荐使用 Debian 9 系统,脚本会自动启用 BBR 优化。
备注:不推荐使用 Debian 8 系统,因为 Caddy 申请证书可能会出现一些莫名其妙的问题。

一键脚本:

bash <(curl -s -L https://git.io/v2ray.sh)

如果提示 curl: command not found ,那是因为你的 VPS 没装 Curl
ubuntu/debian 系统安装 Curl 方法: apt-get update -y && apt-get install curl -y
centos 系统安装 Curl 方法: yum update -y && yum install curl -y
安装好 curl 之后就能安装脚本了

这个一键脚本没有支持魔改bbr或者bbrplus,补上一键脚本:

cd /usr/src && wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

速度好像也就这么回事,最近疫情管控是比较严格,速度等疫情过后再看看,能用即可。


2020.2.29补充一个大神的脚本v2ray_ws_tls1.3,需要时间比较长,可选择。

curl -O https://raw.githubusercontent.com/atrandys/v2ray-ws-tls/master/v2ray_ws_tls1.3.sh && chmod +x v2ray_ws_tls1.3.sh && ./v2ray_ws_tls1.3.sh

类似文章

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注