TGViewer
Lᴜᴄʏ Lᴜᴄʏ @lucychannel_1024 · 7.86K subscribers
Post #5388 2.05K
尝试解决一下 服务器自建节点长时间无 IPv6 流量后,再次连接 v6 地址会回退至 IPv4 出站

表现为 Surge MTProto 提示 “连接 Telegram IPv6 服务器时,在收到任何数据前反复失败。所选代理服务器可能不支持 IPv6 转发。请使用支持 IPv6 的代理,或在 [MTProto] 段中设置 `ipv6 = false`。”

sing-box 配置添加 [urltest] 策略组:


"outbounds": [
{
"type": "direct",
"tag": "direct"
},
{
"type": "urltest",
"tag": "direct-v6",
"outbounds": ["direct"],
"url": "http://[2001:4860:4860::8888]/generate_204",
"interval": "60s",
"idle_timeout": "5m"
}


或者使用 crontab


*/2 * * * * ping -6 -c 2 2001:4860:4860::8888 > /dev/null 2>&1


Powered by Gemini

#singbox #Surge
  • ❤ 1
More from @lucychannel_1024
  1. Oct 9, 2026这玩意感觉甚至比新刘的 MTProto 好用 Telegram iOS 官方客户端已支持 WebProxy
  2. Oct 9, 2026https://github.com/ToiCF/CF-Workers-TGProxy Create application ↓ Start with Hello World! ↓…
  3. Oct 9, 2026📱https://xhslink.cn/o/6Xzdu4Q5DrR
  4. Oct 9, 20266
  5. Oct 9, 2026https://dns.nw177.cn
  6. Oct 9, 2026?
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →