求助 sing-box服务端分流流媒体到dns解锁机无法正常使用

这是我的配置,同样的配置分流到原生解锁的落地就没问题

{
  "log": {
    "disabled": false,
    "level": "info",
    "timestamp": true
  },
  "route": {
    "rules": [
      {
        "geosite": [
          "netflix",
          "hbo",
          "disney",
          "spotify",
          "tiktok",
          "openai",
          "anthropic",
          "google-gemini"
        ],
        "outbound": "Unlock"
      },
      {
        "inbound": [
          "Singboxtun"
        ],
        "outbound": "direct"
      }
    ]
  },
  "inbounds": [
    {
      "type": "tun",
      "tag": "Singboxtun",
      "interface_name": "tun0",
      "inet4_address": "172.19.0.1/30",
      "mtu": 9000,
      "auto_route": true,
      "strict_route": false,
      "endpoint_independent_nat": true,
      "stack": "mixed",
      "include_uid": [1000],
      "udp_disable_domain_unmapping": true,
      "sniff": true
    }
  ],
  "outbounds": [
    {
      "type": "direct",
      "tag": "direct"
    },
    {
      "type": "socks",
      "tag": "Unlock",
      "server": "baidu.com",
      "server_port": 10000,
      "username": "admin",
      "password": "admin"
    }
  ]
}

1 Like

解锁机那边的dns出站配置不会绕过了解锁吧

经过大佬指点,添加了dns分流就好了