Pages

Sunday, 15 August 2021

mtprotoproxy-by-alexbers

 Async MTProto proxy for Telegram.

Fast and simple to setup MTProto proxy written in Python.

Starting Up

  1. git clone -b stable https://github.com/alexbers/mtprotoproxy; cd mtprotoproxy
  2. (optional, recommended) edit config.py, set PORTUSERS and AD_TAG

Demo

Channel Advertising

To advertise a channel get a tag from @MTProxybot and put it to config.py.

Performance

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.

More Instructions

Advanced Usage

The proxy can be launched:

  • with a custom config: python3 mtprotoproxy.py [configfile]
  • several times, clients will be automaticaly balanced between instances
  • with uvloop module to get an extra speed boost
  • with runtime statistics exported to Prometheus

from https://github.com/alexbers/mtprotoproxy
-------
 
MTPROTOPROXY EASY TO USE.  

MTProtoProxy-Onekey

MTPROTOPROXY EASY TO USE


Copy the command to your vps & execute it:

curl -O https://raw.githubusercontent.com/shell-script/mtprotoproxy-onekey/master/mtprotoproxy-go.sh && bash mtprotoproxy-go.sh

Support OS

  • CentOS 5 (Untested)

  • CentOS 6

  • CentOS 7

  • Debian 7 (Untested)

  • Debian 8

  • Debian 9

  • Ubuntu 14.04

  • Ubuntu 16.04

  • Ubuntu 18.04

     from https://github.com/shell-script/mtprotoproxy-onekey

No comments:

Post a Comment