搭建MTProxy推广自己的 Telegram 频道 / 群组

简介

MtProxy是专门为Telegram开发的代理,不需要额外的翻墙,官方源码使用 C 语言编写
官方Gayhub(Github)地址:
https://github.com/TelegramMessenger/MTProxy

安裝命令

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/MTProxy-Bash/master/install.sh && bash install.sh

会提示输入端口,secret,nat等,如果你的vps托管在GCP,AWS等绑定的是内部局域网IP的服务商上面,你需要填写nat,否则回车跳过,格式内网ip:外网ip

设置赞助频道之后,使用你的代理的客户端会在聊天主界面置顶显示你设置的频道

推销

给@MTProxybot 发送指令myproxies
点击它返回的你的代理的tag
点击菜单Set promotion
回复你的频道的id或者链接,例如https://t.me/ensucc 或者@ensucc,这里必须是频道(channel),不能是群组(group)
设置完毕

查看端口

cat /etc/proxy-port

查看key

cat /etc/secret

卸载

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/MTProxy-Bash/master/uninstall.sh && bash uninstall.sh
目前安装被封的几率很大。
阅读剩余
THE END