Files
wiki/tasks/mtproxy/happ-telegram-route.json
2026-04-12 21:55:33 +03:00

97 lines
1.9 KiB
JSON

{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"tag": "socks-in",
"protocol": "socks",
"listen": "127.0.0.1",
"port": 10808,
"settings": {
"auth": "noauth",
"udp": true
}
},
{
"tag": "http-in",
"protocol": "http",
"listen": "127.0.0.1",
"port": 10809,
"settings": {}
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "185.130.212.192",
"port": 443,
"users": [
{
"id": "d3a2fae8-d703-4b2f-8d94-afb016d57640",
"encryption": "none",
"flow": "xtls-rprx-vision"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"serverName": "www.microsoft.com",
"fingerprint": "chrome",
"publicKey": "3jY3vI6MUTEn3X20u7xDjpxrF2wO6zUxiXgP-Aie7yQ",
"shortId": "a1b2c3d4",
"spiderX": ""
}
}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {}
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"outboundTag": "proxy",
"domain": [
"telegram.org",
"t.me",
"core.telegram.org"
]
},
{
"type": "field",
"outboundTag": "proxy",
"ip": [
"149.154.160.0/20",
"91.108.4.0/22",
"91.108.8.0/22",
"91.108.56.0/22",
"95.161.64.0/20"
]
},
{
"type": "field",
"outboundTag": "direct",
"network": "tcp,udp"
}
]
}
}