Skip to content

Bannerets/pony-mtproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pony-mtproxy

Yet another Telegram MTProto Proxy server.

wip

  • Crossplatform.
  • Multithreaded.
  • No promoted channels support.
  • No multi secret support.

Usage

$ pony-mtproxy [options]

Options:

  -p, --port    [string]  Defaults to '443'.
  -s, --secret  [string]

  --ponythreads    Use N scheduler threads. Defaults to the number of
                   cores (not hyperthreads) available.

Example:

$ pony-mtproxy --secret 15abcdef1234567890deadbeef123456

Link example: tg://proxy?server={SERVER_IP}&port={PORT}&secret={SECRET}

Link with secure mode: tg://proxy?server={SERVER_IP}&port={PORT}&secret=dd{SECRET}

Building

git clone https://github.com/Bannerets/pony-mtproxy pony-mtproxy
cd pony-mtproxy
ponyc src -b pony-mtproxy

Requirements:

  • ponyc
  • openssl

Docker

$ docker run --name mtproxy -d --restart unless-stopped -p 443:443 bannerets/pony-mtproxy:latest --secret 15abcdef1234567890deadbeef123456

Logs

$ docker logs mtproxy

About

Yet another MTProxy server. Written in Pony.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published