“搭建Telgram代理MTProxy”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
 
第39行: 第39行:
  
 
</pre>
 
</pre>
 +
 +
 +
[[category:ops]]

2020年9月29日 (二) 02:20的最新版本

ins

docker

docker run -d -p443:443 --name=mtproto-proxy --restart=always -v proxy-config:/data telegrammessenger/proxy:latest

查看日志和相关密码等等
The container's log output (docker logs mtproto-proxy) will contain the links to paste into the Telegram app:

[+] Using the explicitly passed secret: '00baadf00d15abad1deaa515baadcafe'.
[+] Saving it to /data/secret.
[*] Final configuration:
[*]   Secret 1: 00baadf00d15abad1deaa515baadcafe
[*]   tg:// link for secret 1 auto configuration: : tg://proxy?server=3.14.15.92&port=443&secret=00baadf00d15abad1deaa515baadcafe
[*]   t.me link for secret 1: tg://proxy?server=3.14.15.92&port=443&secret=00baadf00d15abad1deaa515baadcafe
[*]   Tag: no tag
[*]   External IP: 3.14.15.92
[*]   Make sure to fix the links in case you run the proxy on a different port.


see also

https://github.com/TelegramMessenger/MTProxy


搭建Telgram代理MTProxy


https://hub.docker.com/r/telegrammessenger/proxy

trouble shooting


Unable to find image 'telegrammessenger/proxy:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:58699->[::1]:53: read: connection refused.


restart docker