Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/supme/ms-mtproto-proxy

Multi secrets code and realtime refresh for https://github.com/TelegramMessenger/MTProxy
https://github.com/supme/ms-mtproto-proxy

Last synced: 5 days ago
JSON representation

Multi secrets code and realtime refresh for https://github.com/TelegramMessenger/MTProxy

Awesome Lists containing this project

README

        

# ms-mtproto-proxy
Multi secrets code and realtime refresh for https://github.com/TelegramMessenger/MTProxy

Download from https://github.com/Supme/ms-mtproto-proxy/releases

create /opt/MTProto/secrets.conf example
```
a1ef210a6a2b07284b148b3dc532c9be [email protected]
#3f110568973d3189e7506d6dc73a4aa0 [email protected]
```

Execute:
```
ExecStart=/opt/MTProxy/ms-mtproto-proxy ./secrets.conf ./mtproto-proxy -u nobody -p 8888 ...other you keys... --aes-pwd proxy-secret proxy-multi.conf -M 1
```

Stop you MTProxy and change you /etc/systemd/system/MTProxy.service
```
[Unit]
Description=MTProxy
After=network.target

[Service]
Type=simple
WorkingDirectory=/opt/MTProxy
ExecStart=/opt/MTProxy/ms-mtproto-proxy ./secrets.conf ./mtproto-proxy -u nobody -p 8888 ...other you keys... --aes-pwd proxy-secret proxy-multi.conf -M 1
Restart=on-failure

[Install]
WantedBy=multi-user.target
```

```
systemctl daemon-reload
```
and start you MTProxy

later need only edit secrets.conf and not need restart service