SagerNet / sing-box

The universal proxy platform
https://sing-box.sagernet.org/
Other
20.44k stars 2.44k forks source link

iOS 设备无法连接到网络 #1480

Closed Sentsuki closed 9 months ago

Sentsuki commented 9 months ago

Operating system

iOS

System version

17.3.1

Installation type

sing-box for iOS Graphical Client

If you are using a graphical client, please provide the version of the client.

1.8.5

Version

No response

Description

使用 singbox 无法连接到网络,全局 direct 也访问不了任何网站。直接拷贝官方给的实例配置也无法连通网络,包括可以正常访问的网站。网络正常。

Reproduction

使用以下配置即可复现。

{
  "inbounds": [
    {
      "type": "tun",
      "tag": "tun-in",
      "mtu": 9000,
      "inet4_address": "172.19.0.1/30",
      "auto_route": true,
      "stack": "mixed"
    }
  ],
  "outbounds": [
    {
      "type": "direct",
      "tag": "direct"
    }
  ],
  "route": {
    "final": "direct",
    "auto_detect_interface": true
  }
}

Logs

No response

Integrity requirements

vvstar1982 commented 9 months ago

{ "dns": { "servers": [ { "tag": "cf", "address": "https://1.1.1.1/dns-query" }, { "tag": "local", "address": "223.5.5.5", "detour": "direct" }, { "tag": "block", "address": "rcode://success" } ], "rules": [ { "geosite": "category-ads-all", "server": "block", "disable_cache": true }, { "outbound": "any", "server": "local" }, { "geosite": "cn", "server": "local" } ], "strategy": "ipv4_only" }, "inbounds": [ { "type": "tun", "inet4_address": "172.19.0.1/30", "auto_route": true, "strict_route": false, "sniff": true } ], "outbounds": [ { "type": "hysteria2", "tag": "proxy", "server": "x.x.x.x", "server_port": xxxx, "up_mbps": 100, "down_mbps": 100, "password": "xxxxxx", "tls": { "enabled": true, "server_name": "xxxxxxx", "insecure": true } }, { "type": "direct", "tag": "direct" }, { "type": "block", "tag": "block" }, { "type": "dns", "tag": "dns-out" } ], "route": { "rules": [ { "protocol": "dns", "outbound": "dns-out" }, { "geosite": "cn", "geoip": [ "private", "cn" ], "outbound": "direct" }, { "geosite": "category-ads-all", "outbound": "block" } ], "auto_detect_interface": true } }

best257 commented 4 months ago

解决了吗,我也是这个问题

king00-1 commented 4 months ago

解决了吗,我也是这个问题

你的解决吗?我的也是这个问题