Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.77 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.77 KB

MTProto Proxy (Alpine) + TLS Domain Support

Build Status

The Telegram Messenger MTProto proxy is a zero-configuration container that automatically sets up a proxy server that speaks Telegram's native MTProto.

This needs dockerhost , install from here

Step 1

Clone this repository and pull the docker image

git clone --depth=1 --single-branch https://github.com/ariadata/mtproxy-alpine.git dc-mtproxy
cd dc-mtproxy
docker compose pull

Step 2

Generate atleast one secret key (Use one of these commands):

# use one of these commands to generate a secret key
echo $(head -c 16 /dev/urandom | xxd -ps)

echo $(openssl rand -hex 16)

echo $(docker run --rm -v /dev/urandom:/dev/urandom:ro --entrypoint=openssl alpine/openssl rand -hex 16)

Step 3

Edit .env file and set the secret key(s) and other variables:

Step 4

Run the container and use bash file to generate links:

docker compose up -d

bash generate_links.sh

Step 5 : Enjoy!

Thanks to: