GitHub - TelegramMessenger/MTProxy
2 months ago
- #Telegram
- #MTProxy
- #Proxy
- Install dependencies like git, curl, build-essential, libssl-dev, and zlib1g-dev on Debian/Ubuntu or openssl-devel, zlib-devel, and Development Tools on CentOS/RHEL.
- Clone the MTProxy repository and build it using the 'make' command.
- Obtain proxy-secret and proxy-multi.conf files from Telegram's core website.
- Generate a secret for users to connect to your proxy using '/dev/urandom' and 'xxd'.
- Run mtproto-proxy with specified parameters including secrets, ports, and worker count.
- Generate a proxy link or use @MTProxybot to register your proxy.
- Enable random padding for packets by adding 'dd' prefix to the secret to avoid ISP detection.
- Create and configure a systemd service file for MTProxy to ensure it runs at startup.
- Use Telegram's official Docker image, noting it may be outdated.