Installs the official Telemt MTProto proxy on a fresh standalone Linux server. No credentials are embedded: each server generates its own proxy secret during installation.
curl -fsSL https://raw.githubusercontent.com/laroy-sh/mtproto/main/install-mtproto.sh | sudo shPort 443 and Telemt's default Fake-TLS domain are used unless overridden:
curl -fsSL https://raw.githubusercontent.com/laroy-sh/mtproto/main/install-mtproto.sh \
| sudo env SERVER_PORT=8443 TLS_DOMAIN=www.cloudflare.com shRequirements: Linux on x86_64 or ARM64, curl, sha256sum, root access, a free TCP port, and systemd or OpenRC. Allow the selected inbound TCP port in both the host and hosting-provider firewalls.
The installer pins Telemt 3.4.23, verifies the upstream installer and release archive checksums, refuses to overwrite an existing Telemt installation, starts the service, and waits for its local API to become ready.
The generated Telegram connection link and /etc/telemt/telemt.toml contain the new proxy secret. Keep both private.
./test-install-mtproto.shThe check never executes the downloaded installer or changes the host system.
This script intentionally does not manage firewalls, upgrades, or coexistence behind an existing reverse proxy.