When using an MTProto proxy in Telegram, one of the most convenient methods is the "one-click link." These links start with https://t.me/, and users only need to click them to automatically import the proxy settings—no need to manually input the IP, port, or secret. This guide will show you step-by-step how to generate such a link.

What is an MTProto Link?

An MTProto link is a specially formatted URL that allows users to quickly import proxy settings into Telegram. The format is as follows:

https://t.me/proxy?server=your_server_address&port=your_port&secret=your_secret

For example:

https://t.me/proxy?server=example.com&port=443&secret=ee1230f1234567890abcdef

Parameter Explanation

server: Your MTProto proxy server address (domain or IP).
port: The proxy port number, typically 443, 80, or 8443.
secret: The secret key used for authentication and encryption.

There are two types of secret formats:

- Plain mode (non-TLS obfuscation): Starts with ee, e.g., ee1234567890abcdef...
- TLS obfuscation mode (WebSocket): Starts with dd, e.g., ddabcdef1234567890abcdef.... Suitable for bypassing network restrictions, but requires server-side support.

How to Generate the Link?

You can construct the link manually or follow these simple steps:

1. Prepare your MTProto node info (IP/domain, port, secret)
2. Fill these values into the link format
3. Example link structure:

https://t.me/proxy?server=1.2.3.4&port=443&secret=eeaabbccdde122334455667788

Optionally, you can use a URL encoding tool to handle special characters and ensure the link remains valid and usable.

How to Share?

Share the generated link with other Telegram users. When they click it, the proxy will be added automatically — no manual setup required. This is ideal for:
- Promoting proxy services
- Distributing proxy nodes to teams or businesses
- Creating webpage buttons or QR codes (using third-party tools)

Bonus: Can It Be Used with QR Codes?

Yes! You can turn your MTProto link into a QR code, allowing users to connect by simply scanning with their Telegram app. Many online tools like QR generators support converting https://t.me/proxy?... links into QR codes.

Conclusion

MTProto proxy links offer a convenient and efficient way to configure proxies. With just one link, users can instantly connect to Telegram. By understanding the link structure and how to generate it correctly, you can easily use and share proxies with others.

If you need to generate links in bulk, add TLS obfuscation, or create webpage buttons, consider exploring advanced MTProxy configurations or using third-party automation tools.