EN

MTProto Proxy: what it is and why Telegram needs it

· · The Ateo Digital editorial team

MTProto Proxy is a specialized proxy server for Telegram that runs over MTProto, the transport protocol native to the messenger. It is not a regular HTTP or SOCKS proxy that can carry any traffic: MTProxy can forward only traffic that speaks Telegram’s language. But it does this in a way that makes the stream hard to distinguish from ordinary HTTPS from the outside.

Why it is needed. If Telegram IP addresses are being throttled or blocked in a region or by a specific operator, an MTProto proxy acts as an intermediary: the client connects to the proxy, and the proxy then connects to the messenger’s servers. From the operator’s point of view, this is just a TLS session with some VPS, with no signs that Telegram is inside.

Below: what makes MTProxy different from SOCKS5 and a full VPN, how fake-TLS works, and why Telegram supports this type of proxy natively out of the box.

In brief

  • MTProto Proxy is built specifically for Telegram and is not suitable for general web traffic.
  • It is supported natively by Telegram clients: setup is available from the menu, with no third-party apps.
  • Modern MTProxy servers use fake-TLS — they disguise traffic as HTTPS to a specified domain.
  • SOCKS5 also works in Telegram, but without built-in encryption and is easy for DPI to detect.
  • A VPN additionally routes all traffic through a tunnel — for Telegram alone, this is excessive.
  • The connection is defined by a link like tg://proxy?server=...&port=...&secret=...

How MTProto Proxy is built

Telegram uses its own cryptographic transport, MTProto. The client encrypts packets with an authorization key and sends them to the messenger’s data centers. MTProxy sits in the middle: it receives the client’s MTProto traffic and proxies it onward without decrypting the contents.

Secret and Fake TLS

Each connection is protected by a secret — a 32-byte string known to both the server and the client. Modern versions use Fake TLS: the secret starts with the ee prefix and contains an encoded domain name. During the handshake, the proxy imitates a TLS connection to that exact domain, so from the outside the stream looks like ordinary HTTPS, not like a proxy protocol.

Why a messenger needs its own proxy

Telegram has long operated in conditions where users in some places have IP addresses blocked, and in others entire data-center subnets. To avoid depending on third-party SOCKS proxies, the messenger created its own proxy, tuned for its own protocol. Telegram published the server code on GitHub under the name MTProxy, and the integration is described in the official Proxy documentation.

How it differs from SOCKS5

SOCKS5 is a universal proxy protocol. It can carry any TCP traffic: a browser, a messenger, torrents. It has no encryption and no disguising — DPI immediately sees the characteristic handshake. That is why SOCKS5 in Telegram is now unstable in regions with active filtering.

How it differs from a VPN

A VPN wraps all system traffic in a tunnel: Telegram, the browser, and games. This is convenient as a universal solution, but excessive if the task is only to fix the messenger. MTProxy solves a narrow problem and does not interfere with the rest of the traffic going directly.

When MTProxy makes sense, and when it does not

ScenarioBest optionWhy
Only Telegram does not openMTProto ProxyFixes the messenger specifically and does not touch other traffic
Telegram, YouTube, and ChatGPT do not workVPNOne tunnel covers several services at once
A proxy is needed for several applicationsSOCKS5 or VPNMTProxy only works with Telegram
Strong DPI, regular proxies are blockedMTProto fake-TLSDisguising traffic as HTTPS bypasses most signatures
An old SOCKS5 used to work, but no longer doesSwitch to MTProtoSOCKS5 without encryption is exposed to TSPU (ТСПУ)
Anonymity is needed for the entire deviceVPN, not a proxyA proxy does not cover system traffic or DNS

How to check right now

If an MTProto proxy does not connect, there are usually two reasons: the server itself is down, or the proxy port is blocked by your operator. Both are visible through a comparative check: the same proxy works on one operator and does not work on another — that means the server is not to blame; the network is.

Freedom Checker runs regular availability checks for Telegram and MTProto infrastructure from probes in different regions and on different operators. You can see where the messenger currently opens directly, and where a proxy or VPN is needed.

Check availability with Freedom Checker

Outage or blocking?

An outage is when the proxy server itself is temporarily unavailable: it has crashed, is overloaded, or the VPS payment has run out. Signs: the same proxy does not respond on any operator, Telegram shows Connecting in all chats, and everything recovers after 1–2 hours.

Blocking is when the server is alive, but there is TSPU between you and it cutting off its traffic. Signs: the same proxy works on one operator and does not work on another, the problem does not go away by itself, and switching to an MTProxy with fake-TLS on port 443 helps. In this case, the issue is not the proxy but filtering.

What to watch for

  • MTProxy only works with Telegram — it will not fix the browser.
  • The easiest way to configure a connection is through a link like tg://proxy?... — you do not need to copy the secret by hand.
  • The ee prefix in the secret means fake-TLS; dd means the old basic mode without disguising.
  • Port 443 is the best choice: operators usually do not cut HTTPS traffic.
  • Public MTProxy proxies are short-lived: keep 2–3 backups.
  • Your own MTProxy on a VPS is the most stable option over the long term.
  • A proxy does not replace a VPN if you also need to cover other services.

Conclusion

MTProto Proxy is a highly specialized tool: Telegram only, but with native client support and HTTPS disguising. For the user, it is the simplest way to restore access to the messenger without deploying a VPN for the whole device.

If Telegram does not work for you, first check whether this is a network problem or only on your side. The answer determines whether a proxy is needed at all.

Check now