Skip to content

Commit

Permalink
fix(xray-reality): flow should only be set for tcp transport
Browse files Browse the repository at this point in the history
  • Loading branch information
khodedawsh committed Jul 16, 2024
1 parent 98c5cc2 commit d2f3ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marznode/backends/xray/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def _resolve_inbounds(self):
settings["fp"] = "chrome"
settings["tls"] = "reality"
settings["sni"] = tls_settings.get("serverNames", [])
if inbound["protocol"] == "vless":
if inbound["protocol"] == "vless" and net == "tcp":
settings["flow"] = XRAY_VLESS_REALITY_FLOW

try:
Expand Down

0 comments on commit d2f3ac4

Please sign in to comment.