“搭建Telgram代理MTProxy”的版本间的差异
跳到导航
跳到搜索
(创建页面,内容为“=ins= ==docker== <pre> docker run -d -p443:443 --name=mtproto-proxy --restart=always -v proxy-config:/data telegrammessenger/proxy:latest 查看日志和相关密…”) |
|||
(未显示同一用户的2个中间版本) | |||
第20行: | 第20行: | ||
=see also= | =see also= | ||
+ | https://github.com/TelegramMessenger/MTProxy | ||
+ | |||
[https://my.oschina.net/54188zz/blog/3149190 搭建Telgram代理MTProxy] | [https://my.oschina.net/54188zz/blog/3149190 搭建Telgram代理MTProxy] | ||
+ | |||
+ | |||
+ | |||
+ | https://hub.docker.com/r/telegrammessenger/proxy | ||
+ | |||
+ | =trouble shooting= | ||
+ | <pre> | ||
+ | |||
+ | 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 | ||
+ | |||
+ | </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
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