vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
17.1k stars 3.13k forks source link

[Bug] 升级到新版本0.46.033后OpenClash不能访问Youtube等 #4092

Open HenryLuoCN opened 1 week ago

HenryLuoCN commented 1 week ago

Verify Steps

OpenClash Version

v0.46.033beta

Bug on Environment

Official OpenWrt

OpenWrt Version

23.05.4 r24012-d8dd03c46f

Bug on Platform

Linux-amd64(x86-64)

Describe the Bug

OpenClash里面dashboard管理界面测试,可以看到很多机场节点是正常的: image

OpenClash主页网站访问检查却是不通 image

但是Mac上装的Clash Verge可以正常访问油管和谷歌等,查看日志感觉是DNS解析有问题。

To Reproduce

升级新版本后,经常是不是不能访问Youtube和其他外网,反复修改各种配置也无效,现在导出日志供参考

OpenClash Log

OpenClash 调试日志

生成时间: 2024-10-06 10:47:01
插件版本: v0.46.033-beta
隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息

#===================== 系统信息 =====================#

主机型号: PAIQ EC3-BT19D4L
固件版本: OpenWrt 23.05.4 r24012-d8dd03c46f
LuCI版本: git-23.051.66410-a505bb1
内核版本: 5.15.162
处理器架构: x86_64

#此项有值时,如不使用IPv6,建议到网络-接口-lan的设置中禁用IPV6的DHCP
IPV6-DHCP: 

DNS劫持: Dnsmasq 转发
#DNS劫持为Dnsmasq时,此项结果应仅有配置文件的DNS监听地址
Dnsmasq转发设置: 127.0.0.1#7874

#===================== 依赖检查 =====================#

dnsmasq-full: 已安装
coreutils: 已安装
coreutils-nohup: 已安装
bash: 已安装
curl: 已安装
ca-certificates: 已安装
ipset: 已安装
ip-full: 已安装
libcap: 已安装
libcap-bin: 已安装
ruby: 已安装
ruby-yaml: 已安装
ruby-psych: 已安装
ruby-pstore: 已安装
kmod-tun(TUN模式): 已安装
luci-compat(Luci >= 19.07): 已安装
kmod-inet-diag(PROCESS-NAME): 已安装
unzip: 已安装
kmod-nft-tproxy: 已安装

#===================== 内核检查 =====================#

运行状态: 运行中
运行内核:Meta
进程pid: 27364
运行权限: 27364: cap_dac_override,cap_net_bind_service,cap_net_admin,cap_net_raw,cap_sys_ptrace,cap_sys_admin,cap_sys_resource=eip
运行用户: nobody
已选择的架构: linux-amd64

#下方无法显示内核版本号时请确认您的内核版本是否正确或者有无权限

Meta内核版本: alpha-g59a2b24
Meta内核文件: 存在
Meta内核运行权限: 正常

#===================== 插件设置 =====================#

当前配置文件: /etc/openclash/config/qiyi.yaml
启动配置文件: /etc/openclash/qiyi.yaml
运行模式: redir-host
默认代理模式: rule
UDP流量转发(tproxy): 启用
自定义DNS: 停用
IPV6代理: 停用
IPV6-DNS解析: 停用
禁用Dnsmasq缓存: 启用
自定义规则: 启用
仅允许内网: 停用
仅代理命中规则流量: 停用
仅允许常用端口流量: 停用
绕过中国大陆IP: 停用
路由本机代理: 停用

#启动异常时建议关闭此项后重试
混合节点: 停用
保留配置: 停用

#启动异常时建议关闭此项后重试
第三方规则: 停用

#===================== 自定义规则 一 =====================#
script:
##  shortcuts:
##    Notice: The core timezone is UTC
##    CST 20:00-24:00 = time.now().hour > 12 and time.now().hour < 16
##    内核时区为UTC,故以下time.now()函数的取值需要根据本地时区进行转换
##    北京时间(CST) 20:00-24:00 = time.now().hour > 12 and time.now().hour < 16
##    quic: network == 'udp' and dst_port == 443 and (geoip(resolve_ip(host)) != 'CN' or geoip(dst_ip) != 'CN')
##    time-limit: in_cidr(src_ip,'192.168.1.2/32') and time.now().hour < 20 or time.now().hour > 21
##    time-limit: src_ip == '192.168.1.2' and time.now().hour < 20 or time.now().hour > 21

##  code: |
##    def main(ctx, metadata):
##        directkeywordlist = ["baidu"]
##        for directkeyword in directkeywordlist:
##          if directkeyword in metadata["host"]:
##            ctx.log('[Script] matched keyword %s use direct' % directkeyword)
##            return "DIRECT"

rules:
##- SCRIPT,quic,REJECT #shortcuts rule
##- SCRIPT,time-limit,REJECT #shortcuts rule

##- PROCESS-NAME,curl,DIRECT #匹配路由自身进程(curl直连)
##- DOMAIN-SUFFIX,google.com,Proxy #匹配域名后缀(交由Proxy代理服务器组)
##- DOMAIN-KEYWORD,google,Proxy #匹配域名关键字(交由Proxy代理服务器组)
##- DOMAIN,google.com,Proxy #匹配域名(交由Proxy代理服务器组)
##- DOMAIN-SUFFIX,ad.com,REJECT #匹配域名后缀(拒绝)
##- IP-CIDR,127.0.0.0/8,DIRECT #匹配数据目标IP(直连)
##- SRC-IP-CIDR,192.168.1.201/32,DIRECT #匹配数据发起IP(直连)
##- DST-PORT,80,DIRECT #匹配数据目标端口(直连)
##- SRC-PORT,7777,DIRECT #匹配数据源端口(直连)

##排序在上的规则优先生效,如添加(去除规则前的#号):
##IP段:192.168.1.2-192.168.1.200 直连
##- SRC-IP-CIDR,192.168.1.2/31,DIRECT
##- SRC-IP-CIDR,192.168.1.4/30,DIRECT
##- SRC-IP-CIDR,192.168.1.8/29,DIRECT
##- SRC-IP-CIDR,192.168.1.16/28,DIRECT
##- SRC-IP-CIDR,192.168.1.32/27,DIRECT
##- SRC-IP-CIDR,192.168.1.64/26,DIRECT
##- SRC-IP-CIDR,192.168.1.128/26,DIRECT
##- SRC-IP-CIDR,192.168.1.192/29,DIRECT
##- SRC-IP-CIDR,192.168.1.200/32,DIRECT

##IP段:192.168.1.202-192.168.1.255 直连
##- SRC-IP-CIDR,192.168.1.202/31,DIRECT
##- SRC-IP-CIDR,192.168.1.204/30,DIRECT
##- SRC-IP-CIDR,192.168.1.208/28,DIRECT
##- SRC-IP-CIDR,192.168.1.224/27,DIRECT

##此时IP为192.168.1.1和192.168.1.201的客户端流量走代理(策略),其余客户端不走代理
##因为Fake-IP模式下,IP地址为192.168.1.1的路由器自身流量可走代理(策略),所以需要排除

##仅设置路由器自身直连:
##- SRC-IP-CIDR,192.168.1.1/32,DIRECT
##- SRC-IP-CIDR,198.18.0.1/32,DIRECT

##DDNS
##- DOMAIN-SUFFIX,checkip.dyndns.org,DIRECT
##- DOMAIN-SUFFIX,checkipv6.dyndns.org,DIRECT
##- DOMAIN-SUFFIX,checkip.synology.com,DIRECT
##- DOMAIN-SUFFIX,ifconfig.co,DIRECT
##- DOMAIN-SUFFIX,api.myip.com,DIRECT
##- DOMAIN-SUFFIX,ip-api.com,DIRECT
##- DOMAIN-SUFFIX,ipapi.co,DIRECT
##- DOMAIN-SUFFIX,ip6.seeip.org,DIRECT
##- DOMAIN-SUFFIX,members.3322.org,DIRECT

##在线IP段转CIDR地址:http://ip2cidr.com

#===================== 自定义规则 二 =====================#
script:
##  shortcuts:
##    common_port: dst_port not in [21, 22, 23, 53, 80, 123, 143, 194, 443, 465, 587, 853, 993, 995, 998, 2052, 2053, 2082, 2083, 2086, 2095, 2096, 5222, 5228, 5229, 5230, 8080, 8443, 8880, 8888, 8889]

##  code: |
##    def main(ctx, metadata):
##        directkeywordlist = ["baidu"]
##        for directkeyword in directkeywordlist:
##          if directkeyword in metadata["host"]:
##            ctx.log('[Script] matched keyword %s use direct' % directkeyword)
##            return "DIRECT"

rules:
##- SCRIPT,common_port,DIRECT #shortcuts rule

##- DOMAIN-SUFFIX,google.com,Proxy #匹配域名后缀(交由Proxy代理服务器组)
##- DOMAIN-KEYWORD,google,Proxy #匹配域名关键字(交由Proxy代理服务器组)
##- DOMAIN,google.com,Proxy #匹配域名(交由Proxy代理服务器组)
##- DOMAIN-SUFFIX,ad.com,REJECT #匹配域名后缀(拒绝)
##- IP-CIDR,127.0.0.0/8,DIRECT #匹配数据目标IP(直连)
##- SRC-IP-CIDR,192.168.1.201/32,DIRECT #匹配数据发起IP(直连)
##- DST-PORT,80,DIRECT #匹配数据目标端口(直连)
##- SRC-PORT,7777,DIRECT #匹配数据源端口(直连)

#===================== 配置文件 =====================#

mixed-port: 7893
allow-lan: true
mode: rule
log-level: warning
external-controller: 0.0.0.0:9090
proxy-groups:
- name: "\U0001F343 Proxies"
  type: select
  proxies:
  - "⭐️ Auto"
  - V1-俄罗斯01 CDN隧道 1.2x
  - V1-加拿大A CDN隧道 1.5x
  - V1-印度01 CDN隧道 1.5x
  - V1-台湾01 隧道 1.5x
  - V1-台湾99 Hinet直连 速度随缘 0.5x
  - V1-德国01 CDN隧道 1.5x
  - V1-新加坡 隧道 均衡负载 动态IP 1.3x
  - V1-日本98 CDN隧道 3x
  - V1-日本A 隧道 1.6x
  - V1-波兰01 隧道 2x
  - V1-澳洲01 隧道 | 2x
  - V1-美国 隧道 均衡负载 动态IP 1.3x
  - V1-美国01 隧道 1.5x
  - V1-美国03 隧道 1.5x
  - V1-英国01 CDN隧道 1.5x
  - V1-韩国01 隧道 1.5x
  - V1-香港A 隧道 1.6x
  - V1-香港HKBGP01 隧道 | 3x
  - V1-香港HKT02 隧道  原生家宽 2x
  - V1-香港HKT03 隧道 2x
  - V2-PRO 加拿大B 3x
  - V2-PRO 台湾01 4x
  - V2-PRO 巴西01 7x
  - V2-PRO 德国01 | 7x
  - V2-PRO 日本A 4x
  - V2-PRO 波兰01 6x
  - V2-PRO 澳洲01 | 7x
  - V2-PRO 美国01 4x
  - V2-PRO 英国01 6x
  - V2-PRO 香港A 4x
  - V2-PRO 香港B 4x
  - V2-台湾11 套娃 中继 1.5x
  - V2-巴西01 CDN隧道 3x
  - V2-新加坡06 套娃 中继 1.5x
  - V2-阿根廷01 CDN隧道 冷门 2x
  - V2-香港B 隧道 1.6x
  - V2-香港FDC01 隧道 2x
- name: "\U0001F342 Domestic"
  type: select
  proxies:
  - DIRECT
  - "\U0001F343 Proxies"
- name: "\U0001F4AC Telegram"
  type: select
  proxies:
  - "\U0001F343 Proxies"
  - V1-俄罗斯01 CDN隧道 1.2x
  - V1-加拿大A CDN隧道 1.5x
  - V1-印度01 CDN隧道 1.5x
  - V1-台湾01 隧道 1.5x
  - V1-台湾99 Hinet直连 速度随缘 0.5x
  - V1-德国01 CDN隧道 1.5x
  - V1-新加坡 隧道 均衡负载 动态IP 1.3x
  - V1-日本98 CDN隧道 3x
  - V1-日本A 隧道 1.6x
  - V1-波兰01 隧道 2x
  - V1-澳洲01 隧道 | 2x
  - V1-美国 隧道 均衡负载 动态IP 1.3x
  - V1-美国01 隧道 1.5x
  - V1-美国03 隧道 1.5x
  - V1-英国01 CDN隧道 1.5x
  - V1-韩国01 隧道 1.5x
  - V1-香港A 隧道 1.6x
  - V1-香港HKBGP01 隧道 | 3x
  - V1-香港HKT02 隧道  原生家宽 2x
  - V1-香港HKT03 隧道 2x
  - V2-PRO 加拿大B 3x
  - V2-PRO 台湾01 4x
  - V2-PRO 巴西01 7x
  - V2-PRO 德国01 | 7x
  - V2-PRO 日本A 4x
  - V2-PRO 波兰01 6x
  - V2-PRO 澳洲01 | 7x
  - V2-PRO 美国01 4x
  - V2-PRO 英国01 6x
  - V2-PRO 香港A 4x
  - V2-PRO 香港B 4x
  - V2-台湾11 套娃 中继 1.5x
  - V2-巴西01 CDN隧道 3x
  - V2-新加坡06 套娃 中继 1.5x
  - V2-阿根廷01 CDN隧道 冷门 2x
  - V2-香港B 隧道 1.6x
  - V2-香港FDC01 隧道 2x
- name: "\U0001F479 YouTube"
  type: select
  proxies:
  - "\U0001F343 Proxies"
  - V1-俄罗斯01 CDN隧道 1.2x
  - V1-加拿大A CDN隧道 1.5x
  - V1-印度01 CDN隧道 1.5x
  - V1-台湾01 隧道 1.5x
  - V1-台湾99 Hinet直连 速度随缘 0.5x
  - V1-德国01 CDN隧道 1.5x
  - V1-新加坡 隧道 均衡负载 动态IP 1.3x
  - V1-日本98 CDN隧道 3x
  - V1-日本A 隧道 1.6x
  - V1-波兰01 隧道 2x
  - V1-澳洲01 隧道 | 2x
  - V1-美国 隧道 均衡负载 动态IP 1.3x
  - V1-美国01 隧道 1.5x
  - V1-美国03 隧道 1.5x
  - V1-英国01 CDN隧道 1.5x
  - V1-韩国01 隧道 1.5x
  - V1-香港A 隧道 1.6x
  - V1-香港HKBGP01 隧道 | 3x
  - V1-香港HKT02 隧道  原生家宽 2x
  - V1-香港HKT03 隧道 2x
  - V2-PRO 加拿大B 3x
  - V2-PRO 台湾01 4x
  - V2-PRO 巴西01 7x
  - V2-PRO 德国01 | 7x
  - V2-PRO 日本A 4x
  - V2-PRO 波兰01 6x
  - V2-PRO 澳洲01 | 7x
  - V2-PRO 美国01 4x
  - V2-PRO 英国01 6x
  - V2-PRO 香港A 4x
  - V2-PRO 香港B 4x
  - V2-台湾11 套娃 中继 1.5x
  - V2-巴西01 CDN隧道 3x
  - V2-新加坡06 套娃 中继 1.5x
  - V2-阿根廷01 CDN隧道 冷门 2x
  - V2-香港B 隧道 1.6x
  - V2-香港FDC01 隧道 2x
- name: "\U0001F37F Netflix"
  type: select
  proxies:
  - "\U0001F343 Proxies"
  - V1-俄罗斯01 CDN隧道 1.2x
  - V1-加拿大A CDN隧道 1.5x
  - V1-印度01 CDN隧道 1.5x
  - V1-台湾01 隧道 1.5x
  - V1-台湾99 Hinet直连 速度随缘 0.5x
  - V1-德国01 CDN隧道 1.5x
  - V1-新加坡 隧道 均衡负载 动态IP 1.3x
  - V1-日本98 CDN隧道 3x
  - V1-日本A 隧道 1.6x
  - V1-波兰01 隧道 2x
  - V1-澳洲01 隧道 | 2x
  - V1-美国 隧道 均衡负载 动态IP 1.3x
  - V1-美国01 隧道 1.5x
  - V1-美国03 隧道 1.5x
  - V1-英国01 CDN隧道 1.5x
  - V1-韩国01 隧道 1.5x
  - V1-香港A 隧道 1.6x
  - V1-香港HKBGP01 隧道 | 3x
  - V1-香港HKT02 隧道  原生家宽 2x
  - V1-香港HKT03 隧道 2x
  - V2-PRO 加拿大B 3x
  - V2-PRO 台湾01 4x
  - V2-PRO 巴西01 7x
  - V2-PRO 德国01 | 7x
  - V2-PRO 日本A 4x
  - V2-PRO 波兰01 6x
  - V2-PRO 澳洲01 | 7x
  - V2-PRO 美国01 4x
  - V2-PRO 英国01 6x
  - V2-PRO 香港A 4x
  - V2-PRO 香港B 4x
  - V2-台湾11 套娃 中继 1.5x
  - V2-巴西01 CDN隧道 3x
  - V2-新加坡06 套娃 中继 1.5x
  - V2-阿根廷01 CDN隧道 冷门 2x
  - V2-香港B 隧道 1.6x
  - V2-香港FDC01 隧道 2x
- name: "\U0001F4B3 PayPal"
  type: select
  proxies:
  - DIRECT
  - "\U0001F343 Proxies"
  - V1-俄罗斯01 CDN隧道 1.2x
  - V1-加拿大A CDN隧道 1.5x
  - V1-印度01 CDN隧道 1.5x
  - V1-台湾01 隧道 1.5x
  - V1-台湾99 Hinet直连 速度随缘 0.5x
  - V1-德国01 CDN隧道 1.5x
  - V1-新加坡 隧道 均衡负载 动态IP 1.3x
  - V1-日本98 CDN隧道 3x
  - V1-日本A 隧道 1.6x
  - V1-波兰01 隧道 2x
  - V1-澳洲01 隧道 | 2x
  - V1-美国 隧道 均衡负载 动态IP 1.3x
  - V1-美国01 隧道 1.5x
  - V1-美国03 隧道 1.5x
  - V1-英国01 CDN隧道 1.5x
  - V1-韩国01 隧道 1.5x
  - V1-香港A 隧道 1.6x
  - V1-香港HKBGP01 隧道 | 3x
  - V1-香港HKT02 隧道  原生家宽 2x
  - V1-香港HKT03 隧道 2x
  - V2-PRO 加拿大B 3x
  - V2-PRO 台湾01 4x
  - V2-PRO 巴西01 7x
  - V2-PRO 德国01 | 7x
  - V2-PRO 日本A 4x
  - V2-PRO 波兰01 6x
  - V2-PRO 澳洲01 | 7x
  - V2-PRO 美国01 4x
  - V2-PRO 英国01 6x
  - V2-PRO 香港A 4x
  - V2-PRO 香港B 4x
  - V2-台湾11 套娃 中继 1.5x
  - V2-巴西01 CDN隧道 3x
  - V2-新加坡06 套娃 中继 1.5x
  - V2-阿根廷01 CDN隧道 冷门 2x
  - V2-香港B 隧道 1.6x
  - V2-香港FDC01 隧道 2x
- name: "\U0001F454 LinkedIn"
  type: select
  proxies:
  - DIRECT
  - "\U0001F343 Proxies"
  - V1-俄罗斯01 CDN隧道 1.2x
  - V1-加拿大A CDN隧道 1.5x
  - V1-印度01 CDN隧道 1.5x
  - V1-台湾01 隧道 1.5x
  - V1-台湾99 Hinet直连 速度随缘 0.5x
  - V1-德国01 CDN隧道 1.5x
  - V1-新加坡 隧道 均衡负载 动态IP 1.3x
  - V1-日本98 CDN隧道 3x
  - V1-日本A 隧道 1.6x
  - V1-波兰01 隧道 2x
  - V1-澳洲01 隧道 | 2x
  - V1-美国 隧道 均衡负载 动态IP 1.3x
  - V1-美国01 隧道 1.5x
  - V1-美国03 隧道 1.5x
  - V1-英国01 CDN隧道 1.5x
  - V1-韩国01 隧道 1.5x
  - V1-香港A 隧道 1.6x
  - V1-香港HKBGP01 隧道 | 3x
  - V1-香港HKT02 隧道  原生家宽 2x
  - V1-香港HKT03 隧道 2x
  - V2-PRO 加拿大B 3x
  - V2-PRO 台湾01 4x
  - V2-PRO 巴西01 7x
  - V2-PRO 德国01 | 7x
  - V2-PRO 日本A 4x
  - V2-PRO 波兰01 6x
  - V2-PRO 澳洲01 | 7x
  - V2-PRO 美国01 4x
  - V2-PRO 英国01 6x
  - V2-PRO 香港A 4x
  - V2-PRO 香港B 4x
  - V2-台湾11 套娃 中继 1.5x
  - V2-巴西01 CDN隧道 3x
  - V2-新加坡06 套娃 中继 1.5x
  - V2-阿根廷01 CDN隧道 冷门 2x
  - V2-香港B 隧道 1.6x
  - V2-香港FDC01 隧道 2x
- name: "\U0001F34E Apple Service"
  type: select
  proxies:
  - DIRECT
  - "\U0001F343 Proxies"
  - V1-俄罗斯01 CDN隧道 1.2x
  - V1-加拿大A CDN隧道 1.5x
  - V1-印度01 CDN隧道 1.5x
  - V1-台湾01 隧道 1.5x
  - V1-台湾99 Hinet直连 速度随缘 0.5x
  - V1-德国01 CDN隧道 1.5x
  - V1-新加坡 隧道 均衡负载 动态IP 1.3x
  - V1-日本98 CDN隧道 3x
  - V1-日本A 隧道 1.6x
  - V1-波兰01 隧道 2x
  - V1-澳洲01 隧道 | 2x
  - V1-美国 隧道 均衡负载 动态IP 1.3x
  - V1-美国01 隧道 1.5x
  - V1-美国03 隧道 1.5x
  - V1-英国01 CDN隧道 1.5x
  - V1-韩国01 隧道 1.5x
  - V1-香港A 隧道 1.6x
  - V1-香港HKBGP01 隧道 | 3x
  - V1-香港HKT02 隧道  原生家宽 2x
  - V1-香港HKT03 隧道 2x
  - V2-PRO 加拿大B 3x
  - V2-PRO 台湾01 4x
  - V2-PRO 巴西01 7x
  - V2-PRO 德国01 | 7x
  - V2-PRO 日本A 4x
  - V2-PRO 波兰01 6x
  - V2-PRO 澳洲01 | 7x
  - V2-PRO 美国01 4x
  - V2-PRO 英国01 6x
  - V2-PRO 香港A 4x
  - V2-PRO 香港B 4x
  - V2-台湾11 套娃 中继 1.5x
  - V2-巴西01 CDN隧道 3x
  - V2-新加坡06 套娃 中继 1.5x
  - V2-阿根廷01 CDN隧道 冷门 2x
  - V2-香港B 隧道 1.6x
  - V2-香港FDC01 隧道 2x
- name: "☁️ Others"
  type: select
  proxies:
  - "\U0001F343 Proxies"
  - "\U0001F342 Domestic"
- name: "⭐️ Auto"
  type: load-balance
  strategy: round-robin
  disable-udp: false
  proxies:
  - V1-俄罗斯01 CDN隧道 1.2x
  - V1-加拿大A CDN隧道 1.5x
  - V1-印度01 CDN隧道 1.5x
  - V1-台湾01 隧道 1.5x
  - V1-德国01 CDN隧道 1.5x
  - V1-新加坡 隧道 均衡负载 动态IP 1.3x
  - V1-日本98 CDN隧道 3x
  - V1-日本A 隧道 1.6x
  - V1-波兰01 隧道 2x
  - V1-澳洲01 隧道 | 2x
  - V1-美国 隧道 均衡负载 动态IP 1.3x
  - V1-美国01 隧道 1.5x
  - V1-美国03 隧道 1.5x
  - V1-英国01 CDN隧道 1.5x
  - V1-韩国01 隧道 1.5x
  - V1-香港A 隧道 1.6x
  - V1-香港HKBGP01 隧道 | 3x
  - V1-香港HKT02 隧道  原生家宽 2x
  - V1-香港HKT03 隧道 2x
  - V2-PRO 加拿大B 3x
  - V2-PRO 台湾01 4x
  - V2-PRO 巴西01 7x
  - V2-PRO 德国01 | 7x
  - V2-PRO 日本A 4x
  - V2-PRO 波兰01 6x
  - V2-PRO 澳洲01 | 7x
  - V2-PRO 美国01 4x
  - V2-PRO 英国01 6x
  - V2-PRO 香港A 4x
  - V2-PRO 香港B 4x
  - V2-台湾11 套娃 中继 1.5x
  - V2-巴西01 CDN隧道 3x
  - V2-新加坡06 套娃 中继 1.5x
  - V2-阿根廷01 CDN隧道 冷门 2x
  - V2-香港B 隧道 1.6x
  - V2-香港FDC01 隧道 2x
  url: http://www.gstatic.com/generate_204
  interval: 30
rules:
- DST-PORT,7895,REJECT
- DST-PORT,7892,REJECT
- IP-CIDR,198.18.0.1/16,REJECT,no-resolve
- DOMAIN,teams.live.com,DIRECT
- "IP-CIDR,106.11.0.0/16,\U0001F342 Domestic"
- "IP-CIDR,67.198.55.0/24,\U0001F343 Proxies"
- "IP-CIDR,209.237.192.0/19,\U0001F343 Proxies"
- "GEOIP,CN,\U0001F342 Domestic"
- MATCH,☁️ Others
redir-port: 7892
tproxy-port: 7895
port: 7890
socks-port: 7891
bind-address: "*"
external-ui: "/usr/share/openclash/ui"
ipv6: false
geodata-mode: true
geodata-loader: standard
dns:
  enable: true
  ipv6: false
  enhanced-mode: redir-host
  listen: 0.0.0.0:7874
  nameserver:
  - 114.114.114.114
  - 119.29.29.29
  - 8.8.8.8
  - 1.1.1.1
  fallback:
  - https://dns.cloudflare.com/dns-query
  - https://dns.google/dns-query
profile:
  store-selected: true
authentication:
- Clash:LUO123456789

#===================== 自定义覆写设置 =====================#

#!/bin/sh
. /usr/share/openclash/ruby.sh
. /usr/share/openclash/log.sh
. /lib/functions.sh

# This script is called by /etc/init.d/openclash
# Add your custom overwrite scripts here, they will be take effict after the OpenClash own srcipts

LOG_OUT "Tip: Start Running Custom Overwrite Scripts..."
LOGTIME=$(echo $(date "+%Y-%m-%d %H:%M:%S"))
LOG_FILE="/tmp/openclash.log"
CONFIG_FILE="$1" #config path

#Simple Demo:
    #General Demo
    #1--config path
    #2--key name
    #3--value
    #ruby_edit "$CONFIG_FILE" "['redir-port']" "7892"
    #ruby_edit "$CONFIG_FILE" "['secret']" "123456"
    #ruby_edit "$CONFIG_FILE" "['dns']['enable']" "true"

    #Hash Demo
    #1--config path
    #2--key name
    #3--hash type value
    #ruby_edit "$CONFIG_FILE" "['experimental']" "{'sniff-tls-sni'=>true}"
    #ruby_edit "$CONFIG_FILE" "['sniffer']" "{'sniffing'=>['tls','http']}"

    #Array Demo:
    #1--config path
    #2--key name
    #3--position(start from 0, end with -1)
    #4--value
    #ruby_arr_insert "$CONFIG_FILE" "['dns']['nameserver']" "0" "114.114.114.114"

    #Array Add From Yaml File Demo:
    #1--config path
    #2--key name
    #3--position(start from 0, end with -1)
    #4--value file path
    #5--value key name in #4 file
    #ruby_arr_add_file "$CONFIG_FILE" "['dns']['fallback-filter']['ipcidr']" "0" "/etc/openclash/custom/openclash_custom_fallback_filter.yaml" "['fallback-filter']['ipcidr']"

#Ruby Script Demo:
    #ruby -ryaml -rYAML -I "/usr/share/openclash" -E UTF-8 -e "
    #   begin
    #      Value = YAML.load_file('$CONFIG_FILE');
    #   rescue Exception => e
    #      puts '${LOGTIME} Error: Load File Failed,【' + e.message + '】';
    #   end;

        #General
    #   begin
    #   Thread.new{
    #      Value['redir-port']=7892;
    #      Value['tproxy-port']=7895;
    #      Value['port']=7890;
    #      Value['socks-port']=7891;
    #      Value['mixed-port']=7893;
    #   }.join;

    #   rescue Exception => e
    #      puts '${LOGTIME} Error: Set General Failed,【' + e.message + '】';
    #   ensure
    #      File.open('$CONFIG_FILE','w') {|f| YAML.dump(Value, f)};
    #   end" 2>/dev/null >> $LOG_FILE

exit 0
#===================== 自定义防火墙设置 =====================#

#!/bin/sh
. /usr/share/openclash/log.sh
. /lib/functions.sh

# This script is called by /etc/init.d/openclash
# Add your custom firewall rules here, they will be added after the end of the OpenClash iptables rules

LOG_OUT "Tip: Start Add Custom Firewall Rules..."

exit 0
#===================== IPTABLES 防火墙设置 =====================#

#IPv4 NAT chain

# Generated by iptables-save v1.8.8 (nf_tables) on Sun Oct  6 10:47:03 2024
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Sun Oct  6 10:47:03 2024

#IPv4 Mangle chain

# Generated by iptables-save v1.8.8 (nf_tables) on Sun Oct  6 10:47:03 2024
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Sun Oct  6 10:47:03 2024

#IPv4 Filter chain

# Generated by iptables-save v1.8.8 (nf_tables) on Sun Oct  6 10:47:03 2024
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
# Completed on Sun Oct  6 10:47:03 2024

#IPv6 NAT chain

#IPv6 Mangle chain

#IPv6 Filter chain

#===================== NFTABLES 防火墙设置 =====================#

table inet fw4 {
    chain input {
        type filter hook input priority filter; policy drop;
        iifname "lo" accept comment "!fw4: Accept traffic from loopback"
        ct state established,related accept comment "!fw4: Allow inbound established and related flows"
        tcp flags syn / fin,syn,rst,ack jump syn_flood comment "!fw4: Rate limit TCP syn packets"
        udp dport 9993 counter packets 18501 bytes 3045760 accept comment "!fw4: Allow-ZeroTier-Inbound"
        iifname "br-lan" jump input_lan comment "!fw4: Handle lan IPv4/IPv6 input traffic"
        iifname "eth0" jump input_wan comment "!fw4: Handle wan IPv4/IPv6 input traffic"
        iifname "ztrpp1234p" jump input_vpn comment "!fw4: Handle vpn IPv4/IPv6 input traffic"
        jump handle_reject
    }
}
table inet fw4 {
    chain forward {
        type filter hook forward priority filter; policy drop;
        ct state established,related accept comment "!fw4: Allow forwarded established and related flows"
        iifname "br-lan" jump forward_lan comment "!fw4: Handle lan IPv4/IPv6 forward traffic"
        iifname "eth0" jump forward_wan comment "!fw4: Handle wan IPv4/IPv6 forward traffic"
        iifname "ztrpp1234p" jump forward_vpn comment "!fw4: Handle vpn IPv4/IPv6 forward traffic"
        jump handle_reject
    }
}
table inet fw4 {
    chain dstnat {
        type nat hook prerouting priority dstnat; policy accept;
        ip daddr { 8.8.4.4, 8.8.8.8 } tcp dport 53 counter packets 0 bytes 0 redirect to :7892 comment "OpenClash Google DNS Hijack"
        udp dport 53 counter packets 6206 bytes 431040 redirect to :53 comment "OpenClash DNS Hijack"
        tcp dport 53 counter packets 0 bytes 0 redirect to :53 comment "OpenClash DNS Hijack"
        ip protocol tcp counter packets 3957 bytes 299301 jump openclash
    }
}
table inet fw4 {
    chain srcnat {
        type nat hook postrouting priority srcnat; policy accept;
        oifname "br-lan" jump srcnat_lan comment "!fw4: Handle lan IPv4/IPv6 srcnat traffic"
        oifname "eth0" jump srcnat_wan comment "!fw4: Handle wan IPv4/IPv6 srcnat traffic"
        oifname "ztrpp1234p" jump srcnat_vpn comment "!fw4: Handle vpn IPv4/IPv6 srcnat traffic"
    }
}
table inet fw4 {
    chain nat_output {
        type nat hook output priority filter - 1; policy accept;
    }
}
table inet fw4 {
    chain mangle_prerouting {
        type filter hook prerouting priority mangle; policy accept;
        ip protocol udp counter packets 93302 bytes 16801724 jump openclash_mangle
    }
}
table inet fw4 {
    chain mangle_output {
        type route hook output priority mangle; policy accept;
    }
}
table inet fw4 {
    chain openclash {
        meta nfproto ipv4 tcp sport 22 counter packets 0 bytes 0 return
        ip daddr @localnetwork counter packets 896 bytes 61100 return
        ip protocol tcp counter packets 3061 bytes 238201 redirect to :7892
    }
}
table inet fw4 {
    chain openclash_mangle {
        meta nfproto ipv4 udp sport 9993 counter packets 5154 bytes 978822 return
        meta nfproto ipv4 udp sport 500 counter packets 0 bytes 0 return
        meta nfproto ipv4 udp sport 546 counter packets 0 bytes 0 return
        meta nfproto ipv4 udp sport 68 counter packets 8 bytes 2646 return
        meta l4proto udp iifname "lo" counter packets 17619 bytes 1585916 return
        ip daddr @localnetwork counter packets 44346 bytes 7726896 return
        udp dport 53 counter packets 188 bytes 13196 return
        ip protocol udp counter packets 25987 bytes 6494248 jump openclash_upnp
        meta l4proto udp meta mark set 0x00000162 tproxy ip to 127.0.0.1:7895 counter packets 25987 bytes 6494248 accept
    }
}

#===================== IPSET状态 =====================#

#===================== 路由表状态 =====================#

#IPv4

#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 br-lan

#ip route list
default via 192.168.1.1 dev eth0 proto static src 192.168.1.2 
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.2 
192.168.10.0/24 dev br-lan proto kernel scope link src 192.168.10.1 

#ip rule show
0:  from all lookup local
32765:  from all fwmark 0x162 lookup 354
32766:  from all lookup main
32767:  from all lookup default

#IPv6

#route -A inet6
Kernel IPv6 routing table
Destination                                 Next Hop                                Flags Metric Ref    Use Iface
::/0                                        fe80::1                                 UG    512    5        0 eth0    
240e:3ae:b96:1df0::/64                      ::                                      !n    2147483647 2        0 lo      
240e:3ae:ba0:2420::/60                      fe80::1                                 UG    384    2        0 eth0    
240e:3ae:ba0:2420::/64                      ::                                      U     256    1        0 eth0    
240e:3ae:ba0:2420::/64                      ::                                      !n    2147483647 1        0 lo      
fc19:14f6:d200::/40                         ::                                      U     256    1        0 ztrpp1234p
fd1d:7193:9404:6565:4699:9300::/88          ::                                      U     256    1        0 ztrpp1234p
fd2c:56c7:346a::/48                         ::                                      !n    2147483647 4        0 lo      
fe80::/64                                   ::                                      U     256    1        0 ztrpp1234p
fe80::/64                                   ::                                      U     256    2        0 eth0    
::/0                                        ::                                      !n    -1     3        0 lo      
::1/128                                     ::                                      Un    0      7        0 lo      
240e:3ae:ba0:2420::/128                     ::                                      Un    0      3        0 eth0    
*WAN IP*:609d/128    ::                                      Un    0      5        0 eth0    
fc19:14f6:d200::/128                        ::                                      Un    0      3        0 ztrpp1234p
fc19:14f6:d2e3:622a:a242::1/128             ::                                      Un    0      3        0 ztrpp1234p
fd1d:7193:9404:6565:4699:9300::/128         ::                                      Un    0      3        0 ztrpp1234p
fd1d:7193:9404:6565:4699:93e3:622a:a242/128 ::                                      Un    0      4        0 ztrpp1234p
fe80::/128                                  ::                                      Un    0      5        0 ztrpp1234p
fe80::/128                                  ::                                      Un    0      3        0 eth0    
fe80::290:27ff:fee3:609d/128                ::                                      Un    0      3        0 eth0    
fe80::8caf:e9ff:fef7:64cf/128               ::                                      Un    0      2        0 ztrpp1234p
ff00::/8                                    ::                                      U     256    3        0 ztrpp1234p
ff00::/8                                    ::                                      U     256    5        0 eth0    
::/0                                        ::                                      !n    -1     3        0 lo      

#ip -6 route list
default from 240e:3ae:ba0:2420::/64 via fe80::1 dev eth0 proto static metric 512 pref medium
unreachable 240e:3ae:b96:1df0::/64 dev lo proto static metric 2147483647 pref medium
240e:3ae:ba0:2420::/60 from 240e:3ae:ba0:2420::/64 via fe80::1 dev eth0 proto static metric 384 pref medium
240e:3ae:ba0:2420::/64 dev eth0 proto static metric 256 pref medium
unreachable 240e:3ae:ba0:2420::/64 dev lo proto static metric 2147483647 pref medium
fc19:14f6:d200::/40 dev ztrpp1234p proto kernel metric 256 pref medium
fd1d:7193:9404:6565:4699:9300::/88 dev ztrpp1234p proto kernel metric 256 pref medium
unreachable fd2c:56c7:346a::/48 dev lo proto static metric 2147483647 pref medium
fe80::/64 dev ztrpp1234p proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium

#ip -6 rule show
0:  from all lookup local
32766:  from all lookup main

#===================== 端口占用状态 =====================#

tcp        0      0 :::9090                 :::*                    LISTEN      27364/clash
tcp        0      0 :::7890                 :::*                    LISTEN      27364/clash
tcp        0      0 :::7891                 :::*                    LISTEN      27364/clash
tcp        0      0 :::7892                 :::*                    LISTEN      27364/clash
tcp        0      0 :::7893                 :::*                    LISTEN      27364/clash
tcp        0      0 :::7895                 :::*                    LISTEN      27364/clash
udp        0      0 :::7874                 :::*                                27364/clash
udp        0      0 :::7891                 :::*                                27364/clash
udp        0      0 :::7892                 :::*                                27364/clash
udp        0      0 :::7893                 :::*                                27364/clash
udp        0      0 :::7895                 :::*                                27364/clash

#===================== 测试本机DNS查询(www.baidu.com) =====================#

Server:     127.0.0.1
Address:    127.0.0.1:53

www.baidu.com   canonical name = www.a.shifen.com
Name:   www.a.shifen.com
Address: 180.101.50.242
Name:   www.a.shifen.com
Address: 180.101.50.188

#===================== 测试内核DNS查询(www.instagram.com) =====================#

Dnsmasq 当前默认 resolv 文件:/tmp/resolv.conf.d/resolv.conf.auto

#===================== /tmp/resolv.conf.d/resolv.conf.auto =====================#

# Interface wan
nameserver 192.168.1.1
search Home

#===================== 测试本机网络连接(www.baidu.com) =====================#

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: keep-alive
Content-Length: 277
Content-Type: text/html
Date: Sun, 06 Oct 2024 02:47:08 GMT
Etag: "575e1f60-115"
Last-Modified: Mon, 13 Jun 2016 02:50:08 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

#===================== 测试本机网络下载(raw.githubusercontent.com) =====================#

#===================== 最近运行日志(自动切换为Debug模式) =====================#

2024-10-06 10:44:04【/tmp/clash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:44:09【/tmp/openclash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:44:31【/tmp/clash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:44:36【/tmp/openclash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:44:58【/tmp/clash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:45:03【/tmp/openclash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:45:25【/tmp/clash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:45:30【/tmp/openclash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:45:52【/tmp/clash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:45:57【/tmp/openclash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:46:19【/tmp/clash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:46:24【/tmp/openclash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:46:46【/tmp/clash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:46:51【/tmp/openclash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com curl: (6) Could not resolve host: raw.githubusercontent.com】
2024-10-06 10:47:13【/tmp/clash_last_version】Download Failed:【curl: (6) Could not resolve host: raw.githubusercontent.com】
time="2024-10-06T02:47:22.188173076Z" level=debug msg="re-creating the http client due to requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAA2NzcAp3aXRoZ29vZ2xlA2NvbQAAAQAB\": context deadline exceeded"
time="2024-10-06T02:47:22.188263376Z" level=debug msg="[https://dns.cloudflare.com:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:22.188266412Z" level=debug msg="re-creating the http client due to requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAA2NzcAp3aXRoZ29vZ2xlA2NvbQAAAQAB\": context deadline exceeded"
time="2024-10-06T02:47:22.188502968Z" level=debug msg="[https://dns.google:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:22.188591408Z" level=debug msg="re-creating the http client due to requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAA2NzcAp3aXRoZ29vZ2xlA2NvbQAAAQAB\": context deadline exceeded"
time="2024-10-06T02:47:22.188670488Z" level=debug msg="[https://dns.cloudflare.com:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:22.188763896Z" level=debug msg="re-creating the http client due to requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAA2NzcAp3aXRoZ29vZ2xlA2NvbQAAAQAB\": context deadline exceeded"
time="2024-10-06T02:47:22.1888166Z" level=debug msg="[https://dns.google:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:24.09594738Z" level=debug msg="re-creating the http client due to requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": context deadline exceeded"
time="2024-10-06T02:47:24.09604506Z" level=debug msg="[https://dns.cloudflare.com:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:24.096294864Z" level=debug msg="re-creating the http client due to requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": context deadline exceeded"
time="2024-10-06T02:47:24.096365268Z" level=debug msg="[https://dns.cloudflare.com:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:24.0966588Z" level=debug msg="[DNS Server] Exchange ;raw.githubusercontent.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": connect failed: dial tcp 8.8.4.4:443: i/o timeout\ndial tcp 8.8.8.8:443: i/o timeout"
time="2024-10-06T02:47:24.096891792Z" level=debug msg="[DNS Server] Exchange ;raw.githubusercontent.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": connect failed: dial tcp 8.8.4.4:443: i/o timeout\ndial tcp 8.8.8.8:443: i/o timeout"
time="2024-10-06T02:47:24.097012212Z" level=debug msg="[DNS Server] Exchange ;raw.githubusercontent.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": connect failed: dial tcp 8.8.4.4:443: i/o timeout\ndial tcp 8.8.8.8:443: i/o timeout"
time="2024-10-06T02:47:24.09693006Z" level=debug msg="[DNS Server] Exchange ;raw.githubusercontent.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": connect failed: dial tcp 8.8.4.4:443: i/o timeout\ndial tcp 8.8.8.8:443: i/o timeout"
time="2024-10-06T02:47:24.097235904Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from udp://119.29.29.29:53"
time="2024-10-06T02:47:24.096941724Z" level=debug msg="[DNS Server] Exchange ;raw.githubusercontent.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": connect failed: dial tcp 8.8.4.4:443: i/o timeout\ndial tcp 8.8.8.8:443: i/o timeout"
time="2024-10-06T02:47:24.09689178Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from udp://114.114.114.114:53"
time="2024-10-06T02:47:24.096949872Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from udp://1.1.1.1:53"
time="2024-10-06T02:47:24.09695676Z" level=debug msg="[DNS Server] Exchange ;raw.githubusercontent.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": connect failed: dial tcp 8.8.4.4:443: i/o timeout\ndial tcp 8.8.8.8:443: i/o timeout"
time="2024-10-06T02:47:24.097346856Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from udp://8.8.8.8:53"
time="2024-10-06T02:47:24.096963564Z" level=debug msg="[DNS Server] Exchange ;raw.githubusercontent.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": connect failed: dial tcp 8.8.4.4:443: i/o timeout\ndial tcp 8.8.8.8:443: i/o timeout"
time="2024-10-06T02:47:24.102040896Z" level=debug msg="[DNS] raw.githubusercontent.com --> [185.199.110.133 185.199.109.133 185.199.108.133] A from udp://114.114.114.114:53"
time="2024-10-06T02:47:24.102290784Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from https://dns.google:443/dns-query"
time="2024-10-06T02:47:24.102387636Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from https://dns.cloudflare.com:443/dns-query"
time="2024-10-06T02:47:24.102619632Z" level=debug msg="[DNS] cache hit dns.google --> [8.8.4.4 8.8.8.8] A, expire at 2024-10-06 02:55:35"
time="2024-10-06T02:47:24.102693432Z" level=debug msg="[DNS] cache hit dns.cloudflare.com --> [104.16.133.229 104.16.132.229] A, expire at 2024-10-06 02:48:51"
time="2024-10-06T02:47:24.156282336Z" level=debug msg="re-creating the http client due to requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAE3JyMy0tLXNuLWlwb3h1LXVtYmsLZ29vZ2xldmlkZW8DY29tAAABAAE\": context deadline exceeded"
time="2024-10-06T02:47:24.1563783Z" level=debug msg="[https://dns.google:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:24.156449544Z" level=debug msg="re-creating the http client due to requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAE3JyMy0tLXNuLWlwb3h1LXVtYmsLZ29vZ2xldmlkZW8DY29tAAABAAE\": context deadline exceeded"
time="2024-10-06T02:47:24.156499704Z" level=debug msg="[https://dns.cloudflare.com:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:24.156595836Z" level=debug msg="re-creating the http client due to requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAE3JyMy0tLXNuLWlwb3h1LXVtYmsLZ29vZ2xldmlkZW8DY29tAAABAAE\": context deadline exceeded"
time="2024-10-06T02:47:24.156642348Z" level=debug msg="[https://dns.google:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:24.156596916Z" level=debug msg="re-creating the http client due to requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAE3JyMy0tLXNuLWlwb3h1LXVtYmsLZ29vZ2xldmlkZW8DY29tAAABAAE\": context deadline exceeded"
time="2024-10-06T02:47:24.156795204Z" level=debug msg="[https://dns.cloudflare.com:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:24.157021224Z" level=debug msg="[DNS Server] Exchange ;rr3---sn-ipoxu-umbk.googlevideo.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAE3JyMy0tLXNuLWlwb3h1LXVtYmsLZ29vZ2xldmlkZW8DY29tAAABAAE\": context deadline exceeded"
time="2024-10-06T02:47:24.157198176Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from udp://8.8.8.8:53"
time="2024-10-06T02:47:24.157269324Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from udp://119.29.29.29:53"
time="2024-10-06T02:47:24.157238676Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from udp://1.1.1.1:53"
time="2024-10-06T02:47:24.157256232Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from udp://114.114.114.114:53"
time="2024-10-06T02:47:24.16156752Z" level=debug msg="[DNS] rr3---sn-ipoxu-umbk.googlevideo.com --> [103.200.30.143] A from udp://114.114.114.114:53"
time="2024-10-06T02:47:24.161798772Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from https://dns.google:443/dns-query"
time="2024-10-06T02:47:24.161916372Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from https://dns.cloudflare.com:443/dns-query"
time="2024-10-06T02:47:24.162115896Z" level=debug msg="[DNS] cache hit dns.google --> [8.8.4.4 8.8.8.8] A, expire at 2024-10-06 02:55:35"
time="2024-10-06T02:47:24.162257736Z" level=debug msg="[DNS] cache hit dns.cloudflare.com --> [104.16.133.229 104.16.132.229] A, expire at 2024-10-06 02:48:51"
time="2024-10-06T02:47:29.09746296Z" level=debug msg="re-creating the http client due to requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": context deadline exceeded"
time="2024-10-06T02:47:29.097572148Z" level=debug msg="[https://dns.cloudflare.com:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:29.09757792Z" level=debug msg="re-creating the http client due to requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": context deadline exceeded"
time="2024-10-06T02:47:29.097788424Z" level=debug msg="[https://dns.google:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:29.097950688Z" level=debug msg="re-creating the http client due to requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": context deadline exceeded"
time="2024-10-06T02:47:29.098022112Z" level=debug msg="[https://dns.cloudflare.com:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:29.097965028Z" level=debug msg="re-creating the http client due to requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": context deadline exceeded"
time="2024-10-06T02:47:29.0981427Z" level=debug msg="[https://dns.google:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:29.09837598Z" level=debug msg="[DNS Server] Exchange ;raw.githubusercontent.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": context deadline exceeded"
time="2024-10-06T02:47:29.098545564Z" level=debug msg="[DNS Server] Exchange ;raw.githubusercontent.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": context deadline exceeded"
time="2024-10-06T02:47:29.098567248Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from udp://1.1.1.1:53"
time="2024-10-06T02:47:29.098602012Z" level=debug msg="[DNS Server] Exchange ;raw.githubusercontent.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAA3JhdxFnaXRodWJ1c2VyY29udGVudANjb20AAAEAAQ\": context deadline exceeded"
time="2024-10-06T02:47:29.098620444Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from udp://119.29.29.29:53"
time="2024-10-06T02:47:29.098622004Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from udp://8.8.8.8:53"
time="2024-10-06T02:47:29.098629564Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from udp://114.114.114.114:53"
time="2024-10-06T02:47:29.103090312Z" level=debug msg="[DNS] raw.githubusercontent.com --> [185.199.109.133 185.199.110.133 185.199.111.133] A from udp://114.114.114.114:53"
time="2024-10-06T02:47:29.103299388Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from https://dns.google:443/dns-query"
time="2024-10-06T02:47:29.103397836Z" level=debug msg="[DNS] resolve raw.githubusercontent.com A from https://dns.cloudflare.com:443/dns-query"
time="2024-10-06T02:47:29.103604284Z" level=debug msg="[DNS] cache hit dns.google --> [8.8.4.4 8.8.8.8] A, expire at 2024-10-06 02:55:35"
time="2024-10-06T02:47:29.103730344Z" level=debug msg="[DNS] cache hit dns.cloudflare.com --> [104.16.133.229 104.16.132.229] A, expire at 2024-10-06 02:48:51"
time="2024-10-06T02:47:29.157226452Z" level=debug msg="re-creating the http client due to requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAE3JyMy0tLXNuLWlwb3h1LXVtYmsLZ29vZ2xldmlkZW8DY29tAAABAAE\": context deadline exceeded"
time="2024-10-06T02:47:29.1573306Z" level=debug msg="[https://dns.google:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:29.157455376Z" level=debug msg="re-creating the http client due to requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAE3JyMy0tLXNuLWlwb3h1LXVtYmsLZ29vZ2xldmlkZW8DY29tAAABAAE\": context deadline exceeded"
time="2024-10-06T02:47:29.157525852Z" level=debug msg="[https://dns.cloudflare.com:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:29.157717372Z" level=debug msg="re-creating the http client due to requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAE3JyMy0tLXNuLWlwb3h1LXVtYmsLZ29vZ2xldmlkZW8DY29tAAABAAE\": context deadline exceeded"
time="2024-10-06T02:47:29.15781438Z" level=debug msg="[https://dns.cloudflare.com:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:29.15777592Z" level=debug msg="re-creating the http client due to requesting https://dns.google:443/dns-query: Get \"https://dns.google:443/dns-query?dns=AAABAAABAAAAAAAAE3JyMy0tLXNuLWlwb3h1LXVtYmsLZ29vZ2xldmlkZW8DY29tAAABAAE\": context deadline exceeded"
time="2024-10-06T02:47:29.157926052Z" level=debug msg="[https://dns.google:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-10-06T02:47:29.158107684Z" level=debug msg="[DNS Server] Exchange ;rr3---sn-ipoxu-umbk.googlevideo.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAE3JyMy0tLXNuLWlwb3h1LXVtYmsLZ29vZ2xldmlkZW8DY29tAAABAAE\": context deadline exceeded"
time="2024-10-06T02:47:29.158312908Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from udp://8.8.8.8:53"
time="2024-10-06T02:47:29.158427808Z" level=debug msg="[DNS Server] Exchange ;rr3---sn-ipoxu-umbk.googlevideo.com.\tIN\t A failed: all DNS requests failed, first error: requesting https://dns.cloudflare.com:443/dns-query: Get \"https://dns.cloudflare.com:443/dns-query?dns=AAABAAABAAAAAAAAE3JyMy0tLXNuLWlwb3h1LXVtYmsLZ29vZ2xldmlkZW8DY29tAAABAAE\": context deadline exceeded"
time="2024-10-06T02:47:29.158544712Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from udp://114.114.114.114:53"
time="2024-10-06T02:47:29.1585549Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from udp://1.1.1.1:53"
time="2024-10-06T02:47:29.158576704Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from udp://119.29.29.29:53"
time="2024-10-06T02:47:29.16259992Z" level=debug msg="[DNS] rr3---sn-ipoxu-umbk.googlevideo.com --> [103.200.30.143] A from udp://114.114.114.114:53"
time="2024-10-06T02:47:29.16278382Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from https://dns.google:443/dns-query"
time="2024-10-06T02:47:29.162979408Z" level=debug msg="[DNS] resolve rr3---sn-ipoxu-umbk.googlevideo.com A from https://dns.cloudflare.com:443/dns-query"
time="2024-10-06T02:47:29.163082584Z" level=debug msg="[DNS] cache hit dns.google --> [8.8.4.4 8.8.8.8] A, expire at 2024-10-06 02:55:35"
time="2024-10-06T02:47:29.163242304Z" level=debug msg="[DNS] cache hit dns.cloudflare.com --> [104.16.133.229 104.16.132.229] A, expire at 2024-10-06 02:48:51"

#===================== 最近运行日志获取完成(自动切换为silent模式) =====================#

#===================== 活动连接信息 =====================#

1. SourceIP:【192.168.10.202】 - Host:【mail.tencent.com】 - DestinationIP:【112.86.128.91】 - Network:【tcp】 - RulePayload:【tencent.com】 - Lastchain:【DIRECT】
2. SourceIP:【192.168.10.202】 - Host:【aps.amap.com】 - DestinationIP:【49.79.227.241】 - Network:【tcp】 - RulePayload:【amap.com】 - Lastchain:【DIRECT】
3. SourceIP:【192.168.10.209】 - Host:【mail.azroad.com】 - DestinationIP:【103.129.255.182】 - Network:【tcp】 - RulePayload:【azroad.com】 - Lastchain:【DIRECT】
4. SourceIP:【192.168.10.202】 - Host:【Empty】 - DestinationIP:【119.147.19.76】 - Network:【tcp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
5. SourceIP:【192.168.10.202】 - Host:【connect.rom.miui.com】 - DestinationIP:【118.26.253.72】 - Network:【tcp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
6. SourceIP:【192.168.10.202】 - Host:【metok.sys.miui.com】 - DestinationIP:【220.181.52.36】 - Network:【tcp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
7. SourceIP:【192.168.10.209】 - Host:【appleimap.126.com】 - DestinationIP:【111.124.203.46】 - Network:【tcp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
8. SourceIP:【192.168.10.202】 - Host:【www.googleapis.com】 - DestinationIP:【172.217.12.106】 - Network:【tcp】 - RulePayload:【google】 - Lastchain:【V1-俄罗斯01 CDN隧道 1.2x】
9. SourceIP:【192.168.10.209】 - Host:【g.whatsapp.net】 - DestinationIP:【157.240.22.54】 - Network:【tcp】 - RulePayload:【whatsapp.net】 - Lastchain:【V2-PRO 香港B 4x】
10. SourceIP:【192.168.10.209】 - Host:【csp.withgoogle.com】 - DestinationIP:【142.250.188.17】 - Network:【udp】 - RulePayload:【google】 - Lastchain:【V2-台湾11 套娃 中继 1.5x】
11. SourceIP:【192.168.10.209】 - Host:【clientservices.googleapis.com】 - DestinationIP:【180.163.151.162】 - Network:【tcp】 - RulePayload:【google】 - Lastchain:【V2-PRO 香港A 4x】
12. SourceIP:【192.168.10.202】 - Host:【flash.sec.miui.com】 - DestinationIP:【220.181.52.19】 - Network:【tcp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
13. SourceIP:【192.168.10.209】 - Host:【csp.withgoogle.com】 - DestinationIP:【142.250.188.17】 - Network:【udp】 - RulePayload:【google】 - Lastchain:【V2-新加坡06 套娃 中继 1.5x】
14. SourceIP:【192.168.10.209】 - Host:【imap.qq.com】 - DestinationIP:【183.47.101.192】 - Network:【tcp】 - RulePayload:【qq.com】 - Lastchain:【DIRECT】
15. SourceIP:【192.168.10.209】 - Host:【api.ipify.org】 - DestinationIP:【104.26.12.205】 - Network:【tcp】 - RulePayload:【】 - Lastchain:【V2-PRO 澳洲01 | 7x】
16. SourceIP:【192.168.10.209】 - Host:【Empty】 - DestinationIP:【183.47.122.25】 - Network:【tcp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
17. SourceIP:【192.168.10.209】 - Host:【imap.qq.com】 - DestinationIP:【183.47.101.192】 - Network:【tcp】 - RulePayload:【qq.com】 - Lastchain:【DIRECT】
18. SourceIP:【192.168.10.202】 - Host:【mmbiz.qpic.cn】 - DestinationIP:【61.160.209.111】 - Network:【tcp】 - RulePayload:【qpic.cn】 - Lastchain:【DIRECT】
19. SourceIP:【192.168.10.209】 - Host:【mtalk.google.com】 - DestinationIP:【142.251.2.188】 - Network:【tcp】 - RulePayload:【google】 - Lastchain:【V2-PRO 英国01 6x】
20. SourceIP:【192.168.10.209】 - Host:【imap.qq.com】 - DestinationIP:【183.47.101.192】 - Network:【tcp】 - RulePayload:【qq.com】 - Lastchain:【DIRECT】
21. SourceIP:【192.168.10.209】 - Host:【appleimap.126.com】 - DestinationIP:【111.124.203.46】 - Network:【tcp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
22. SourceIP:【192.168.10.209】 - Host:【Empty】 - DestinationIP:【103.195.103.66】 - Network:【udp】 - RulePayload:【】 - Lastchain:【V1-美国03 隧道 1.5x】
23. SourceIP:【192.168.10.209】 - Host:【Empty】 - DestinationIP:【124.239.14.170】 - Network:【tcp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
24. SourceIP:【192.168.10.209】 - Host:【imap.qq.com】 - DestinationIP:【183.47.101.192】 - Network:【tcp】 - RulePayload:【qq.com】 - Lastchain:【DIRECT】
25. SourceIP:【192.168.10.202】 - Host:【mmbiz.qpic.cn】 - DestinationIP:【61.160.209.111】 - Network:【tcp】 - RulePayload:【qpic.cn】 - Lastchain:【DIRECT】
26. SourceIP:【192.168.10.209】 - Host:【config.extension.grammarly.com】 - DestinationIP:【18.155.192.59】 - Network:【tcp】 - RulePayload:【】 - Lastchain:【V2-PRO 巴西01 7x】
27. SourceIP:【192.168.10.209】 - Host:【www.youtube.com】 - DestinationIP:【142.251.46.238】 - Network:【tcp】 - RulePayload:【youtube】 - Lastchain:【V1-台湾01 隧道 1.5x】
28. SourceIP:【192.168.10.209】 - Host:【appleimap.163.com】 - DestinationIP:【111.124.203.45】 - Network:【tcp】 - RulePayload:【163.com】 - Lastchain:【DIRECT】
29. SourceIP:【192.168.10.209】 - Host:【alive.github.com】 - DestinationIP:【140.82.114.25】 - Network:【tcp】 - RulePayload:【github】 - Lastchain:【V1-美国 隧道 均衡负载 动态IP 1.3x】
30. SourceIP:【192.168.10.209】 - Host:【imap.qq.com】 - DestinationIP:【183.47.101.192】 - Network:【tcp】 - RulePayload:【qq.com】 - Lastchain:【DIRECT】
31. SourceIP:【192.168.10.209】 - Host:【apac-china-courier-4.push-apple.com.akadns.net】 - DestinationIP:【17.57.145.152】 - Network:【tcp】 - RulePayload:【akadns.net】 - Lastchain:【DIRECT】
32. SourceIP:【192.168.10.209】 - Host:【imap.qq.com】 - DestinationIP:【183.47.101.192】 - Network:【tcp】 - RulePayload:【qq.com】 - Lastchain:【DIRECT】
33. SourceIP:【192.168.10.202】 - Host:【findermp.video.qq.com】 - DestinationIP:【61.160.231.193】 - Network:【tcp】 - RulePayload:【qq.com】 - Lastchain:【DIRECT】
34. SourceIP:【192.168.10.209】 - Host:【ssl.gstatic.com】 - DestinationIP:【203.208.40.34】 - Network:【tcp】 - RulePayload:【gstatic.com】 - Lastchain:【V2-PRO 香港B 4x】
35. SourceIP:【192.168.10.202】 - Host:【tracking.miui.com】 - DestinationIP:【220.181.106.234】 - Network:【tcp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
36. SourceIP:【192.168.10.209】 - Host:【Empty】 - DestinationIP:【103.195.103.66】 - Network:【udp】 - RulePayload:【】 - Lastchain:【V1-美国01 隧道 1.5x】
37. SourceIP:【192.168.10.202】 - Host:【Empty】 - DestinationIP:【119.147.19.76】 - Network:【tcp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
38. SourceIP:【192.168.10.209】 - Host:【csp.withgoogle.com】 - DestinationIP:【142.250.188.17】 - Network:【tcp】 - RulePayload:【google】 - Lastchain:【V2-香港B 隧道 1.6x】
39. SourceIP:【192.168.10.202】 - Host:【Empty】 - DestinationIP:【180.102.49.55】 - Network:【tcp】 - RulePayload:【cn】 - Lastchain:【DIRECT】


### OpenClash Config

_No response_

### Expected Behavior

希望能顺畅上网,不受DNS解析影响

### Additional Context

_No response_
xiaoyangdkj commented 1 week ago

试一下在Default-NameServer那里添加“119.29.29.29”的dns服务器,把"节点域名解析"的勾打上后,保存并应用试试 目前发现的情况是:节点刚被[google]选择,后面就接着命中一条 GEOIP,CN DIRECT规则

vernesong commented 1 week ago

redir-host模式需要你的fallback里的DNS服务器直连能够访问

勾选DNS覆写设置的遵循规则即可,DNS会按照规则走代理,如果DNS服务器没按规则走代理就自定义一下

HenryLuoCN commented 1 week ago

试一下在Default-NameServer那里添加“119.29.29.29”的dns服务器,把"节点域名解析"的勾打上后,保存并应用试试 目前发现的情况是:节点刚被[google]选择,后面就接着命中一条 GEOIP,CN DIRECT规则

已经配置上这个IP了,目前使用的是fake-ip模式可以上网,但是自定义规则里面的域名不起作用。如果切换到redir-host模式则支持域名不使用clash内核

HenryLuoCN commented 1 week ago

redir-host模式需要你的fallback里的DNS服务器直连能够访问

勾选DNS覆写设置的遵循规则即可,DNS会按照规则走代理,如果DNS服务器没按规则走代理就自定义一下

以前一直不知道这个“遵循规则”干啥用,不知道是否有对应的文档跟随新版本发布

HenryLuoCN commented 1 week ago

按照上面的指导,好像问题解决了,感谢各位

youzhi1233 commented 1 week ago

redir-host模式需要你的fallback里的DNS服务器直连能够访问 勾选DNS覆写设置的遵循规则即可,DNS会按照规则走代理,如果DNS服务器没按规则走代理就自定义一下

以前一直不知道这个“遵循规则”干啥用,不知道是否有对应的文档跟随新版本发布

看运行配置应该是设置跟节点域名解析有关,勾选了之后需要设置节点域名解析dns地址

JPLM123 commented 1 week ago

今天我也更新了0.46.033,然后梯子就不能用了,这个问题确实还没有解决。 我删除了0.46.033,重新安装了0.46.31,然后把覆写设置里的DNS设置,设置成“自定义上游DNS” ‘遵循规则’,还有“追加默认dns”都打上勾,然后114.114.114.114,119.29.29.29,223.5.5.5这些常用的DNS都设置好,然后问题就解决了。 这个0.46.033感觉DNS解析有问题,希望UP主如果暂时解决不了,那不如下个新版本直接回滚盗0.46.31,起码那个版本可以正常使用

gemnioo commented 1 week ago

今天我也更新了0.46.033,然后梯子就不能用了,这个问题确实还没有解决。 我删除了0.46.033,重新安装了0.46.31,然后把覆写设置里的DNS设置,设置成“自定义上游DNS” ‘遵循规则’,还有“追加默认dns”都打上勾,然后114.114.114.114,119.29.29.29,223.5.5.5这些常用的DNS都设置好,然后问题就解决了。 这个0.46.033感觉DNS解析有问题,希望UP主如果暂时解决不了,那不如下个新版本直接回滚盗0.46.31,起码那个版本可以正常使用

你看看自己说的是什么......自己不会设置却教op回滚...
0.46.040 日志时间格式还有问题...是不是也要回滚呢?

JPLM123 commented 1 week ago

今天我也更新了0.46.033,然后梯子就不能用了,这个问题确实还没有解决。 我删除了0.46.033,重新安装了0.46.31,然后把覆写设置里的DNS设置,设置成“自定义上游DNS” ‘遵循规则’,还有“追加默认dns”都打上勾,然后114.114.114.114,119.29.29.29,223.5.5.5这些常用的DNS都设置好,然后问题就解决了。 这个0.46.033感觉DNS解析有问题,希望UP主如果暂时解决不了,那不如下个新版本直接回滚盗0.46.31,起码那个版本可以正常使用

你看看自己说的是什么......自己不会设置却教op回滚... 0.46.040 日志时间格式还有问题...是不是也要回滚呢?

我之前根本都不需要设置覆写DNS,之前的版本不存在这个问题,大部分普通网友通常不会研究这些设置,我也是看了上面人家的解决方法尝试之后才解决的。分享出来只是给遇到问题的人一个解决方法,毕竟我也是个建议,有问题的版本debug非常费时费力,回滚是最安全高效的,你说的日志时间格式这种小问题不影响使用的和这个是一回事么,我很多朋友自动升级完发现不能用了就打电话求助我,他们并没有解决的能力,并不是每个人都会逛Github。

xianren78 commented 1 week ago

0.46.042也有这个问题,0.46.040倒是正常

JPLM123 commented 1 week ago

我发现错怪0.46.033了,不是客户端的问题,还是内核的问题,最新的alpha-g08dcef8的meta内核是造成问题的原因, 我把meta内核替换成V1.18.3以下版本就没问题了,我现在用的V1.18.1,大家可以试一下这个思路,不是openclash客户端的问题

izanehuang commented 4 days ago

我发现错怪0.46.033了,不是客户端的问题,还是内核的问题,最新的alpha-g08dcef8的meta内核是造成问题的原因, 我把meta内核替换成V1.18.3以下版本就没问题了,我现在用的V1.18.1,大家可以试一下这个思路,不是openclash客户端的问题

我降级到1.18.2之后好像还是不行么?redir-host,tun模式。

izanehuang commented 4 days ago

我发现错怪0.46.033了,不是客户端的问题,还是内核的问题,最新的alpha-g08dcef8的meta内核是造成问题的原因, 我把meta内核替换成V1.18.3以下版本就没问题了,我现在用的V1.18.1,大家可以试一下这个思路,不是openclash客户端的问题

我降级到1.18.2之后好像还是不行么?redir-host,tun模式。

换了个机场貌似正常了,但是奈飞地区节点识别又有问题,新加坡变成了香港。

LongShengWen commented 2 days ago

我发现错怪0.46.033了,不是客户端的问题,还是内核的问题,最新的alpha-g08dcef8的meta内核是造成问题的原因, 我把meta内核替换成V1.18.3以下版本就没问题了,我现在用的V1.18.1,大家可以试一下这个思路,不是openclash客户端的问题

大佬,去哪里可以搞到1.18.1的内核,下载放进到目录下识别不了

scegg commented 2 days ago

我发现错怪0.46.033了,不是客户端的问题,还是内核的问题,最新的alpha-g08dcef8的meta内核是造成问题的原因, 我把meta内核替换成V1.18.3以下版本就没问题了,我现在用的V1.18.1,大家可以试一下这个思路,不是openclash客户端的问题

大佬,去哪里可以搞到1.18.1的内核,下载放进到目录下识别不了

https://github.com/MetaCubeX/mihomo/releases/tag/v1.18.1 用界面功能上传,可解权限等问题。

image
izanehuang commented 1 day ago

我发现错怪0.46.033了,不是客户端的问题,还是内核的问题,最新的alpha-g08dcef8的meta内核是造成问题的原因, 我把meta内核替换成V1.18.3以下版本就没问题了,我现在用的V1.18.1,大家可以试一下这个思路,不是openclash客户端的问题

大佬,去哪里可以搞到1.18.1的内核,下载放进到目录下识别不了

https://github.com/MetaCubeX/mihomo/releases/tag/v1.18.1