分页: 1 / 1

sing-box 绕过 tailscale 路由解决直连打洞问题

发表于 : 2023年 12月 13日 19:20
BobMaster
默认配置下tun模式里tailscale是没法直接打洞成功的,根据官方文档,tailscale使用100.64.0.0/10fd7a:115c:a1e0::/48子网段,我们将这个网段排除在sing-box tun的路由之外即可。

代码: 全选

"inbounds": [
    {
      "type": "tun",
      "sniff": true,
      "inet4_address": "172.19.0.1/30",
      "inet6_address": "fdfe:dcba:9876::1/126",
      "auto_route": true,
      "stack": "system",
+      "inet4_route_exclude_address": [
+        "100.64.0.0/10"
+      ],
+      "inet6_route_exclude_address": [
+          "fd7a:115c:a1e0::/48"
+      ]
    }
  ]