feat(proxy): tcp-режим для xray/sing-box поверх turn
This commit is contained in:
1 parent
e63279db18
commit
f7129099f7
60 files changed
+2953
-135
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user