Skip to content

SamNet-dev/MTProxyMax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

64 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MTProxyMax

The Ultimate Telegram MTProto Proxy Manager

One script. Full control. Zero hassle.

Version License Engine Platform Bash Docker

Quick Start β€’ Features β€’ Comparison β€’ Telegram Bot β€’ CLI Reference β€’ Changelog


MTProxyMax is a full-featured Telegram MTProto proxy manager powered by the telemt 3.x Rust engine. It wraps the raw proxy engine with an interactive TUI, a complete CLI, a Telegram bot for remote management, per-user access control, traffic monitoring, proxy chaining, and automatic updates β€” all in a single bash script.

MTProxyMax Main Menu

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/SamNet-dev/MTProxyMax/main/install.sh)"

Why MTProxyMax?

Most MTProxy tools give you a proxy and a link. That's it. MTProxyMax gives you a full management platform:

  • πŸ” Multi-user secrets with individual bandwidth quotas, device limits, and expiry dates
  • πŸ€– Telegram bot with 17 commands β€” manage everything from your phone
  • πŸ—‚οΈ Replication β€” sync config to slave servers automatically via rsync+SSH
  • πŸ–₯️ Interactive TUI β€” no need to memorize commands, menu-driven setup
  • πŸ“Š Prometheus metrics β€” real per-user traffic stats, not just iptables guesses
  • πŸ”— Proxy chaining β€” route through SOCKS5 upstreams for extra privacy
  • πŸ”„ Auto-recovery β€” detects downtime, restarts automatically, alerts you on Telegram
  • 🐳 Pre-built Docker images β€” installs in seconds, not minutes

πŸš€ Quick Start

One-Line Install

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/SamNet-dev/MTProxyMax/main/install.sh)"

The interactive wizard walks you through everything: port, domain, first user secret, and optional Telegram bot setup.

Manual Install

curl -fsSL https://raw.githubusercontent.com/SamNet-dev/MTProxyMax/main/mtproxymax.sh -o mtproxymax
chmod +x mtproxymax
sudo ./mtproxymax install

After Install

mtproxymax           # Open interactive TUI
mtproxymax status    # Check proxy health

✨ Features

πŸ›‘οΈ FakeTLS V2 Obfuscation

Your proxy traffic looks identical to normal HTTPS traffic. The Fake TLS V2 engine mirrors real TLS 1.3 sessions β€” per-domain profiles, real cipher suites, dynamic certificate lengths, and realistic record fragmentation. The TLS handshake SNI points to a cover domain (e.g., cloudflare.com), making it indistinguishable from regular web browsing to any DPI system.

Traffic masking goes further β€” when a non-Telegram client probes your server, the connection is forwarded to the real cover domain. Your server responds exactly like cloudflare.com would.


πŸ‘₯ Multi-User Secret Management

Each user gets their own secret key with a human-readable label:

  • Add/remove users instantly β€” config regenerates and proxy hot-reloads
  • Enable/disable access without deleting the key
  • Rotate a user's secret β€” new key, same label, old link stops working
  • QR codes β€” scannable directly in Telegram

πŸ”’ Per-User Access Control

Fine-grained limits enforced at the engine level:

Limit Description Example Best For
Max Connections Concurrent connections (1 app = 1 conn) 3 Device limiting
Max IPs Unique IP addresses allowed 5 Anti-sharing / abuse
Data Quota Lifetime bandwidth cap 10G, 500M Fair usage
Expiry Date Auto-disable after date 2026-12-31 Temporary access

Tip: Use conns for device limits, not ips. Each Telegram app opens exactly 1 connection (multiplexed internally), so conns 3 = max 3 devices. IP limits are less reliable because mobile users roam between cell towers (briefly showing 2 IPs for 1 device), and multiple devices behind the same WiFi share 1 IP. Use ips as a secondary anti-sharing measure.

Traffic and quotas are lifetime (cumulative), not monthly. They don't auto-reset. Use mtproxymax secret reset-traffic <label> to manually reset counters, or rotate the secret.

mtproxymax secret setlimits alice 100 5 10G 2026-12-31

πŸ“‹ User Management Recipes

Limit Devices Per User (Recommended)
mtproxymax secret setlimit alice conns 1    # Single device only
mtproxymax secret setlimit family conns 5   # Family β€” up to 5 devices

If someone with conns 1 shares their link, the second device can't connect. Each Telegram app = exactly 1 connection.

Device Limit Tiers
Scenario conns ips (optional)
Single person, one device 1 2 (allow roaming)
Single person, multiple devices 3 5
Small family 5 10
Small group / office 30 50
Public/open link 0 0 (unlimited)

Set ips slightly higher than conns to allow for mobile roaming (cell tower switches temporarily show 2 IPs for 1 device).

Time-Limited Sharing Link
mtproxymax secret add shared-link
mtproxymax secret setlimits shared-link 50 30 10G 2026-06-01

When the expiry date hits, the link stops working automatically.

Per-Person Keys (Recommended)
mtproxymax secret add alice
mtproxymax secret add bob
mtproxymax secret add charlie

# Each person gets their own link β€” revoke individually
mtproxymax secret setlimit alice conns 2    # 2 devices
mtproxymax secret setlimit bob conns 1      # 1 device
mtproxymax secret setlimit charlie conns 3  # 3 devices
Disable, Rotate, Remove
mtproxymax secret disable bob    # Temporarily cut off
mtproxymax secret enable bob     # Restore access

mtproxymax secret rotate alice   # New key, old link dies instantly

mtproxymax secret remove bob     # Permanent removal

πŸ€– Telegram Bot (17 Commands)

Full proxy management from your phone. Setup takes 60 seconds:

mtproxymax telegram setup
Command Description
/mp_status Proxy status, uptime, connections
/mp_secrets List all users with active connections
/mp_link Get proxy details + QR code image
/mp_add <label> Add new user
/mp_remove <label> Delete user
/mp_rotate <label> Generate new key for user
/mp_enable <label> Re-enable disabled user
/mp_disable <label> Temporarily disable user
/mp_limits Show all user limits
/mp_setlimit Set user limits
/mp_traffic Per-user traffic breakdown
/mp_upstreams List proxy chains
/mp_health Run diagnostics
/mp_restart Restart proxy
/mp_update Check for updates
/mp_help Show all commands

Automatic alerts:

  • πŸ”΄ Proxy down β†’ instant notification + auto-restart attempt
  • 🟒 Proxy started β†’ sends connection details + QR codes
  • πŸ“Š Periodic traffic reports at your chosen interval

πŸ—‚οΈ Replication (Master-Slave Config Sync)

Keep multiple proxy servers in sync automatically. The master pushes config changes to all slaves via rsync+SSH on a configurable interval. Slaves receive secrets.conf, upstreams.conf, instances.conf, and config.toml β€” their own role settings and local state are never overwritten.

Setup takes two commands:

# On master β€” run wizard, select Master, add slave
mtproxymax replication setup

# On slave β€” run wizard, select Slave
mtproxymax replication setup

How it works:

  • Master generates a self-contained sync script at /opt/mtproxymax/mtproxymax-sync.sh
  • A systemd timer fires every N seconds (default: 60) and runs the sync
  • On change β€” proxy container on slave is automatically restarted
  • settings.conf and replication.conf are always excluded β€” slave role is never overwritten
mtproxymax replication status     # Show role, timer state, last sync
mtproxymax replication sync       # Trigger immediate sync
mtproxymax replication logs       # View sync log
mtproxymax replication test       # Test SSH connectivity to all slaves
mtproxymax replication promote    # Promote slave to master (failover)

Roles:

Role Description
Master Pushes config to slaves on schedule
Slave Receives config, read-only. Changes must be made on master
Standalone Replication disabled (default)


πŸ”— Proxy Chaining (Upstream Routing)

Route traffic through intermediate servers:

# Route 20% through Cloudflare WARP
mtproxymax upstream add warp socks5 127.0.0.1:40000 - - 20

# Route through a backup VPS
mtproxymax upstream add backup socks5 203.0.113.50:1080 user pass 80

# Hostnames are supported (resolved by the engine)
mtproxymax upstream add remote socks5 my-proxy.example.com:1080 user pass 50

Supports SOCKS5 (with auth), SOCKS4, and direct routing with weight-based load balancing. Addresses can be IPs or hostnames.


πŸ“Š Real-Time Traffic Monitoring

Prometheus metrics give you real per-user stats:

mtproxymax traffic       # Per-user breakdown
mtproxymax status        # Overview with connections count
  • Bytes uploaded/downloaded per user
  • Active connections per user
  • Cumulative tracking across restarts

🌍 Geo-Blocking

mtproxymax geoblock add ir    # Block Iran
mtproxymax geoblock add cn    # Block China
mtproxymax geoblock list      # See blocked countries

IP-level CIDR blocklists enforced via iptables β€” traffic is dropped before reaching the proxy.


πŸ’° Ad-Tag Monetization

mtproxymax adtag set <hex_from_MTProxyBot>

Get your ad-tag from @MTProxyBot. Users see a pinned channel β€” you earn from the proxy.


βš™οΈ Engine Management

mtproxymax engine status              # Current engine version
mtproxymax engine rebuild             # Force rebuild engine image
mtproxymax rebuild                    # Force rebuild from source

Engine updates are delivered through mtproxymax update. Pre-built multi-arch Docker images (amd64 + arm64) are pulled automatically. Source compilation is the automatic fallback.


πŸ“Š Comparison

MTProxyMax vs Other Solutions

Feature MTProxyMax mtg v2 (Go) Official MTProxy (C) Bash Installers
Engine telemt 3.x (Rust) mtg (Go) MTProxy (C) Various
FakeTLS βœ… βœ… ❌ (needs patches) Varies
Traffic Masking βœ… βœ… ❌ ❌
Multi-User Secrets βœ… (unlimited) ❌ (1 secret) Multi-secret Usually 1
Per-User Limits βœ… (conns, IPs, quota, expiry) ❌ ❌ ❌
Per-User Traffic Stats βœ… (Prometheus) ❌ ❌ ❌
Telegram Bot βœ… (17 commands) ❌ ❌ ❌
Interactive TUI βœ… ❌ ❌ ❌
Proxy Chaining βœ… (SOCKS5/4, weighted) βœ… (SOCKS5) ❌ ❌
Master-Slave Replication βœ… (rsync+SSH, systemd) ❌ ❌ ❌
Geo-Blocking βœ… IP allowlist/blocklist ❌ ❌
Ad-Tag Support βœ… ❌ (removed in v2) βœ… Varies
QR Code Generation βœ… ❌ ❌ Some
Auto-Recovery βœ… (with alerts) ❌ ❌ ❌
Auto-Update βœ… ❌ ❌ ❌
Docker βœ… (multi-arch) βœ… ❌ Varies
User Expiry Dates βœ… ❌ ❌ ❌
Bandwidth Quotas βœ… ❌ ❌ ❌
Device Limits βœ… ❌ ❌ ❌
Active Development βœ… βœ… Abandoned Varies
Why Not mtg?

mtg is solid and minimal β€” by design. It's "highly opinionated" and intentionally barebones. Fine for a single-user fire-and-forget proxy.

But mtg v2 dropped ad-tag support, only supports one secret, has no user limits, no management interface, and no auto-recovery.

Why Not the Official MTProxy?

Telegram's official MTProxy (C implementation) was last updated in 2019. No FakeTLS, no traffic masking, no per-user controls, manual compilation, no Docker.

Why Not a Simple Bash Installer?

Scripts like MTProtoProxyInstaller install a proxy and give you a link. That's it. No user management, no monitoring, no bot, no updates, no recovery.

MTProxyMax is not just an installer β€” it's a management platform that happens to install itself.


πŸ—οΈ Architecture

Telegram Client
      β”‚
      β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Your Server (port 443) β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚  Docker Container  β”‚  β”‚
β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚  β”‚
β”‚  β”‚  β”‚   telemt     β”‚  β”‚  β”‚  ← Rust/Tokio engine
β”‚  β”‚  β”‚  (FakeTLS)   β”‚  β”‚  β”‚
β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜  β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚            β”‚             β”‚
β”‚     β”Œβ”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”     β”‚
β”‚     β–Ό             β–Ό     β”‚
β”‚  Direct      SOCKS5     β”‚  ← Upstream routing
β”‚  routing     chaining   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚
          β–Ό
   Telegram Servers


Master-Slave Replication (optional):

  Master Server              Slave Server(s)
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚ mtproxymax   │──rsync──▢ β”‚ mtproxymax   β”‚
  β”‚ (systemd     β”‚   +SSH    β”‚ (receives    β”‚
  β”‚  timer 60s)  β”‚           β”‚  config)     β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Component Role
mtproxymax.sh Single bash script: CLI, TUI, config manager
telemt Rust MTProto engine running inside Docker
Telegram bot service Independent systemd service polling Bot API
Replication sync service systemd timer pushing config to slave servers
Prometheus endpoint /metrics on port 9090 (localhost only)

πŸ“– CLI Reference

Proxy Management
mtproxymax install              # Run installation wizard
mtproxymax uninstall            # Remove everything
mtproxymax start                # Start proxy
mtproxymax stop                 # Stop proxy
mtproxymax restart              # Restart proxy
mtproxymax status               # Show proxy status
mtproxymax menu                 # Open interactive TUI
User Secrets
mtproxymax secret add <label>           # Add user
mtproxymax secret remove <label>        # Remove user
mtproxymax secret list                  # List all users
mtproxymax secret rotate <label>        # New key, same label
mtproxymax secret enable <label>        # Re-enable user
mtproxymax secret disable <label>       # Temporarily disable
mtproxymax secret link [label]          # Show proxy link
mtproxymax secret qr [label]            # Show QR code
mtproxymax secret setlimit <label> <type> <value>  # Set individual limit
mtproxymax secret setlimits <label> <conns> <ips> <quota> [expires]  # Set all limits
mtproxymax secret reset-traffic <label|all>  # Reset traffic counters
Configuration
mtproxymax port [get|<number>]          # Get/set proxy port
mtproxymax ip [get|auto|<address>]      # Get/set custom IP for proxy links
mtproxymax domain [get|clear|<host>]    # Get/set FakeTLS domain
mtproxymax adtag set <hex>              # Set ad-tag
mtproxymax adtag remove                 # Remove ad-tag
Replication
mtproxymax replication setup            # Interactive wizard (master/slave/standalone)
mtproxymax replication status           # Role, timer state, last sync, slave list
mtproxymax replication add <host> [port] [label]   # Register a slave server
mtproxymax replication remove <host_or_label>      # Remove a slave
mtproxymax replication list             # List all slaves
mtproxymax replication enable           # Enable sync timer
mtproxymax replication disable          # Disable sync timer
mtproxymax replication sync             # Trigger immediate sync
mtproxymax replication test [host]      # Test SSH connectivity to slave(s)
mtproxymax replication logs             # Show sync log
mtproxymax replication reset            # Remove all replication config
mtproxymax replication promote          # Promote slave to master (failover)
Security & Routing
mtproxymax geoblock add <CC>            # Block country
mtproxymax geoblock remove <CC>         # Unblock country
mtproxymax geoblock list                # List blocked countries
mtproxymax upstream list                # List upstreams
mtproxymax upstream add <name> <type> <host:port> [user] [pass] [weight]
mtproxymax upstream remove <name>       # Remove upstream
mtproxymax upstream test <name>         # Test connectivity
mtproxymax sni-policy [mask|drop]      # Unknown SNI action (mask=permissive, drop=strict)
Monitoring
mtproxymax traffic                      # Per-user traffic breakdown
mtproxymax metrics                      # Engine metrics dashboard
mtproxymax metrics live [seconds]       # Auto-refresh metrics (default: 5s)
mtproxymax logs                         # Stream live logs
mtproxymax health                       # Run diagnostics
Engine & Updates
mtproxymax engine status                # Show current engine version
mtproxymax engine rebuild               # Force rebuild engine image
mtproxymax rebuild                      # Force rebuild from source
mtproxymax update                       # Check for script + engine updates
Telegram Bot
mtproxymax telegram setup               # Interactive bot setup
mtproxymax telegram status              # Show bot status
mtproxymax telegram test                # Send test message
mtproxymax telegram disable             # Disable bot
mtproxymax telegram remove              # Remove bot completely

πŸ’» System Requirements

Requirement Details
OS Ubuntu, Debian, CentOS, RHEL, Fedora, Rocky, AlmaLinux, Alpine
Docker Auto-installed if not present
RAM 256MB minimum
Access Root required
Bash 4.2+

πŸ“ Configuration Files

File Purpose
/opt/mtproxymax/settings.conf Proxy settings (port, domain, limits)
/opt/mtproxymax/secrets.conf User keys, limits, expiry dates
/opt/mtproxymax/upstreams.conf Upstream routing rules
/opt/mtproxymax/mtproxy/config.toml Generated telemt engine config

πŸ“‹ Changelog

v1.0.4 β€” Replication, Engine v3.3.32, SNI Policy & Metrics Dashboard

  • Replication β€” sync config from master to slave servers via rsync+SSH with systemd timer
  • Auto-exclude β€” settings.conf and replication.conf are never synced to slaves, preserving their role and local state
  • Wizard β€” interactive setup for master, slave, and standalone roles
  • Slave protection β€” setting slave role stops any local sync timer and clears stale peer list
  • Promote β€” mtproxymax replication promote for manual failover (slave β†’ master)
  • Role guards β€” replication add/remove/sync are blocked with a clear error on slave servers
  • Sync script auto-update β€” manual sync always regenerates the script from current binary

Engine Upgrade (v3.3.31 β†’ v3.3.32):

  • Bounded Hybrid Routing Loop β€” Hard timeout on ME no-writer recovery, prevents infinite-spin edge case
  • ArcSwap Snapshots β€” Lock-free concurrent reads on writer pools, endpoints, and family state for less contention
  • Parallel Health Checks β€” Reduced latency during writer recovery
  • Refined Quarantine β€” Draining writers no longer needlessly quarantine healthy endpoints
  • New Backpressure Model β€” Tiered base/high watermark for better overload handling

New Features:

  • Unknown SNI Policy β€” Configurable mask (permissive, default) or drop (strict) for TLS connections with non-matching SNI. TUI: Security & Routing > Unknown SNI Policy. CLI: mtproxymax sni-policy [mask|drop] (#40)
  • Engine Metrics Dashboard β€” mtproxymax metrics shows connections, upstream routing, per-user stats, and ME pool status. mtproxymax metrics live for auto-refresh
  • Reset Traffic Counters β€” mtproxymax secret reset-traffic <label|all> to manually reset per-user cumulative traffic

Bug Fixes:

  • Fix broken pipe on Alpine β€” Replaced process-substitution FIFOs with here-strings to avoid SIGPIPE race (#37)
  • Fix double-input on Alpine β€” Drain leftover escape-sequence bytes from multi-byte key presses in TUI menus (#38)
  • Fix SNI rejection after engine upgrade β€” unknown_sni_action default changed to drop in telemt v3.3.31+, now explicitly set to mask for backward compatibility (#40)

v1.0.3 β€” Notes, Quota Enforcement, Multi-Port & More

  • Secret Notes β€” Attach descriptions to secrets (secret note <label> <text>, TUI option [8])
  • Expiry Warnings β€” Secret list shows (3d left) / (expired), Telegram alerts 3 days before expiry
  • Quota Enforcement β€” Auto-disables secrets at 100% quota, warns at 80%, works even without Telegram bot
  • Auto-disable on Quota Hit β€” secret reenable <label> to restore with optional traffic reset
  • JSON Status β€” mtproxymax status --json for Grafana/Zabbix/monitoring integration
  • Connection Log β€” Per-user activity log with auto-rotation (connlog CLI, TUI Logs & Traffic > [2])
  • Backup & Restore β€” mtproxymax backup, restore <file>, backups β€” includes all config, secrets, and stats
  • Multi-Port Instances β€” Run proxy on multiple ports with shared secrets (instance add/remove/list)
  • Hot-Reload for Secrets β€” Add/remove/rotate secrets without dropping active connections
  • Whitelist Geo-Blocking β€” Allow only specific countries, block everything else (#29)

v1.0.2 β€” Persistent Traffic & TUI Performance

  • Persistent Traffic Counters β€” Traffic stats (TRAFFIC IN / TRAFFIC OUT) now survive container restarts (#13)
  • Always-On Traffic Tracking β€” Cumulative traffic saved to disk every 60s, even without Telegram bot enabled
  • Pre-Stop Traffic Flush β€” Final traffic snapshot saved before every stop/restart, no data loss on clean shutdown
  • TUI Batch Stats Loading β€” Single metrics fetch + single file read replaces per-user subprocess spawning
  • Atomic File Writes with Locking β€” Traffic files use flock to prevent race conditions between daemon and CLI
  • Fixed In/Out Direction Mapping β€” Consistent from_client=in, to_client=out across all functions

v1.0.1 β€” Batch Secret Management

  • Batch Add β€” secret add-batch <l1> <l2> ... adds multiple secrets with a single restart (#12)
  • Batch Remove β€” secret remove-batch <l1> <l2> ... removes multiple secrets with a single restart
  • --no-restart flag β€” secret add/remove/add-batch/remove-batch --no-restart for scripting and automation
  • TUI options β€” Interactive menu options [6] and [7] for batch operations

v1.0.0 β€” Engine v3.3.30

Engine Upgrade (v3.3.28 β†’ v3.3.30):

  • TLS Fetcher Redesign β€” Adaptive profile cascade (Chrome β†’ Firefox β†’ TLS 1.2 β†’ legacy) with per-target caching, automatic fallback on handshake failures β€” significantly harder to fingerprint/block via DPI
  • TLS SNI Validator β€” Enforces SNI from configured domain, drops invalid probes cheaply
  • Atomic Per-User Quotas β€” Removed locking from hot path for better throughput under load
  • PROXY Protocol Trusted CIDRs β€” Restrict PROXY header trust to specific source networks
  • DPI Evasion Hardening β€” Shape/timing hardening, masking prefetch, tiny-frame debt protection
  • Shadowsocks Upstream β€” New upstream transport option alongside SOCKS5
  • ME Anti-Stuck + Orphan Watchdog β€” Root cause fix for random connection drops
  • Adaptive Buffers β€” Dynamic buffer sizing: less RAM at low load, more throughput at high load
  • Flow Performance β€” 3x faster D2C flush + immediate ACK flushing for lower latency
  • Event-Driven ME β€” Pool switches from busy-polling to event-driven, reducing CPU on idle servers
  • ME/DC Reroute β€” Dynamic rerouting when preferred datacenter path degrades

v1.0.0 β€” Per-User Limits + Telegram Bot

  • Per-user connection, IP, quota, and expiry limits
  • Telegram bot with 17 commands for remote management
  • Proxy chaining via SOCKS5/SOCKS4 upstreams
  • Geo-blocking with CIDR blocklists
  • Auto-recovery with Telegram alerts

v1.0.0 β€” Initial Release

  • Full MTProto proxy management with telemt 3.x Rust engine
  • Interactive TUI + complete CLI
  • Multi-user secret management with QR codes
  • FakeTLS obfuscation with traffic masking
  • Prometheus metrics endpoint
  • Auto-update system

πŸ™ Credits

Built on top of telemt β€” a high-performance MTProto proxy engine written in Rust/Tokio. All proxy protocol handling, FakeTLS, traffic masking, and per-user enforcement is powered by telemt.


πŸ’– Donate

If you find MTProxyMax useful, consider supporting its development:

samnet.dev/donate


πŸ“„ License

MIT License β€” see LICENSE for details.

The telemt engine (included as a Docker image) is licensed under the Telemt Public License 3 (TPL-3) β€” a permissive license that allows use, redistribution, and modification with attribution.

Copyright (c) 2026 SamNet Technologies