https://github.com/dotcypress/mtproxy
[WIP] MTProto proxy server
https://github.com/dotcypress/mtproxy
Last synced: about 1 month ago
JSON representation
[WIP] MTProto proxy server
- Host: GitHub
- URL: https://github.com/dotcypress/mtproxy
- Owner: dotcypress
- License: apache-2.0
- Created: 2018-05-22T16:06:36.000Z (almost 7 years ago)
- Default Branch: develop
- Last Pushed: 2018-06-14T02:15:51.000Z (almost 7 years ago)
- Last Synced: 2025-03-30T12:09:59.157Z (about 1 month ago)
- Language: Rust
- Homepage:
- Size: 90.8 KB
- Stars: 196
- Watchers: 19
- Forks: 21
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# mtproxy
🚧 *Work in progress*
`mio` powered Telegram MTProto proxy server.
## Installation
You can use the `cargo install` command:
```bash
$ rustup update
$ cargo install mtproxy
```
or a classic build and run:```bash
$ git clone https://github.com/dotcypress/mtproxy
$ cd mtproxy
$ cargo build --release
$ cp target/release/mtproxy ~/.bin # assuming .bin is in your path
```*Note*: `mtproxy` requires rust v1.26.0 or higher.
## Docker
### Start proxy
* `docker run --name 'mtproto_proxy' --restart unless-stopped -p 1984:1984 -dti dotcypress/mtproxy -s '07123e1f482356c415f684407a3b8723'``07123e1f482356c415f684407a3b8723` - proxy secret, you should choose another word or generate random with `openssl rand -hex 16`
### Get secret
* `docker logs mtproto_proxy`### Stop proxy
* `docker stop mtproto_proxy`### Remove proxy
* `docker rm mtproto_proxy`