梓悦生活

  • 🍟首页
  • 🍪免费资源
  • 🍓Wordpress
  • 🍋琐碎生活
  • 🍘关于
关注周围的人或事,体验人生历程
  1. 首页
  2. 免费资源
  3. 正文

MTG 一款Telegram专用代理工具

2019/07/14 6130点热度 1人点赞 0条评论

前言

Telegram的几种内置代理,SOCKS5就不用说了,明文传输一用就被封

MTProxy原来也还好,可惜现在被识别了,不管是官方版还是go语言版,基本没有坚持挺过24小时就被阻断端口,虽然可以换端口,虽然有65535个端口可以换,但还是麻烦。于是在网上找寻解决办法,最后找到了这个 MTG

介绍

MTG 是基于 MTProxy 的一个分支,基于代理的重放攻击的预防,在理论上是不会被干掉的

MTG 代理遵循 ShadowSocks 的方式,并且 MTG 非常的轻量,无论安装还是卸载都非常简单

Github:https://github.com/cutelua/mtg-dist

Github:https://github.com/9seconds/mtg

安装

bash <(wget -qO- https://git.io/mtg.sh)

 卸载

systemctl stop mtg && systemctl disable mtg

rm -f /usr/local/bin/mtg /lib/systemd/system/mtg.service /etc/mtg.conf

 安装过程

root@hk:~# 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
65535  #此处输入你要设置的端口号(随机的话直接回车)
>Random secret generated, input another if wish to change, press Enter to continue
       #此处输入你要设置的密码,密码是32位(推荐随机,避免出错,直接回车)
       #设置完这两项就OK,然后等待安装完成,在最后会给出你的TG代理连接
==================================================
> Using: PORT: 65535, SECRET: 4670a0882e6c3c9a4a7cf5f8e2951434
==================================================
2019-06-16 01:35:46 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%2F20190616%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190616T013543Z&X-Amz-Expires=300&X-Amz-Signature=44c6cba4ec8db288872c8ebbe2996320ab81c6bb4baf5d3ba872b6b77d465578&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-16 01:35:46--
Total wall clock time: 4.6s
Downloaded: 1 files, 10M in 1.8s (5.82 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=65535&secret=dd4670a0882e6c3c9a4a7cf5f8e2951434&server=35.220.XXX.XXX,
      tme_url: https://t.me/proxy?port=65535&secret=dd4670a0882e6c3c9a4a7cf5f8e2951434&server=35.220.XXX.XXX
      tg_url: ,
      tme_url:
>Bye.

转载自:https://sunpma.com/151.html

标签: Telegram
最后更新:2019/07/14

Meteor

关注周围的人或事,体验人生历程!

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

文章目录
  • 前言
  • 介绍
  • 安装
  •  卸载
  •  安装过程
最新 热点 随机
最新 热点 随机
Vultr 推出免费云主机,用于鼓励全球创新 一键网络重装系统 – 魔改版(适用于Linux / Windows) Debian/Ubuntu SSH端口一键修改脚本及关闭防火墙 [云监控探针]支持节点管理和监控的ServerStatus 宝塔面板7.7.0版本及以下解锁付费插件开心版方法 宝塔面板版本降级至7.7.0方法
一键网络重装系统 – 魔改版(适用于Linux / Windows)MyNodeQuery一款简洁好用的云监控探针宝塔面板如何取消绑定或强制登录宝塔账号宝塔面板版本降级至7.7.0方法宝塔面板7.7.0版本及以下解锁付费插件开心版方法Debian/Ubuntu SSH端口一键修改脚本及关闭防火墙
RonsorVPS: 免费64M VPS/NAT网络共享 VPS CentOS 7 添加 SWAP分区 centos7 挂载数据盘配置 windows系统转linux系统后磁盘的处理 WordPress中添加返回顶部功能 牧场主机提供免费分销主机2G/40G流量可绑米空间
最近评论
Meteor 发布于 3 周前(03月09日) 是的,要求的配置也要高很多,不一定所有服务器都适用
夏日博客 发布于 3 周前(03月04日) 高版本的win系统越来越不好装了。
侠客书 发布于 4 个月前(11月29日) 具体改了些什么?
rtyu 发布于 6 个月前(10月07日) 来过,留个印迹~
Adoncn 发布于 1 年前(01月10日) 不错!!!不错!!!
标签聚合
域名解析 wordpress 技巧 虚拟主机 活动 VPS Linux Linux技巧
友情链接
  • Anders Norén
  • Appurse
  • CSS参考手册
  • DeeTeam-迪提姆
  • Fatesinger
  • FreeSSL
  • gandi
  • Internetbs
  • Kevan's Blog
  • LogoMaker

COPYRIGHT © 2023 梓悦生活. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang