mirror of https://github.com/mack-a/v2ray-agent
feat(脚本): 增加anytls展示
parent
e1ff4d189d
commit
adae359ca4
|
@ -5545,6 +5545,9 @@ EOF
|
|||
elif [[ "${type}" == "anytls" ]]; then
|
||||
echoContent yellow " ---> AnyTLS"
|
||||
|
||||
echoContent yellow " ---> 格式化明文(AnyTLS)"
|
||||
echoContent green "协议类型:anytls,地址:${currentHost},端口:${singBoxAnyTLSPort},用户ID:${id},传输方式:tcp,账户名:${email}\n"
|
||||
|
||||
echoContent green " anytls://${id}@${currentHost}:${singBoxAnyTLSPort}?peer=${currentHost}&insecure=0&sni=${currentHost}#${email}\n"
|
||||
cat <<EOF >>"/etc/v2ray-agent/subscribe_local/default/${user}"
|
||||
anytls://${id}@${currentHost}:${singBoxAnyTLSPort}?peer=${currentHost}&insecure=0&sni=${currentHost}#${email}
|
||||
|
|
Loading…
Reference in New Issue