Telegram supports two kinds of proxy in its settings: SOCKS5 and MTProto. Both send your Telegram traffic through another server, but they work in different ways. This page explains the differences in plain terms so you can pick the right one.
TelegramProxy.xyz is an independent service, not affiliated with Telegram. We provide MTProto proxies, so we will be clear about where SOCKS5 has the advantage too.
What SOCKS5 is
SOCKS5 is a general purpose proxy protocol. It is old, simple and widely supported. Many apps, including browsers and torrent clients, can use a SOCKS5 proxy, not just Telegram.
A SOCKS5 proxy usually needs:
- a server address
- a port
- often a username and password
SOCKS5 itself does not encrypt your traffic. It only forwards it. Telegram's own encryption still protects your messages inside that connection.
What MTProto proxy is
An MTProto proxy is made only for Telegram. It uses Telegram's own MTProto protocol and needs:
- a server address
- a port
- a secret
There is no username or password. The secret also tells Telegram which mode to use. Modern MTProto proxies use Fake TLS, with a secret that starts with ee.
Head to head comparison
| SOCKS5 | MTProto with Fake TLS | |
|---|---|---|
| Made for | Any app | Telegram only |
| Login | Often username and password | Secret only |
| Proxy handshake | Well known, unencrypted | Starts out looking like normal TLS |
| One tap link in Telegram | Yes (t.me/socks) |
Yes (t.me/proxy) |
| Proxy for calls option | Yes | No |
| Sponsored channel possible | No | Yes, if the operator sets one |
Handling of DPI filters
Deep packet inspection (DPI) is a way for networks to look at traffic and decide what it is. This is where the two protocols differ most.
A SOCKS5 connection starts with a standard handshake that is not encrypted. It is easy for a filter to recognize that someone is using a SOCKS5 proxy.
An MTProto proxy with Fake TLS behaves differently. The first bytes of the connection look like a normal TLS connection to a well known website, the same kind of start you see when a browser opens an HTTPS page. That makes detection by DPI harder.
To be honest about it: harder does not mean impossible. Any proxy can be blocked on some networks. But if your network actively filters proxies, Fake TLS MTProto generally gives you a better starting point than plain SOCKS5.
Setup
Both are easy to add in Telegram.
- iPhone and iPad: Settings > Data and Storage > Proxy > Add Proxy, then choose SOCKS5 or MTProto.
- Android: Settings > Data and Storage > Proxy Settings > Add Proxy, then choose the type.
- Windows, macOS and Linux: Settings > Advanced > Connection type > Use custom proxy, then choose the type.
Both can also be added with a link. MTProto links look like https://t.me/proxy?server=...&port=...&secret=.... Opening one in any Telegram app shows a Connect Proxy dialog. Learn more on our page about Telegram proxy links.
Calls
This is one area where SOCKS5 has an advantage. Telegram's settings include an option to use the proxy for calls, and that option applies to SOCKS5 proxies. With an MTProto proxy, voice and video calls may not go through the proxy, while messages, photos, videos and files do.
If routing calls through a proxy matters most to you, SOCKS5 or a VPN may suit you better.
Using the proxy outside Telegram
SOCKS5 also wins if you want one proxy for several apps. An MTProto proxy only works in Telegram. For many people that is exactly the point: Telegram gets its own path, and nothing else on the device changes.
Sponsored channels
MTProto proxies can show a sponsored channel. Operators register their proxy with @MTProxybot and get a promotion tag. Many free MTProto proxies use this. SOCKS5 has no such feature.
Our paid MTProto proxies show no sponsored channel. More detail is on our sponsored channel page.
Speed and stability
People often ask which protocol is faster. In practice, the protocol matters less than the server, its location, how busy it is and the route from your network. A well run SOCKS5 server and a well run MTProto server can both feel quick. A crowded free proxy of either type can feel slow.
Where the protocol does matter is on networks that filter traffic. There, a SOCKS5 connection may be blocked before speed even becomes a question, while a Fake TLS MTProto connection has a better chance of getting through. That is why we only offer MTProto with Fake TLS.
Credentials and secrets
With SOCKS5, the username and password protect access to the proxy. With MTProto, the secret does the same job. In both cases, anyone who has the full details can try to connect, so keep them private. Our proxies also work on one device at a time, which limits what happens if a link is shared by mistake.
Which one should you pick
Choose SOCKS5 if:
- you want one proxy for several apps
- you need calls to go through the proxy
- your network does not block proxies
Choose MTProto with Fake TLS if:
- you only need Telegram to work
- your network filters or blocks proxies
- you want a simple link without a username or password
What our MTProto proxies include
- Fake TLS (
eesecret) on every proxy - your own secret and your own hostname, such as
k7m2xq.<proxy domain> - the same link if an IP gets blocked, because we move your hostname to a new IP
- no data cap and no sponsored channel
- one device at a time
Shared, $3 per month: your proxy runs on a server IP that a limited number of other customers also use. Dedicated, $5 per month: your own IPv4 address that nobody else uses. Our servers are currently in Europe, in Germany.
You buy inside our Telegram bot. Choose a plan and 1, 3 or 6 months, and pay with USDT on BEP20 (BNB Smart Chain). The proxy activates automatically about a minute after payment.
Privacy
Neither proxy type can read your Telegram messages, because Telegram encrypts traffic between your app and its servers. Secret chats are end to end encrypted. Normal cloud chats are encrypted between your device and Telegram's servers, but not end to end. We do not and cannot read message content.
Try MTProto for yourself
The free trial lasts 24 hours, needs no payment and is limited to one per Telegram account. If you buy the Shared plan afterwards, you keep the same link. You can also compare MTProto proxies with VPNs.