轻量级Telegram专用一键代理脚本:MTG,Telegram专用内置代理脚本详细安装分享
Telegram大部分童鞋应该都知道,因为某些原因被屏蔽掉了,无法直接连接,需要借助某些不可描述的辅助软件或者使用内置代理才可以正常使用;
本文将给大家介绍一款Telegram专用内置代理脚本,此前一直使用的是MTProxy内置代理,但是自从上次大批量被封之后,现在已经被识别了,基本上是坚持不了24小时;直接被阻断;
关于Telegram使用的问题,可以在博客直接搜索“Telegram”,如果要使用内置代理的推荐大家使用MTG代理脚本,至少目前还没被识别
对了,Telegram软件也要注意,谨慎使用第三方tg软件!
简介
MTG 是基于 MTProxy 的一个分支,理论上是不会被屏蔽阻断掉的,当然这个也不是百分百的安全,说到底只是时间的问题,被识别可能也就是时间未到而已,但近期使用来看,还是问题不大的;
GitHub
Telegram专用代理脚本 | https://github.com/cutelua/mtg-dist | https://github.com/9seconds/mtg |
安装命令
Ubuntu 16.04 +,Centos 7 +,Debian未测
1 | bash <(wget -qO- https://git.io/mtg.sh) |
详细安装过程
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | root@saodayemtg:~# bash <(wget -qO- https://git.io/mtg.sh) Verifying archive integrity... 100% All good. Uncompressing Bullshit-free MTPROTO proxy Bin package [build 2019-06-13] 100% ================================================== >Random port generated, input another if wish to change, press Enter to continue #此处输入你要设置的端口号(随机的话直接回车) >Random secret generated, input another if wish to change, press Enter to continue #此处输入你要设置的密码,密码32位的(推荐随机,避免出错,直接回车) #设置完这两项就等待安装完成,最后会显示TG代理连接 ================================================== > Using: PORT: 8919, SECRET: a0379f56c538f242399b7597a1b475c4 ================================================== 2019-06-21 11:03:40 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/135544649/3d48d880-8c4f-11e9-961a-0cc88b3c8595?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190621%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190621T110337Z&X-Amz-Expires=300&X-Amz-Signature=a502b380f7dc660894c6a0add2d8b9cf7a1d2955cf81542b5d5e5d4292205fbe&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dmtg-linux-amd64&response-content-type=application%2Foctet-stream [10776896/10776896] -> "/usr/local/bin/mtg" [1] FINISHED --2019-06-21 11:03:40-- Total wall clock time: 3.4s Downloaded: 1 files, 10M in 1.7s (5.92 MB/s) ================================================== 0.16 (go version go1.12.5 linux/amd64) [Tue, 11 Jun 2019 10:44:11 +0000] Created symlink from /etc/systemd/system/multi-user.target.wants/mtg.service to /lib/systemd/system/mtg.service. ================================================== >Installation Done. Waiting for service to load ... >Use the followling url to setup mtproxy in telegram. tg_url: tg://proxy?port=8919&secret=dda0379f56c538f242399b**97a1b475c4&server=35.200.**.***, tme_url: https://t.me/proxy?port=8919&secret=dda0379f56c538f**2399b7597a1b475c4&server=35.200.**.*** tg_url: , tme_url: >Bye. |
卸载命令
1 2 | systemctl stop mtg && systemctl disable mtg rm -f /usr/local/bin/mtg /lib/systemd/system/mtg.service /etc/mtg.conf |
本文部分内容素材源自:GitHub
目前又凉了的不
@Mmx: 我的挂了
@qq: 我的也是。。。
我就一直郁闷MTP被封了的应对措施。原来已经有MTG,有点孤陋寡闻~
@Geralt: 赶紧使用上吧,目前来看,稳的一批
就是靠着MTP度过敏感期的(
@c0sMx: MTP之前我的就没坚持过24小时,不得已换了MTG,到现在还没凉