最新消息:

[转]MTP-GO版Telegram专用工具一键脚本

教程 admin 3365浏览

介绍

因为gomtproxy代码更新了抗重放攻击等功能后,原作者没有直接放出编译好的程序,所以根据逗比原版一键脚本魔改,直接拉取最新代码进行编译,最新版已经支持TLS伪装

一键脚本

根据提示选择安装即可:

wget -N --no-check-certificate https://github.com/whunt1/onekeymakemtg/raw/master/mtproxy_go.sh && chmod +x mtproxy_go.sh && bash mtproxy_go.sh

或者:

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

安装界面:

MTProxy-Go 一键管理脚本 [v2.0.0]
  
  0. 升级脚本
————————————
  1. 安装 MTProxy
  2. 更新 MTProxy
  3. 卸载 MTProxy
————————————
  4. 启动 MTProxy
  5. 停止 MTProxy
  6. 重启 MTProxy
————————————
  7. 设置 账号配置
  8. 查看 账号信息
  9. 查看 日志信息
 10. 查看 链接信息
————————————

 当前状态: 已安装 并 已启动

 请输入数字 [0-10]:

管理命令:

bash mtproxy_go.sh

安装说明

配置文件在/usr/local/mtproxy-go/mtproxy.conf可以手动修改,配置项详细介绍参见MTG文档
go安装目录在/tmp/go可以手动删除

参考

Github:https://github.com/whunt1/onekeymakemtg
MTG文档:https://github.com/9seconds/mtg#environment-variables