From ff93288d3d5d419be56c4aa28ca5d3eeb95e24ee Mon Sep 17 00:00:00 2001 From: Fuhuang Date: Tue, 3 Jun 2025 22:07:26 +0800 Subject: [PATCH] feat(parse.go): add UDP support for VLESS protocol - Added `UDP: true` to `parseVless` function, enabling UDP support for VLESS protocol in rule-based mode. - This change ensures UDP traffic is proxied in rule-based mode, not just in global mode. --- pkg/adapter/clash/parse.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/adapter/clash/parse.go b/pkg/adapter/clash/parse.go index 507abeb..acc16aa 100644 --- a/pkg/adapter/clash/parse.go +++ b/pkg/adapter/clash/parse.go @@ -60,6 +60,7 @@ func parseVless(data proxy.Proxy, uuid string) (*Proxy, error) { Port: data.Port, UUID: uuid, Flow: vless.Flow, + UDP: true, } setSecurityOptions(p, vless.Security, vless.SecurityConfig) clashTransport(p, vless.Transport, vless.TransportConfig)