feat(xray): add hysteria v2 inbound and VLESS encryption support

This commit is contained in:
xboard
2026-03-30 16:55:02 +08:00
parent 19aa20be87
commit f7ce8f22d4
5 changed files with 75 additions and 4 deletions
+4
View File
@@ -460,6 +460,10 @@ func buildVMess(base M, nc *panel.NodeConfig, users []panel.User, certFile, keyF
}
func buildVLESS(base M, nc *panel.NodeConfig, users []panel.User, certFile, keyFile string) M {
if nc.Decryption != "" && nc.Decryption != "none" {
nlog.Core().Warn("sing-box does not support VLESS encryption (decryption), use xray kernel for this feature")
}
base["type"] = "vless"
userList := make([]M, 0, len(users))