推荐使用新版
来源https://saodaye.com/sharel/2163.html
bash <(wget -qO- https://git.io/mtg.sh)
MTG 是基于 MTProxy 的一个分支,理论上是不会被屏蔽阻断掉的,当然这个也不是百分百的安全,说到底只是时间的问题,被识别可能也就是时间未到而已,但近期使用来看,还是问题不大的;
----------------------下面是旧版,出境流量会被封,已经变得不可用,仅做历史------------------------------
Telegram 走mtproxy可以实现免开纸飞机。
下面是我在v2ray服务端增加mtproxy成功运行起来一个例子。
{
"inbound":{
"listen":"127.0.0.1",
"port":22292,
"protocol":"vmess",
"settings":{
"udp":true,
"clients":[
{
"id":"d7bb1243-f0f9-47dd-b55e-9e9369a92af9",
"alterId":64,
"email":"123@v2ray.com"
}
]
},
"streamSettings":{
"network":"ws",
"wsSettings":{
"path":"/58f51920-48d1-4632-a4bc-c659c9e642b8"
}
}
},
"inboundDetour":[
{
"tag":"tg-in",
"listen":"0.0.0.0",
"port":1206,
"protocol":"mtproto",
"settings":{
"users":[
{
"secret":"b0cbcef5a486d9636472ac27f8e11a9d"
}
]
}
}
],
"outbound":{
"protocol":"freedom",
"settings":{
}
},
"outboundDetour":[
{
"protocol":"blackhole",
"settings":{
},
"tag":"blocked"
},
{
"tag":"tg-out",
"protocol":"mtproto",
"settings":{
}
}
],
"routing":{
"strategy":"rules",
"settings":{
"rules":[
{
"type":"field",
"inboundTag":[
"tg-in"
],
"outboundTag":"tg-out"
}
]
}
}
}
没有评论:
发表评论