Fast and simple to setup mtproto proxy.
git clone -b stable https://github.com/alexbers/mtprotoproxy.git; cd mtprotoproxy
- (optional, recommended) edit config.py, set PORT, USERS and AD_TAG
docker-compose up --build -d
(or justpython3 mtprotoproxy.py
if you don't like docker)- (optional, shows telegram link to set the proxy)
docker-compose logs
To advertise a channel get a tag from @MTProxybot and write it to config.py.
The proxy performance should be enough to comfortably serve about 4 000 simultaneous users on the VDS instance with 1 CPU core and 1024MB RAM.
The proxy can be launched:
- with a custom config:
python3 mtprotoproxy.py [configfile]
- several times, clients will be automaticaly balanced between instances
- using PyPy interprteter
- with runtime statistics exported for Prometheus: using prometheus branch