mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-29 22:14:50 +03:00
32615e1d76
The Public IPv4/IPv6 hint told operators to leave the field blank so mtg would detect the address itself. mtg-multi has no such detection for the middle proxy: with the field empty it feeds its socket's local address into the middle-proxy key schedule, which only matches what Telegram sees when the public IP sits on the server's own interface. Behind NAT or a Docker bridge the handshake is refused, so every connection of an ad-tagged client spends 5-7 seconds on the middle proxy before falling back to a direct connection, and the sponsored channel never appears. Measured against real Telegram with a tagged and three untagged clients; the untagged ones were unaffected. The hint in all 14 locales now says when blank is correct and when the address must be entered. The two code comments repeating the claim are corrected with it.