MTPROTO一键脚本安装教程

2021 年 2 月 12 日 2494点热度 0人点赞 0条评论

近两日,多个telegram代理无法正常使用,想到自己还有一个香港的云服务器闲置,于是就网上寻找相关教程,自己搭建了一个,记录步骤如下。

1. 安装BBR加速

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
chmod +x bbr.sh
./bbr.sh

安装完成后,脚本会提示需要重启 VPS ,输入 y 并回车后重启。

2. 安装 MTProxyTLS 一键脚本

mkdir /home/mtproxy && cd /home/mtproxy
curl -s -o mtproxy.sh https://raw.githubusercontent.com/ellermister/mtproxy/master/mtproxy.sh && chmod +x mtproxy.sh && bash mtproxy.sh

安装时会提示端口选择、伪装域名及推广TAG,一律回车使用默认值即可。

安装完成即启用mtproxy,复制mtproxy链接到Telegram即可使用。

3. 使用方式

启动服务 bash ./mtproxy.sh start
调试运行 linux bash ./mtproxy.sh debug
停止服务 bash ./mtproxy.sh stop
重启服务 bash ./mtproxy.sh restart
修复常见问题 bash ./mtproxy.sh fix

4. 卸载方式

直接删除当前目录下文件即可

rm -rf /home/mtproxy

脚本源码:https://github.com/ellermister/mtproxy

文章来源:https://www.fi32.com/diannao/21.html,转载请注明出处,谢谢!

贾小宝宝

这个人很懒,什么都没留下

文章评论