跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[宽带症候群] 关于 sing-box 的规则问题咨询下大家, dns 和 route 规则为什么不同步?

发表于

国内小众站都走代理了,看日志 dns 模块是触发 geoip-cn 这条规则了,但是 route 模块直接走 final ,好奇为什么不会经过 route 内的 geoip-cn 规则走直连呢?

  头部省略。。。
 "dns": {
    "servers": [
      {"tag": "dns_local", "address": "223.5.5.5", "detour": "direct", "strategy": "ipv4_only"},
      {"tag": "dns_proxy", "address": "https://8.8.8.8/dns-query", "address_resolver": "dns_local", "detour": "proxy", "strategy": "ipv4_only"},
      {"tag": "dns_fakeip", "address": "fakeip"}
    ],
    "rules": [
      {"outbound": "any", "server": "dns_local"},
      {"rule_set": "geosite-geolocation-!cn", "server": "dns_fakeip"},
      {"rule_set": ["geosite-geolocation-cn", "geoip-cn"], "server": "dns_local"}
    ],
    "disable_cache": true,
    "fakeip": {
      "enabled": true,
      "inet4_range": "172.7.0.0/15",
      "inet6_range": "fc00:172:7::/126"
    }
  },
  "route": {
    "rules": [
      {"inbound": "dns-in", "outbound": "dns-out"},
      {"protocol": "dns", "outbound": "dns-out"},
      {"ip_is_private": true, "outbound": "direct"},
      {"rule_set": "geosite-geolocation-!cn", "outbound": "proxy"},
      {"rule_set": ["geosite-geolocation-cn", "geoip-cn"], "outbound": "direct"},
      {"inbound": "mixed-in", "outbound": "proxy"}
    ],
    "rule_set": [
    此处省略。。。
    ],
    "final": "proxy",
    "auto_detect_interface": true
  },
  "inbounds": [
    {
      "type": "tun",
      "tag": "tun-in",
      "inet4_address": "172.7.0.1/30",
      "inet6_address": "fd00:172:7::1/126",
      "mtu": 1400,
      "auto_route": true,
      "strict_route": true,
      "stack": "system",
      "sniff": true,
      "sniff_override_destination": true,
      "gso": false
    },
    {
      "type": "mixed",
      "tag": "mixed-in",
      "listen": "0.0.0.0",
      "listen_port": 7890
    }
  ],
  尾部省略。。。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.