vless协议:https://github.com/v2ray/v2ray-core/issues/2636
若你正在使用 TLS,简单地将 VMess 改为 VLESS 就可以获得性能提升。
不过支持wless协议的客户端目前还不是很多。
服务端和客户端都需要4.27以上版本。
服务端配置文件例子:
{
"log": {
"loglevel": "info",
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log"
},
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "UUID"
}
],
"decryption": "none",
"fallback": {
"port": 80
}
},
"streamSettings": {
"network":"tcp",
"security": "tls",
"tlsSettings": {
"alpn": [
"http/1.1"
],
"certificates": [
{
"certificateFile": "/usr/local/etc/v2ray/fullchain.pem",
"keyFile": "/usr/local/etc/v2ray/privkey.pem"
}
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}
上一篇:
gclone转存文件到谷歌团队盘下一篇:
epic自动领取游戏脚本