2025-12-30 21:31:54 +03:00
2025-12-30 05:08:05 +03:00
2025-12-30 05:08:05 +03:00
2025-12-30 05:00:26 +03:00
2025-12-30 05:08:05 +03:00
2025-12-30 05:08:05 +03:00
2025-12-30 21:31:54 +03:00

Telemt - MTProxy on Rust + Tokio

Telemt is a fast, secure, and feature-rich server written in Rust It fully implements the official Telegram proxy algo and adds many production-ready improvements such as connection pooling, replay protection, detailed statistics, masking from "prying" eyes

GOTO

Features

  • Full support for all official MTProto proxy modes:
    • Classic
    • Secure - with dd prefix
    • Fake TLS - with ee prefix + SNI fronting
  • Replay attack protection
  • Optional traffic masking: forward unrecognized connections to a real web server, e.g. GitHub 🤪
  • Configurable keepalives + timeouts + IPv6 and "Fast Mode"
  • Graceful shutdown on Ctrl+C
  • Extensive logging via trace and debug with RUST_LOG method

Quick Start Guide

Build

# Cloning repo
git clone https://github.com/telemt/telemt 
# Changing Directory to telemt
cd telemt
# Starting Release Build
cargo build --release
# Move to /bin
mv ./target/release/telemt /bin
# Make executable
chmod +x /bin/telemt
# Lets go!
telemt config.toml

How to use?

Telemt via Systemd

  1. Place your config to /etc/telemt.toml
  2. Create service on /etc/systemd/system/telemt.service
[Unit]
Description=Telemt
After=network.target

[Service]
Type=simple
WorkingDirectory=/bin
ExecStart=/bin/telemt /etc/telemt.toml
Restart=on-failure

[Install]
WantedBy=multi-user.target
  1. In Shell type systemctl start telemt - it must start with zero exit-code
  2. In Shell type systemctl status telemt - there you can reach info about current MTProxy status
  3. In Shell type systemctl enable telemt - then telemt will start with system startup, after the network is up
Languages
Rust 98.6%
Python 1.2%
Dockerfile 0.2%