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.
This commit is contained in:
parent
0dca618f85
commit
ff93288d3d
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user