feat(脚本): reality tcp更改为grpc

pull/656/head
mack-a 2023-03-13 18:19:51 +08:00
parent 61a5ce59ae
commit 7c5b90f8c8
1 changed files with 22 additions and 18 deletions

View File

@ -3140,29 +3140,33 @@ EOF
{ {
"id": "${uuid}", "id": "${uuid}",
"add": "${add}", "add": "${add}",
"flow": "xtls-rprx-vision", "flow": "",
"email": "default_VLESS_reality_Vision" "email": "default_VLESS_reality_Vision"
} }
], ],
"decryption": "none" "decryption": "none"
}, },
"streamSettings": { "streamSettings": {
"network": "tcp", "network": "grpc",
"security": "reality", "security": "reality",
"realitySettings": { "grpcSettings": {
"show": true, "serviceName": "grpc"
"dest": "${realityDestDomain}", },
"xver": 0, "realitySettings": {
"serverNames": [ "show": true,
${realityServerNames} "dest": "${realityDestDomain}",
], "xver": 0,
"privateKey": "${realityPrivateKey}", "minClientVer": "",
"publicKey": "${realityPublicKey}", "serverNames": [
"maxTimeDiff": 70000, ${realityServerNames}
"shortIds": [ ],
"" "privateKey": "${realityPrivateKey}",
] "publicKey": "${realityPublicKey}",
} "maxTimeDiff": 70000,
"shortIds": [
""
]
}
} }
} }
] ]
@ -5773,7 +5777,7 @@ menu() {
cd "$HOME" || exit cd "$HOME" || exit
echoContent red "\n==============================================================" echoContent red "\n=============================================================="
echoContent green "作者mack-a" echoContent green "作者mack-a"
echoContent green "当前版本v2.7.13_reality_beta" echoContent green "当前版本v2.7.14_reality_beta"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent" echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c" echoContent green "描述:八合一共存脚本\c"
showInstallStatus showInstallStatus