yippee 发表于 2025-9-1 21:08:52

本站是怎么被阻断的

本帖最后由 yippee 于 2025-9-1 22:14 编辑

最近在换爬墙工具, 用sing-box tun模式打不开本站
ping<1ms判断是dns阻断, 把正确ip写到host正常访问本站
是我dns配置的问题吗
18cm好哥哥帮看下哪里有问题
---------------------------
配置问题已解决, 仅供参考
----------------------

{
    "log": {
      "level": "info",
      "timestamp": true
    },
    "dns": {
      "servers": [
            {
                "tag": "dns_proxy",
                "address": "https://1.1.1.1/dns-query",
                "address_resolver": "dns_resolver",
                "strategy": "ipv4_only",
                "detour": "proxy"
            },
            {
                "tag": "dns_direct",
                "address": "https://dns.alidns.com/dns-query",
                "address_resolver": "dns_resolver",
                "strategy": "ipv4_only",
                "detour": "direct"
            },
            {
                "tag": "dns_resolver",
                "address": "223.5.5.5",
                "detour": "direct"
            }
      ],
      "rules": [
            {
                "rule_set": "geosite-geolocation-!cn",
                "server": "dns_direct"
            }
      ],
      "final": "dns_proxy"
    },
    "route": {
      "rule_set": [
            {
                "tag": "geosite-geolocation-!cn",
                "type": "remote",
                "format": "binary",
                "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs",
                "download_detour": "proxy"
            },
            {
                "tag": "geoip-cn",
                "type": "remote",
                "format": "binary",
                "url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs",
                "download_detour": "proxy"
            },
            {
                "tag": "AdGuardSDNSFilter",
                "type": "remote",
                "format": "binary",
                "url": "https://raw.githubusercontent.com/xmdhs/sing-box-ruleset/rule-set/AdGuardSDNSFilterSingBox.srs"
            }
      ],
      "rules": [
            {
                "protocol": "dns",
                "outbound": "dns-out"
            },
            {
                "port": 853,
                "network": "tcp",
                "outbound": "block"
            },
            {
                "port": [
                  443,
                  853
                ],
                "network": "udp",
                "outbound": "block"
            },
            {
                "rule_set": "AdGuardSDNSFilter",
                "outbound":"block"
            },
            {
                "type": "logical",
                "mode": "and",
                "rules": [
                  {
                        "rule_set": "geoip-cn",
                        "invert": true
                  },
                  {
                        "rule_set": "geosite-geolocation-!cn"
                  }
                ],
                "outbound": "proxy"
            },
            {
                "rule_set": "geoip-cn",
                "outbound": "direct"
            },
            {
                "ip_is_private": true,
                "outbound": "direct"
            }
      ],
      "final": "proxy",
      "default_domain_resolver": "dns_proxy",
      "auto_detect_interface": true
    },
    "inbounds": [
      {
            "type": "tun",
            "tag": "tun-in",
            "address": [
                "172.16.0.1/30",
                "fd00::1/126"
            ],
            "mtu": 1492,
            "auto_route": true,
            "strict_route": true,
            "stack": "system",
            "sniff": true,
            "sniff_override_destination": false
      }
    ],
    "outbounds": [
      {
            "tag": "proxy",
            "xxxxxxxxx"
      },
      {
            "type": "direct",
            "tag": "direct"
      },
      {
            "type": "block",
            "tag": "block"
      },
      {
            "type": "dns",
            "tag": "dns-out"
      }
    ],
    "experimental": {
      "cache_file": {
            "enabled": true,
            "path": "cache.db"
      }
    }
}

爱消失 发表于 2025-9-1 21:16:57

别折腾了用 https://github.com/OneOhCloud/OneBox

爱消失 发表于 2025-9-1 21:15:24

别折腾了用

ant48 发表于 2025-9-1 21:16:30

TUN模式下PING是不正确的吧?

yippee 发表于 2025-9-1 21:23:07

爱消失 发表于 2025-9-1 21:16
别折腾了用 https://github.com/OneOhCloud/OneBox

还是要写配置(订阅连接)yc002t

yippee 发表于 2025-9-1 21:24:51

ant48 发表于 2025-9-1 21:16
TUN模式下PING是不正确的吧?

怀疑过, 但是浏览器同样打不开
能打开google, 很奇怪

土匪 发表于 2025-9-2 13:22:48

现在不FQ可以打开GOOGLE.CN...
页: [1]
查看完整版本: 本站是怎么被阻断的