Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/supme/ms-mtproto-proxy
- Owner: Supme
- Created: 2018-09-06T07:13:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-06T10:22:18.000Z (over 6 years ago)
- Last Synced: 2024-11-09T12:35:26.433Z (2 months ago)
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ms-mtproto-proxy
Multi secrets code and realtime refresh for https://github.com/TelegramMessenger/MTProxyDownload 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 MTProxylater need only edit secrets.conf and not need restart service