https://github.com/ariadata/mtproxy-alpine
MTProto Proxy (Alpine) + TLS Domain Support
https://github.com/ariadata/mtproxy-alpine
Last synced: 26 days ago
JSON representation
MTProto Proxy (Alpine) + TLS Domain Support
- Host: GitHub
- URL: https://github.com/ariadata/mtproxy-alpine
- Owner: ariadata
- Created: 2024-01-26T16:56:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-27T17:06:22.000Z (over 1 year ago)
- Last Synced: 2024-07-27T18:32:03.437Z (over 1 year ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MTProto Proxy (Alpine) + TLS Domain Support
[](https://ariadata.co)



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](https://github.com/ariadata/dockerhost-sh)
## Step 1
Clone this repository and pull the docker image
```bash
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):
```bash
# 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:
```bash
docker compose up -d
bash generate_links.sh
```
## Step 5 : Enjoy!
### Thanks to:
* [Alex Doesh](https://github.com/alexdoesh/mtproxy)
* [Dofamin's Repo](https://github.com/Dofamin/MTProxy-Docker)
* [GetPageSpeed's Repo](https://github.com/GetPageSpeed/MTProxy)
* [seriyps's Image](https://hub.docker.com/r/seriyps/mtproto-proxy)
* [Teddysun's Repo](https://github.com/teddysun/across/blob/master/docker/v2ray/Dockerfile)
* [Abogatikov's Image](https://hub.docker.com/r/abogatikov/mtproxy-alpine)