惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
J
Java Code Geeks
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
MyScale Blog
MyScale Blog
G
Google Developers Blog
Microsoft Azure Blog
Microsoft Azure Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
大猫的无限游戏
大猫的无限游戏
博客园 - 三生石上(FineUI控件)
Google DeepMind News
Google DeepMind News
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
N
Netflix TechBlog - Medium
MongoDB | Blog
MongoDB | Blog
I
InfoQ
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Help Net Security

宽带症候群

搓搓(cuocuo)隧道 机场专用客户端如何抓取节点 用了好多年的机场(梯子)就快停止服务了,求大家推荐一些价格实惠的机场或者梯子 V2EX › 登录 [开源] 中兴路由器 Web 后台全系增强插件 联通宽带速率不达标 现在这个形势,推荐备一个 CMHK 的流量卡 湖北电信宽带免费提速活动 对上海联通限速的观察和讨论 lucky 2 的卡,查询 ip 的时候是在香港,但是网站识别到的地区似乎在日本 求推荐对 claude code, chatgpt 友好的联网方法 如何在国内受限网络环境下使用官方 claude 或 codex 等模型? 随身 wifi 有推荐的吗,流量大的。 异地组网方案怎么选?从 n2n 到 WireGuard,折腾一圈后的真实记录 海鲜市场花 1700 大洋买了个苏州电信的老号 一个 ipv6 /64 被电信屏蔽,联通移动全绿电信全红,这是新型的运营商墙么? holafly esim 在国内数据漫游 国内 ipv6 的 ddns 已经完全失效了吗? 家庭环境下,屏蔽线怎么接地,单端还是双端 [宽带症候群] 求助-开了 v2rayA,家里面上不了网了 阿里云轻量服务器用来做加宽中转实际会被 ban 吗? 这段时间移动网络是不是很差? 为啥短信还在收费 咨询一个 iptv 的问题 最近几周发现 webdav 没用了 今天仔细一查发现疑似运营商阻断了? 中兴星云 POE 套装怎么样,有大佬用过吗 准备自己搭一套全屋 WiFi,方案基本确定,但在软路由和部署方式上有点纠结,想请教下有经验的朋友 豆瓣在广东电信的解析是不是又崩了 翻墙后的手机怎么把热点共享出去也让其他设备能翻墙上网 你们有没有遇到过,通过梯子看 youtube 高清视频的时候,竟然会导致全家的 wifi 异常断开
安卓手机 sing-box 和 tailscale 共存配置参考
evemoo · 2026-04-20 · via 宽带症候群

一开始折腾 Clash-Meta 和 tailscaled-socks5-android 浪费了很多时间,指定 Userspace networking mode 的 socks5 代理出口一直报错:

dial tail-socks match IPCIDR/100.64.0.0/10 --> error: context deadline exceeded
172.19.0.1:41221 -> 100.170.x.x:9801 io/timeout



测试版本:Android 15 + SFA 1.14.0-alpha.15 、Windows-amd64 + SFA 1.13.9

基础配置来源:OkProxyConf Sing-Box Generator,修改 outbounds 和 endpoint 的配置

重点:

  1. sing-box inbounds 的 tun 不能加 route_exclude_address,加了的话 100.64.0.0/10 会走直连不经过 tun (和 Windows 上的 Clash 配置有区别,被坑了)
  2. 要访问自己的子网设备,route -> rules 的 IPCIDR 要加上自己的内网网段( 192.168.x.x/16),不然规则往下匹配会走直连



配置参考:

{
  "$schema": "https://raw.githubusercontent.com/xmdhs/sing-box-generate-schema/refs/heads/master/schema.generated.json",
  "log": {
    "disabled": false,
    "level": "error",
    "timestamp": true
  },
  "dns": {
    "strategy": "prefer_ipv4",
    "servers": [
      {
        "tag": "dns_remote",
        "type": "https",
        "server": "1.1.1.1",
        "detour": "proxy"
      },
      {
        "tag": "dns_cn",
        "type": "https",
        "server": "223.5.5.5"
      },
      {
        "tag": "dns_local",
        "type": "udp",
        "server": "223.5.5.5"
      },
      {
        "tag": "dns_fakeip",
        "type": "fakeip",
        "inet4_range": "198.18.0.0/15",
        "inet6_range": "fc00::/18"
      }
    ],
    "rules": [
      {
        "clash_mode": "direct",
        "server": "dns_cn"
      },
      {
        "clash_mode": "global",
        "server": "dns_remote"
      },
      {
        "rule_set": "geosite-cn",
        "server": "dns_cn"
      },
      {
        "query_type": [
          "A",
          "AAAA"
        ],
        "rule_set": "geosite-geolocation-!cn",
        "server": "dns_fakeip"
      }
    ],
    "final": "dns_remote"
  },
  "inbounds": [
    {
      "tag": "tun-in",
      "type": "tun",
      "address": [
        "172.19.0.1/30",
        "fdfe:dcba:9876::1/126"
      ],
      "mtu": 9000,
      "auto_route": true,
      "strict_route": true,
      "stack": "mixed"
    },
    {
      "tag": "mixed-in",
      "type": "mixed",
      "listen": "127.0.0.1",
      "listen_port": 7890
    }
  ],
  "experimental": {
    "clash_api": {
      "external_controller": "127.0.0.1:9095",
      "external_ui": "ui",
      "external_ui_download_url": "https://gh-proxy.com/https://github.com/Zephyruso/zashboard/archive/refs/heads/gh-pages.zip",
      "external_ui_download_detour": "direct"
    },
    "cache_file": {
      "enabled": true,
      "path": "cache.db"
    }
  },
  "outbounds": [
    {
      "tag": "proxy",
      "type": "selector",
      "default": "urltest",
      "outbounds": [
        "urltest",
        "hysteria2",
        "tls-reality"
      ]
    },
    {
      "tag": "urltest",
      "type": "urltest",
      "outbounds": [
        "hysteria2",
        "tls-reality"
      ]
    },
    {
      "password": "",
      "server": "",
      "server_port": 443,
      "tag": "hysteria2",
      "tls": {
        "enabled": true,
        "server_name": ""
      },
      "type": "hysteria2"
    },
    {
      "server": "",
      "server_port": 443,
      "tag": "tls-reality",
      "tls": {
        "enabled": true,
        "server_name": "www.visa.com.hk",
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        },
        "reality": {
          "enabled": true,
          "public_key": "",
          "short_id": ""
        }
      },
      "type": "vless",
      "uuid": "",
      "flow": "xtls-rprx-vision"
    }
  ],
  "endpoints": [
    {
      "type": "tailscale",
      "tag": "tailscale-in",
      "auth_key": "",
      "accept_routes": true,
      "system_interface": false,
      "udp_timeout": "1m"
    }
  ],
  "route": {
    "default_domain_resolver": {
      "server": "dns_local"
    },
    "rules": [
      {
        "domain_suffix": [
          "ts.net"
        ],
        "outbound": "tailscale-in"
      },
      {
        "ip_cidr": [
          "100.64.0.0/10",
          "fd7a:115c:a1e0::/48",
          "192.168.31.1/24"
        ],
        "outbound": "tailscale-in"
      },
      {
        "action": "sniff",
        "sniffer": [
          "http",
          "tls",
          "quic",
          "dns"
        ],
        "timeout": "500ms"
      },
      {
        "type": "logical",
        "mode": "or",
        "rules": [
          {
            "port": 53
          },
          {
            "protocol": "dns"
          }
        ],
        "action": "hijack-dns"
      },
      {
        "ip_is_private": true,
        "action": "route",
        "outbound": "direct"
      },
      {
        "rule_set": [
          "geosite-category-ads-all"
        ],
        "action": "reject"
      },
      {
        "clash_mode": "Global",
        "action": "route",
        "outbound": "proxy"
      },
      {
        "clash_mode": "Direct",
        "action": "route",
        "outbound": "direct"
      },
      {
        "type": "logical",
        "mode": "and",
        "rules": [
          {
            "rule_set": "geosite-geolocation-!cn"
          },
          {
            "invert": true,
            "rule_set": [
              "geosite-cn"
            ]
          }
        ],
        "action": "route",
        "outbound": "proxy"
      },
      {
        "rule_set": [
          "geosite-cn"
        ],
        "action": "route",
        "outbound": "direct"
      },
      {
        "rule_set": [
          "geoip-cn"
        ],
        "action": "route",
        "outbound": "direct"
      }
    ],
    "auto_detect_interface": true,
    "rule_set": [
      {
        "tag": "geosite-category-ads-all",
        "type": "remote",
        "format": "binary",
        "url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/category-ads-all.srs"
      },
      {
        "tag": "geoip-cn",
        "type": "remote",
        "format": "binary",
        "url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geoip/cn.srs"
      },
      {
        "tag": "geosite-cn",
        "type": "remote",
        "format": "binary",
        "url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/cn.srs"
      },
      {
        "tag": "geosite-geolocation-!cn",
        "type": "remote",
        "format": "binary",
        "url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/geolocation-!cn.srs"
      }
    ]
  }
}



以下报错是正常的,不用管:

missing Tailscale IPv4 address 报错

implicit default HTTP client using default outbound for remote rule-sets is deprecated ,https://github.com/SagerNet/sing-box/issues/4051 说在 1.14-alpha 修了,但是启动还是会提示

REF:

  1. 在 Android 上同时使用 Clash for Android 和 Tailscale
  2. sb 集成 Tailscale 访问内网