feat(proxy): tcp-режим для xray/sing-box поверх turn

This commit is contained in:
samosvalishe committed 2026-08-25 15:44:16 +03:00
1 parent e63279db18
commit f7129099f7
60 files changed
+2953 -135

No files matched your search

+4
View File
@@ -43,6 +43,10 @@ func ClientArgs(c *Client) []string {
if c.TURN.TransportUDP != def.TURN.TransportUDP {
add("-transport", TransportUDP)
}
if c.Proxy.Mode != def.Proxy.Mode {
add("-mode", string(c.Proxy.Mode))
}
args = append(args, kcpArgs(c.KCP.Profile, def.KCP.Profile)...)
if c.Obf.Enabled() {
add("-obf-profile", string(c.Obf.Profile))
add("-obf-key", hex.EncodeToString(c.Obf.Key))