MTProto协议介绍

MTProto协议是 Telegram 为了对抗网络封锁开发的专用代理(MTProxy)协议,目前全平台的 TG 客户端中都支持MTProto协议和MTProxy代理。有了MTProxy代理,即使没有VPN或者其他代理的情况下,也能顺畅访问TG。

一键搭建Telegram的MTProto代理

1.正常连接ssh,更新系统

apt-get update #ubuntu和debain
apt-get upgrade

yum -y update #centos系统
yum -y upgrade

2.安装bbr网络加速

echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
sysctl net.ipv4.tcp_available_congestion_control

3.一键脚本

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