全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 504|回复: 0

[美国VPS] 本站是怎么被阻断的

[复制链接]
发表于 3 天前 | 显示全部楼层 |阅读模式
本帖最后由 yippee 于 2025-9-1 22:14 编辑

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

  1. {
  2.     "log": {
  3.         "level": "info",
  4.         "timestamp": true
  5.     },
  6.     "dns": {
  7.         "servers": [
  8.             {
  9.                 "tag": "dns_proxy",
  10.                 "address": "https://1.1.1.1/dns-query",
  11.                 "address_resolver": "dns_resolver",
  12.                 "strategy": "ipv4_only",
  13.                 "detour": "proxy"
  14.             },
  15.             {
  16.                 "tag": "dns_direct",
  17.                 "address": "https://dns.alidns.com/dns-query",
  18.                 "address_resolver": "dns_resolver",
  19.                 "strategy": "ipv4_only",
  20.                 "detour": "direct"
  21.             },
  22.             {
  23.                 "tag": "dns_resolver",
  24.                 "address": "223.5.5.5",
  25.                 "detour": "direct"
  26.             }
  27.         ],
  28.         "rules": [
  29.             {
  30.                 "rule_set": "geosite-geolocation-!cn",
  31.                 "server": "dns_direct"
  32.             }
  33.         ],
  34.         "final": "dns_proxy"
  35.     },
  36.     "route": {
  37.         "rule_set": [
  38.             {
  39.                 "tag": "geosite-geolocation-!cn",
  40.                 "type": "remote",
  41.                 "format": "binary",
  42.                 "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs",
  43.                 "download_detour": "proxy"
  44.             },
  45.             {
  46.                 "tag": "geoip-cn",
  47.                 "type": "remote",
  48.                 "format": "binary",
  49.                 "url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs",
  50.                 "download_detour": "proxy"
  51.             },
  52.             {
  53.                 "tag": "AdGuardSDNSFilter",
  54.                 "type": "remote",
  55.                 "format": "binary",
  56.                 "url": "https://raw.githubusercontent.com/xmdhs/sing-box-ruleset/rule-set/AdGuardSDNSFilterSingBox.srs"
  57.             }
  58.         ],
  59.         "rules": [
  60.             {
  61.                 "protocol": "dns",
  62.                 "outbound": "dns-out"
  63.             },
  64.             {
  65.                 "port": 853,
  66.                 "network": "tcp",
  67.                 "outbound": "block"
  68.             },
  69.             {
  70.                 "port": [
  71.                     443,
  72.                     853
  73.                 ],
  74.                 "network": "udp",
  75.                 "outbound": "block"
  76.             },
  77.             {
  78.                 "rule_set": "AdGuardSDNSFilter",
  79.                 "outbound":"block"
  80.             },
  81.             {
  82.                 "type": "logical",
  83.                 "mode": "and",
  84.                 "rules": [
  85.                     {
  86.                         "rule_set": "geoip-cn",
  87.                         "invert": true
  88.                     },
  89.                     {
  90.                         "rule_set": "geosite-geolocation-!cn"
  91.                     }
  92.                 ],
  93.                 "outbound": "proxy"
  94.             },
  95.             {
  96.                 "rule_set": "geoip-cn",
  97.                 "outbound": "direct"
  98.             },
  99.             {
  100.                 "ip_is_private": true,
  101.                 "outbound": "direct"
  102.             }
  103.         ],
  104.         "final": "proxy",
  105.         "default_domain_resolver": "dns_proxy",
  106.         "auto_detect_interface": true
  107.     },
  108.     "inbounds": [
  109.         {
  110.             "type": "tun",
  111.             "tag": "tun-in",
  112.             "address": [
  113.                 "172.16.0.1/30",
  114.                 "fd00::1/126"
  115.             ],
  116.             "mtu": 1492,
  117.             "auto_route": true,
  118.             "strict_route": true,
  119.             "stack": "system",
  120.             "sniff": true,
  121.             "sniff_override_destination": false
  122.         }
  123.     ],
  124.     "outbounds": [
  125.         {
  126.             "tag": "proxy",
  127.             "xxxxxxxxx"
  128.         },
  129.         {
  130.             "type": "direct",
  131.             "tag": "direct"
  132.         },
  133.         {
  134.             "type": "block",
  135.             "tag": "block"
  136.         },
  137.         {
  138.             "type": "dns",
  139.             "tag": "dns-out"
  140.         }
  141.     ],
  142.     "experimental": {
  143.         "cache_file": {
  144.             "enabled": true,
  145.             "path": "cache.db"
  146.         }
  147.     }
  148. }
复制代码


发表于 3 天前 来自手机 | 显示全部楼层
别折腾了用 https://github.com/OneOhCloud/OneBox
发表于 3 天前 来自手机 | 显示全部楼层
别折腾了用
发表于 3 天前 | 显示全部楼层
TUN模式下PING是不正确的吧?
 楼主| 发表于 3 天前 | 显示全部楼层
爱消失 发表于 2025-9-1 21:16
别折腾了用 https://github.com/OneOhCloud/OneBox

还是要写配置(订阅连接)
 楼主| 发表于 3 天前 | 显示全部楼层
ant48 发表于 2025-9-1 21:16
TUN模式下PING是不正确的吧?

怀疑过, 但是浏览器同样打不开
能打开google, 很奇怪
发表于 前天 13:22 | 显示全部楼层
现在不FQ可以打开GOOGLE.CN...
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-9-4 12:46 , Processed in 0.060703 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表