Overview of Telegram Proxy Servers

Telegram can use two types of proxy servers: SOCKS5 and MTProto. The proxy server may be either public or private. There are therefore four possibilities.

The user specifies the proxy server in the Telegram client by going to Settings > Data and Storage > Proxy.

For a SOCKS5 proxy server, the information required is the server hostname or IP address, the server port number, and optionally a username and password.

Telegram SOCKS5 proxy specification

For an MTProto proxy server, the information required is the server hostname or IP address, the server port number, and the server “secret.”

Telegram MTProto proxy specification