Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
MTProxy

MTProxy

MTProxy is Telegram's official MTProto proxy server. Run your own endpoint so Telegram clients can connect through your VPS, using a secret-based URI you can share with anyone. 6,800+ GitHub stars.

At a glance

6.9k

GitHub stars

1

Page views

Version Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4,IPV6

Connection Information

The proxy credentials are stored in: /root/.proxy

Display them at any time:

cat /root/.proxy

The file contains:

  • Server IP
  • Port
  • MTProto Secret
  • tg:// Telegram URI
  • https://t.me/proxy link

Docker Management

Check running containers:

docker ps

View proxy logs:

docker logs -f mtproto-proxy

Restart the proxy:

docker restart mtproto-proxy

Stop the proxy:

docker stop mtproto-proxy

Start the proxy:

docker start mtproto-proxy

Important Files and Directories

  • Install Path: /opt/mtproxy
  • Compose File: /opt/mtproxy/docker-compose.yml
  • Credentials File: /root/.proxy
  • Docker Volume: /var/lib/docker/volumes/mtproxy_proxy-config

More in Security

Related apps.

Deploy MTProxy now. From $2.48/mo.