singbox 在win11上使用system stack,无法联网

使用1.11内核,win11上跑,目前入站配置如下:

 "inbounds": [
    {
      "type": "tun",
      "tag": "tun-in",
      "interface_name": "singbox-tun",
      "address": [
        "172.19.0.1/30",
        "fdfe:dcba:9876::1/126"
      ],
      "mtu": 9000,
      "auto_route": true,
      "strict_route": true,
      "route_exclude_address_set": [
        "geoip-cn"
      ],
      "stack": "system",
      "platform": {
        "http_proxy": {
          "enabled": true,
          "server": "127.0.0.1",
          "server_port": 2080
        }
      }
    },
    {
      "type": "mixed",
      "tag": "mixed-in",
      "listen": "127.0.0.1",
      "listen_port": 2080,
      "users": []
    }
  ]

问题:当设置 “stack”: "system"时,win11上 无法正常分流,应该走代理的网站无法打开。相同的入站配置在ios ,mac,安卓上 都正常工作 。
在win11上设置 “stack”: “gvisor” 可以正常分流 。
有人遇到过类似问题么?

建议用markdown code block把你的json包起来

{
    "a": "b",
    "c": "d"
}
```json
{
    "a": "b",
    "c": "d"
}
```

试试关闭 windows 防火墙,或在防火墙中放行 singbox

不太了解sing-box。是不是循环了?使用系统网络栈,系统网络栈会走tun的吧,然后又进sing-box了

找到问题了,tun 作为透明代理使用时需要劫持系统 DNS,dns server 不能填写local 。必须手动指定dns服务器ip地址或使用 dhcp://auto 替代。 dns local处理问题 #456