One-liner installer for Telemt — a fast Rust-based MTProto proxy for Telegram with Fake TLS support.
curl -fsSL https://raw.githubusercontent.com/le0nus/mtproxy-setup/master/install.sh | sudo bashOr install with all defaults (no questions asked):
curl -fsSL https://raw.githubusercontent.com/le0nus/mtproxy-setup/master/install.sh | sudo bash -s -- --quickThe interactive installer will ask for:
- Port (default:
443) - TLS masking domain (default:
api.vk.com) — makes traffic look like regular HTTPS to this site
After installation, you'll get a ready-to-use tg://proxy?... link.
- Checks that port 443 is free (offers to stop nginx/angie/apache if needed)
- Installs Docker if not present (via get.docker.com)
- Generates a random 32-byte secret
- Creates config files in
/opt/telemt/ - Pulls and starts the telemt-docker container
- Runs health checks
- Outputs connection links with
ee-prefixed secret (Fake TLS mode)
- Linux (Debian/Ubuntu/CentOS/Fedora)
- Root access
- Free port 443
The installer generates secrets in EE-TLS format:
ee<32-hex-secret><domain-in-hex>
For example, with domain api.vk.com:
ee90016bf9b326136641e186f21b2d14366170692e766b2e636f6d
^^ ^^^^^^^^^^^^^^^^^^^^^^
ee prefix "api.vk.com" in hex
This tells Telegram clients to use Fake TLS obfuscation, making proxy traffic indistinguishable from regular HTTPS.
# View logs
docker compose -f /opt/telemt/docker-compose.yml logs -f
# Restart
docker compose -f /opt/telemt/docker-compose.yml restart
# Stop
docker compose -f /opt/telemt/docker-compose.yml down| File | Description |
|---|---|
/opt/telemt/telemt.toml |
Telemt configuration |
/opt/telemt/docker-compose.yml |
Docker Compose stack |