Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Fake-IP TUN模式无法访问国外网站,混合模式无法代理UDP请求 #4270

Open
5 of 7 tasks
kingfingerpro opened this issue Jan 4, 2025 · 4 comments
Open
5 of 7 tasks
Labels
bug Something isn't working

Comments

@kingfingerpro
Copy link

kingfingerpro commented Jan 4, 2025

Verify Steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
  • Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
  • Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
  • Definite 这确实是 OpenClash 出现的问题
  • Contributors 我有能力协助 OpenClash 开发并解决此问题
  • Meaningless 我提交的是无意义的催促更新或修复请求

OpenClash Version

v0.46.064

Bug on Environment

Other

OpenWrt Version

Kwrt 24.10-SNAPSHOT 01.03.2025

Bug on Platform

Linux-amd64(x86-64)

Describe the Bug

使用FakeIP(TUN混合)能正常联网,切换到FakeIP(TUN)后无法联网,内核中也没有其它客户端传入的连接,这个问题顺带着导致局域网内客户端无法代理UDP请求了
image
之前有段时间用过纯TUN模式,是能正常使用的,因为后面更新了固件版本和openclash,所以不太清楚是二者中谁的问题

To Reproduce

如上

OpenClash Log

OpenClash 调试日志

生成时间: 2025-01-04 14:40:50
插件版本: 0.46.064-r5
隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息



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

主机型号: CncTion N5105-4L
固件版本: Kwrt 24.10-SNAPSHOT 01.03.2025
LuCI版本:
内核版本: 6.6.68
处理器架构: x86_64

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

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

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

dnsmasq-full: 已安装
dnsmasq-full(ipset): 已安装
dnsmasq-full(nftset): 已安装
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: 12590
运行权限: 12590: 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-g1c5f4a3
Meta内核文件: 存在
Meta内核运行权限: 正常

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

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

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

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

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

port: 12380
socks-port: 12385
allow-lan: true
mode: rule
log-level: info
external-controller: 0.0.*.*:39693
dns:
  enabled: true
  nameserver:
  - dhcp://"pppoe-wan0"
  - dhcp://"pppoe-wan1"
  - 115.221.*.*
  - "[fe80::*:*:*:9c84]:53"
  - 61.153.*.*
  - 61.153.*.*
  - "[240e:1c:200::1]:53"
  - "[240e:1c:200::2]:53"
  fallback:
  - 8.8.*.*
  - 8.8.*.*
  - tls://1.0.*.*:853
  - tls://dns.google:853
  enable: true
  ipv6: true
  enhanced-mode: fake-ip
  fake-ip-range: 198.19.*.*/20
  listen: 0.0.*.*:35353
  respect-rules: true
  fake-ip-filter-mode: blacklist
  fake-ip-filter:
  `略`
  - geosite:cn
  proxy-server-nameserver:
  - 114.114.*.*
  - 119.29.*.*
  - 8.8.*.*
  - 1.1.*.*
proxy-groups:
`略`
rule-providers:
`略`
redir-port: 23456
tproxy-port: 12345
mixed-port: 12388
bind-address: "*"
external-ui: "/usr/share/openclash/ui"
keep-alive-interval: 15
keep-alive-idle: 600
ipv6: true
geodata-loader: standard
tcp-concurrent: true
unified-delay: true
sniffer:
  enable: true
  parse-pure-ip: true
tun:
  enable: true
  stack: mixed
  device: utun
  dns-hijack:
  - tcp://any:53
  endpoint-independent-nat: true
  auto-route: false
  auto-detect-interface: false
  auto-redirect: false
  strict-route: false
profile:
  store-selected: true
  store-fake-ip: true
authentication:
- *******:**********

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

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

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"

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.10 (nf_tables) on Sat Jan  4 14:40:51 2025
*nat
:PREROUTING ACCEPT [18859:1263182]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [42613:3132690]
:POSTROUTING ACCEPT [48090:3529934]
:DOCKER - [0:0]
-A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER
-A OUTPUT ! -d 127.0.*.*/8 -m addrtype --dst-type LOCAL -j DOCKER
-A POSTROUTING -s 169.254.*.*/24 ! -o docker0 -j MASQUERADE
`docker生成的防火墙配置`
-A DOCKER -i docker0 -j RETURN
`docker生成的防火墙配置`
COMMIT
# Completed on Sat Jan  4 14:40:51 2025

#IPv4 Mangle chain

# Generated by iptables-save v1.8.10 (nf_tables) on Sat Jan  4 14:40:51 2025
*mangle
:PREROUTING ACCEPT [362333:305701534]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [380913:542784534]
:POSTROUTING ACCEPT [0:0]
:mwan3_connected - [0:0]
:mwan3_hook - [0:0]
:mwan3_iface_in_wan0 - [0:0]
:mwan3_iface_in_wan1 - [0:0]
:mwan3_ifaces_in - [0:0]
:mwan3_policy_ELB - [0:0]
:mwan3_policy_U4GLB - [0:0]
:mwan3_rules - [0:0]
-A PREROUTING -j mwan3_hook
-A OUTPUT -j mwan3_hook
-A mwan3_connected -m set --match-set mwan3_connected dst -j MARK --set-xmark 0x3f00/0x3f00
-A mwan3_hook -j CONNMARK --restore-mark --nfmask 0x3f00 --ctmask 0x3f00
-A mwan3_hook -m mark --mark 0x0/0x3f00 -j mwan3_ifaces_in
-A mwan3_hook -m mark --mark 0x0/0x3f00 -j mwan3_connected
-A mwan3_hook -m mark --mark 0x0/0x3f00 -j mwan3_rules
-A mwan3_hook -j CONNMARK --save-mark --nfmask 0x3f00 --ctmask 0x3f00
-A mwan3_hook -m mark ! --mark 0x3f00/0x3f00 -j mwan3_connected
`MWAN3生成的配置`
COMMIT
# Completed on Sat Jan  4 14:40:51 2025

#IPv4 Filter chain

# Generated by iptables-save v1.8.10 (nf_tables) on Sat Jan  4 14:40:51 2025
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [17877:3452495]
:OUTPUT ACCEPT [0:0]
:DOCKER - [0:0]
:DOCKER-ISOLATION-STAGE-1 - [0:0]
:DOCKER-ISOLATION-STAGE-2 - [0:0]
:DOCKER-MAN - [0:0]
:DOCKER-USER - [0:0]
-A FORWARD -j DOCKER-USER
-A FORWARD -j DOCKER-ISOLATION-STAGE-1
`docker生成的配置`
COMMIT
# Completed on Sat Jan  4 14:40:51 2025

#IPv6 NAT chain

# Generated by ip6tables-save v1.8.10 on Sat Jan  4 14:40:51 2025
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Sat Jan  4 14:40:51 2025

#IPv6 Mangle chain

# Generated by ip6tables-save v1.8.10 on Sat Jan  4 14:40:51 2025
*mangle
:PREROUTING ACCEPT [279459:62467409]
:INPUT ACCEPT [250998:36992819]
:FORWARD ACCEPT [22436:24952842]
:OUTPUT ACCEPT [928058:1213986034]
:POSTROUTING ACCEPT [951741:1239289204]
`MWAN3生成的配置`
COMMIT
# Completed on Sat Jan  4 14:40:51 2025

#IPv6 Filter chain

# Generated by ip6tables-save v1.8.10 on Sat Jan  4 14:40:51 2025
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
# Completed on Sat Jan  4 14:40:51 2025

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

table inet fw4 {
	chain input {
		type filter hook input priority filter; policy accept;
		meta nfproto ipv6 iifname "utun" counter packets 479 bytes 121810 accept comment "OpenClash TUN Input"
		meta l4proto { tcp, udp } iifname "utun" counter packets 1327 bytes 312166 accept comment "OpenClash TUN Input"
		iif "lo" accept comment "!fw4: Accept traffic from loopback"
		ct state vmap { invalid : drop, established : accept, related : accept } comment "!fw4: Handle inbound flows"
		tcp flags & (fin | syn | rst | ack) == syn jump syn_flood comment "!fw4: Rate limit TCP syn packets"
		iifname { "wg0", "br-lan" } jump input_lan comment "!fw4: Handle lan IPv4/IPv6 input traffic"
		iifname { "usb0", "eth3", "pppoe-wan0", "pppoe-wan1" } jump input_wan comment "!fw4: Handle wan IPv4/IPv6 input traffic"
		iifname "docker0" jump input_docker comment "!fw4: Handle docker IPv4/IPv6 input traffic"
	}
}
table inet fw4 {
	chain forward {
		type filter hook forward priority filter; policy accept;
		udp dport 443 ip6 daddr != @china_ip6_route counter packets 0 bytes 0 reject with icmpv6 port-unreachable comment "OpenClash QUIC REJECT"
		meta nfproto ipv6 iifname "utun" counter packets 16 bytes 2314 accept comment "OpenClash TUN Forward"
		meta nfproto ipv6 oifname "utun" counter packets 17 bytes 3184 accept comment "OpenClash TUN Forward"
		oifname "utun" udp dport 443 ip daddr != @china_ip_route counter packets 0 bytes 0 reject with icmp port-unreachable comment "OpenClash QUIC REJECT"
		meta l4proto { tcp, udp } iifname "utun" counter packets 0 bytes 0 accept comment "OpenClash TUN Forward"
		meta l4proto { tcp, udp } oifname "utun" counter packets 0 bytes 0 accept comment "OpenClash TUN Forward"
		meta l4proto { tcp, udp } flow add @ft
		ct state vmap { invalid : drop, established : accept, related : accept } comment "!fw4: Handle forwarded flows"
		iifname { "wg0", "br-lan" } jump forward_lan comment "!fw4: Handle lan IPv4/IPv6 forward traffic"
		iifname { "usb0", "eth3", "pppoe-wan0", "pppoe-wan1" } jump forward_wan comment "!fw4: Handle wan IPv4/IPv6 forward traffic"
		iifname "docker0" jump forward_docker comment "!fw4: Handle docker IPv4/IPv6 forward traffic"
		jump upnp_forward comment "Hook into miniupnpd forwarding chain"
	}
}
table inet fw4 {
	chain dstnat {
		type nat hook prerouting priority dstnat; policy accept;
		udp dport 53 counter packets 0 bytes 0 redirect to :53 comment "OpenClash DNS Hijack"
		tcp dport 53 counter packets 0 bytes 0 accept comment "OpenClash DNS Hijack"
		iifname { "wg0", "br-lan" } jump dstnat_lan comment "!fw4: Handle lan IPv4/IPv6 dstnat traffic"
		iifname { "usb0", "eth3", "pppoe-wan0", "pppoe-wan1" } jump dstnat_wan comment "!fw4: Handle wan IPv4/IPv6 dstnat traffic"
		jump upnp_prerouting comment "Hook into miniupnpd prerouting chain"
	}
}
table inet fw4 {
	chain srcnat {
		type nat hook postrouting priority srcnat; policy accept;
		meta nfproto ipv6 oifname "utun" counter packets 26 bytes 2558 return comment "OpenClash TUN Postrouting"
		meta nfproto ipv4 oifname "utun" counter packets 208 bytes 14286 return comment "OpenClash TUN Postrouting"
		oifname { "wg0", "br-lan" } jump srcnat_lan comment "!fw4: Handle lan IPv4/IPv6 srcnat traffic"
		oifname { "usb0", "eth3", "pppoe-wan0", "pppoe-wan1" } jump srcnat_wan comment "!fw4: Handle wan IPv4/IPv6 srcnat traffic"
		jump upnp_postrouting comment "Hook into miniupnpd postrouting chain"
	}
}
table inet fw4 {
	chain nat_output {
		type nat hook output priority filter - 1; policy accept;
		meta skuid != 65534 udp dport 53 ip daddr 127.0.*.* counter packets 28 bytes 2063 redirect to :53 comment "OpenClash DNS Hijack"
		meta skuid != 65534 tcp dport 53 ip daddr 127.0.*.* counter packets 0 bytes 0 accept comment "OpenClash DNS Hijack"
	}
}
table inet fw4 {
	chain mangle_prerouting {
		type filter hook prerouting priority mangle; policy accept;
		meta nfproto ipv4 meta l4proto { tcp, udp } counter packets 14925 bytes 4021092 jump openclash_mangle
		meta nfproto ipv6 counter packets 5022 bytes 1380213 jump openclash_mangle_v6
	}
}
table inet fw4 {
	chain mangle_output {
		type route hook output priority mangle; policy accept;
		meta nfproto ipv4 meta l4proto { tcp, udp } counter packets 18114 bytes 8044982 jump openclash_mangle_output
		meta nfproto ipv6 counter packets 6501 bytes 1347913 jump openclash_mangle_output_v6
	}
}
table inet fw4 {
	chain openclash_mangle {
		meta nfproto ipv4 tcp sport 58443 counter packets 0 bytes 0 return
		meta nfproto ipv4 tcp sport 50080 counter packets 0 bytes 0 return
		meta nfproto ipv4 udp sport 45123 counter packets 0 bytes 0 return
		meta nfproto ipv4 tcp sport 1688 counter packets 0 bytes 0 return
		meta nfproto ipv4 udp sport 500 counter packets 0 bytes 0 return
		meta nfproto ipv4 udp sport 68 counter packets 3 bytes 1002 return
		ip saddr 192.168.*.* tcp sport 443 counter packets 0 bytes 0 return
		ip saddr 192.168.*.* tcp sport 80 counter packets 0 bytes 0 return
		meta l4proto { tcp, udp } iifname "utun" counter packets 1351 bytes 316507 return
		ip daddr @localnetwork counter packets 13062 bytes 3674109 return
		ip daddr @china_ip_route ip daddr != @china_ip_route_pass counter packets 113 bytes 7177 return
		ip protocol udp counter packets 52 bytes 4350 jump openclash_upnp
		meta l4proto { tcp, udp } th dport 0-65535 meta mark set 0x00000162 counter packets 396 bytes 22297
	}
}
table inet fw4 {
	chain openclash_mangle_output {
		meta nfproto ipv4 tcp sport 58443 counter packets 0 bytes 0 return
		meta nfproto ipv4 tcp sport 50080 counter packets 0 bytes 0 return
		meta nfproto ipv4 udp sport 45123 counter packets 1 bytes 60 return
		meta nfproto ipv4 tcp sport 1688 counter packets 0 bytes 0 return
		meta nfproto ipv4 udp sport 500 counter packets 0 bytes 0 return
		meta nfproto ipv4 udp sport 68 counter packets 0 bytes 0 return
		ip saddr 192.168.*.* tcp sport 443 counter packets 0 bytes 0 return
		ip saddr 192.168.*.* tcp sport 80 counter packets 0 bytes 0 return
		tcp dport 53 meta skuid != 65534 meta mark set 0x00000162 counter packets 0 bytes 0
		ip daddr @localnetwork counter packets 9579 bytes 7094122 return
		meta l4proto { tcp, udp } th dport 0-65535 ip daddr 198.19.*.*/20 meta mark set 0x00000162 counter packets 1402 bytes 305238
		meta skuid != 65534 ip daddr @china_ip_route ip daddr != @china_ip_route_pass counter packets 421 bytes 44814 return
		tcp dport 0-65535 meta skuid != 65534 meta mark set 0x00000162 counter packets 1476 bytes 137061
	}
}
table inet fw4 {
	chain openclash_dns_hijack {
	}
}
table inet fw4 {
	chain openclash_mangle_v6 {
		meta nfproto ipv6 tcp sport 58443 counter packets 0 bytes 0 return
		meta nfproto ipv6 tcp sport 50080 counter packets 0 bytes 0 return
		meta nfproto ipv6 udp sport 45123 counter packets 0 bytes 0 return
		meta nfproto ipv6 tcp sport 1688 counter packets 0 bytes 0 return
		meta nfproto ipv6 udp sport 500 counter packets 0 bytes 0 return
		meta nfproto ipv6 udp sport 546 counter packets 4 bytes 826 return
		ip6 daddr @localnetwork6 counter packets 4926 bytes 1368853 return
		meta nfproto ipv6 udp dport 53 counter packets 0 bytes 0 return
		ip6 daddr @china_ip6_route ip6 daddr != @china_ip6_route_pass counter packets 75 bytes 7350 return
		meta nfproto ipv6 tcp dport 0-65535 meta mark set 0x00000162 counter packets 14 bytes 2517
		meta nfproto ipv6 udp dport 0-65535 meta mark set 0x00000162 counter packets 3 bytes 667
	}
}
table inet fw4 {
	chain openclash_mangle_output_v6 {
		meta nfproto ipv6 tcp sport 58443 counter packets 0 bytes 0 return
		meta nfproto ipv6 tcp sport 50080 counter packets 0 bytes 0 return
		meta nfproto ipv6 udp sport 45123 counter packets 0 bytes 0 return
		meta nfproto ipv6 tcp sport 1688 counter packets 0 bytes 0 return
		meta nfproto ipv6 udp sport 500 counter packets 0 bytes 0 return
		meta nfproto ipv6 udp sport 546 counter packets 0 bytes 0 return
		meta nfproto ipv6 meta skuid != 65534 tcp dport 53 meta mark set 0x00000162 counter packets 0 bytes 0
		ip6 daddr @localnetwork6 counter packets 3231 bytes 391312 return
		meta nfproto ipv6 meta skuid != 65534 tcp dport 0-65535 meta mark set 0x00000162 counter packets 207 bytes 41841
	}
}

#===================== IPSET状态 =====================#
`MWAN3`
#===================== 路由表状态 =====================#

#IPv4

#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.*.*         115.221.*.*   0.0.*.*         UG    1      0        0 pppoe-wan0
0.0.*.*         115.221.*.*   0.0.*.*         UG    2      0        0 pppoe-wan1
115.221.*.*   0.0.*.*         255.255.*.* UH    0      0        0 pppoe-wan0
115.221.*.*   0.0.*.*         255.255.*.* UH    0      0        0 pppoe-wan1
169.254.*.*     0.0.*.*         255.255.*.*   U     0      0        0 docker0
172.16.*.*      0.0.*.*         255.255.*.*   U     51     0        0 wg0
172.16.*.*      0.0.*.*         255.255.*.* UH    51     0        0 wg0
172.16.*.*    0.0.*.*         255.255.*.* UH    51     0        0 wg0
172.16.*.*    0.0.*.*         255.255.*.* UH    51     0        0 wg0
192.168.*.*     0.0.*.*         255.255.*.*   U     99     0        0 eth3
192.168.*.*    0.0.*.*         255.255.*.*   U     51     0        0 wg0
192.168.*.*    0.0.*.*         255.255.*.*   U     0      0        0 br-lan
198.19.*.*    0.0.*.*         255.255.*.* U     0      0        0 utun

#ip route list
default via 115.221.*.* dev pppoe-wan0 proto static metric 1
default via 115.221.*.* dev pppoe-wan1 proto static metric 2
115.221.*.* dev pppoe-wan0 proto kernel scope link src 115.221.*.*
115.221.*.* dev pppoe-wan1 proto kernel scope link src 115.221.*.*
169.254.*.*/24 dev docker0 proto kernel scope link src 169.254.*.*
172.16.*.*/24 dev wg0 proto static scope link metric 51
172.16.*.* dev wg0 proto static scope link metric 51
172.16.*.* dev wg0 proto static scope link metric 51
172.16.*.* dev wg0 proto static scope link metric 51
192.168.*.*/24 dev eth3 proto static scope link metric 99
192.168.*.*/24 dev wg0 proto static scope link metric 51
192.168.*.*/24 dev br-lan proto kernel scope link src 192.168.*.*
198.19.*.*/30 dev utun proto kernel scope link src 198.19.*.*

#ip rule show
0:	from all lookup local
1001:	from all iif pppoe-wan0 lookup 1
1002:	from all iif pppoe-wan1 lookup 2
2001:	from all fwmark 0x100/0x3f00 lookup 1
2002:	from all fwmark 0x200/0x3f00 lookup 2
2061:	from all fwmark 0x3d00/0x3f00 blackhole
2062:	from all fwmark 0x3e00/0x3f00 unreachable
8000:	from all fwmark 0x162 ipproto icmp lookup main
8001:	from all fwmark 0x162 lookup 354
32766:	from all lookup main
32767:	from all lookup default

#===================== Tun设备状态 =====================#

utun: tun

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

tcp        0      0 198.19.*.*:43983      0.0.*.*:*               LISTEN      12590/clash
tcp        0      0 :::39693                :::*                    LISTEN      12590/clash
tcp        0      0 :::23456                :::*                    LISTEN      12590/clash
tcp        0      0 fdfe:dcba:9876::1:41125 :::*                    LISTEN      12590/clash
tcp        0      0 :::12345                :::*                    LISTEN      12590/clash
tcp        0      0 :::12380                :::*                    LISTEN      12590/clash
tcp        0      0 :::12385                :::*                    LISTEN      12590/clash
tcp        0      0 :::12388                :::*                    LISTEN      12590/clash
udp        0      0 :::58666                :::*                                12590/clash
udp        0      0 :::50733                :::*                                12590/clash
udp        0      0 :::50805                :::*                                12590/clash
udp        0      0 :::54906                :::*                                12590/clash
udp        0      0 :::59006                :::*                                12590/clash
udp        0      0 :::59017                :::*                                12590/clash
udp        0      0 :::59262                :::*                                12590/clash
udp        0      0 :::59308                :::*                                12590/clash
udp        0      0 :::51251                :::*                                12590/clash
udp        0      0 :::51313                :::*                                12590/clash
udp        0      0 :::35005                :::*                                12590/clash
udp        0      0 :::43199                :::*                                12590/clash
udp        0      0 :::43272                :::*                                12590/clash
udp        0      0 :::43282                :::*                                12590/clash
udp        0      0 :::35211                :::*                                12590/clash
udp        0      0 :::35227                :::*                                12590/clash
udp        0      0 :::35353                :::*                                12590/clash
udp        0      0 :::51856                :::*                                12590/clash
udp        0      0 :::55977                :::*                                12590/clash
udp        0      0 :::60088                :::*                                12590/clash
udp        0      0 :::56011                :::*                                12590/clash
udp        0      0 :::35570                :::*                                12590/clash
udp        0      0 :::23456                :::*                                12590/clash
udp        0      0 :::39875                :::*                                12590/clash
udp        0      0 :::35784                :::*                                12590/clash
udp        0      0 :::52168                :::*                                12590/clash
udp        0      0 :::48138                :::*                                12590/clash
udp        0      0 :::56343                :::*                                12590/clash
udp        0      0 :::56514                :::*                                12590/clash
udp        0      0 :::52475                :::*                                12590/clash
udp        0      0 :::40303                :::*                                12590/clash
udp        0      0 :::60819                :::*                                12590/clash
udp        0      0 :::48610                :::*                                12590/clash
udp        0      0 :::44572                :::*                                12590/clash
udp        0      0 :::36504                :::*                                12590/clash
udp        0      0 :::52897                :::*                                12590/clash
udp        0      0 :::40701                :::*                                12590/clash
udp        0      0 :::40710                :::*                                12590/clash
udp        0      0 :::57240                :::*                                12590/clash
udp        0      0 :::57367                :::*                                12590/clash
udp        0      0 :::12345                :::*                                12590/clash
udp        0      0 :::12385                :::*                                12590/clash
udp        0      0 :::12388                :::*                                12590/clash
udp        0      0 :::41066                :::*                                12590/clash
udp        0      0 :::33161                :::*                                12590/clash
udp        0      0 :::57747                :::*                                12590/clash
udp        0      0 :::57803                :::*                                12590/clash
udp        0      0 :::45537                :::*                                12590/clash
udp        0      0 :::57855                :::*                                12590/clash
udp        0      0 :::37460                :::*                                12590/clash
udp        0      0 :::49870                :::*                                12590/clash
udp        0      0 :::41747                :::*                                12590/clash
udp        0      0 :::58217                :::*                                12590/clash
udp        0      0 :::58224                :::*                                12590/clash
udp        0      0 :::41892                :::*                                12590/clash
udp        0      0 :::37875                :::*                                12590/clash
udp        0      0 :::46187                :::*                                12590/clash
udp        0      0 :::50431                :::*                                12590/clash

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

Server:		127.0.*.*
Address:	127.0.*.*:53

www.baidu.com	canonical name = www.a.shifen.com
Name:	www.a.shifen.com
Address: 180.101.*.*
Name:	www.a.shifen.com
Address: 180.101.*.*

www.baidu.com	canonical name = www.a.shifen.com
Name:	www.a.shifen.com
Address: 240e:*:*:*:0:ff:b015:146f
Name:	www.a.shifen.com
Address: 240e:*:*:*:0:ff:b05c:1278


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

Status: 0
TC: false
RD: true
RA: true
AD: false
CD: false

Question:
  Name: www.instagram.com.
  Qtype: 1
  Qclass: 1

Answer:
  TTL: 9
  data: z-p42-instagram.c10r.instagram.com.
  name: www.instagram.com.
  type: 5

  TTL: 9
  data: 157.240.*.*
  name: z-p42-instagram.c10r.instagram.com.
  type: 1

Status: 0
TC: false
RD: true
RA: true
AD: false
CD: false

Question:
  Name: www.instagram.com.
  Qtype: 28
  Qclass: 1

Answer:
  TTL: 21
  data: z-p42-instagram.c10r.instagram.com.
  name: www.instagram.com.
  type: 5

  TTL: 21
  data: 2a03:*:*:*:face:b00c:0:4420
  name: z-p42-instagram.c10r.instagram.com.
  type: 28


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

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

# Interface lan
nameserver 119.29.*.*
nameserver 8.8.*.*

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

HTTP/1.1 200 OK
Bdpagetype: 1
Bdqid: 0xe743d82d01048525
Connection: keep-alive
Content-Length: 477349
Content-Type: text/html; charset=utf-8
Date: Sat, 04 Jan 2025 06:40:52 GMT
Server: BWS/1.1
Set-Cookie: BIDUPSID=169ED0C5C3A81CC12A3D420BD78B8F12; expires=Thu, 31-Dec-37 23:55:55 GMT; max-age=2147483647; path=/; domain=.baidu.com
Set-Cookie: PSTM=1735972852; expires=Thu, 31-Dec-37 23:55:55 GMT; max-age=2147483647; path=/; domain=.baidu.com
Set-Cookie: BDSVRTM=1; path=/
Set-Cookie: BD_HOME=1; path=/
Set-Cookie: BAIDUID=169ED0C5C3A81CC12A3D420BD78B8F12:FG=1; Path=/; Domain=baidu.com; Max-Age=31536000
Set-Cookie: BAIDUID_BFESS=169ED0C5C3A81CC12A3D420BD78B8F12:FG=1; Path=/; Domain=baidu.com; Max-Age=31536000; Secure; SameSite=None
Traceid: 1735972852062388225016664400734003168549
Vary: Accept-Encoding
X-Ua-Compatible: IE=Edge,chrome=1
X-Xss-Protection: 1;mode=block


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


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

time="2025-01-04T14:41:13.207980610+08:00" level=debug msg="Health Checking, proxy: 🇹🇼 IPLC-V221-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, id: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.208007568+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [183.233.*.*] A, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.208032450+08:00" level=debug msg="Health Checking, proxy: 🇹🇼 IPLC-V222-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, id: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.208060092+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [183.233.*.*] A, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.208249835+08:00" level=debug msg="[DNS] cache hit xwogpb.cjjvmm.xyz --> [14.119.*.*] A, expire at 2025-01-04 14:44:23"
time="2025-01-04T14:41:13.208275309+08:00" level=debug msg="[DNS] cache hit xwogpb.cjjvmm.xyz --> [] AAAA, expire at 2025-01-04 14:57:43"
time="2025-01-04T14:41:13.208303555+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [2409:*:*:*::42 2409:8c20:28c1:4::34 2409:8c20:28c1:4::26] AAAA, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.208352277+08:00" level=debug msg="[DNS] cache hit xwogpb.cjjvmm.xyz --> [14.119.*.*] A, expire at 2025-01-04 14:44:23"
time="2025-01-04T14:41:13.208367256+08:00" level=debug msg="[DNS] cache hit dns.google --> [2001:4860:4860::8888 2001:4860:4860::8844] AAAA, expire at 2025-01-04 14:41:45"
time="2025-01-04T14:41:13.208394773+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [2409:*:*:*::42 2409:8c20:28c1:4::34 2409:8c20:28c1:4::26] AAAA, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.208419012+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [2409:*:*:*::42 2409:8c20:28c1:4::34 2409:8c20:28c1:4::26] AAAA, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.208374654+08:00" level=debug msg="[DNS] cache hit xwogpb.cjjvmm.xyz --> [] AAAA, expire at 2025-01-04 14:57:43"
time="2025-01-04T14:41:13.208496932+08:00" level=debug msg="[DNS] cache hit xwogpb.cjjvmm.xyz --> [] AAAA, expire at 2025-01-04 14:57:43"
time="2025-01-04T14:41:13.208515278+08:00" level=warning msg="[UDP] dial 🐟 漏网之鱼 (match Match/) mihomo --> 8.8.*.*:53 error: xwogpb.cjjvmm.xyz:10548 connect error: dial tcp 14.119.*.*:10548: i/o timeout"
time="2025-01-04T14:41:13.208533860+08:00" level=warning msg="[UDP] dial 🐟 漏网之鱼 (match Match/) mihomo --> 8.8.*.*:53 error: xwogpb.cjjvmm.xyz:10548 connect error: dial tcp 14.119.*.*:10548: i/o timeout"
time="2025-01-04T14:41:13.208294490+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [2409:*:*:*::42 2409:8c20:28c1:4::34 2409:8c20:28c1:4::26] AAAA, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.208494056+08:00" level=debug msg="[DNS] cache hit xwogpb.cjjvmm.xyz --> [] AAAA, expire at 2025-01-04 14:57:43"
time="2025-01-04T14:41:13.208381762+08:00" level=debug msg="[DNS] cache hit xwogpb.cjjvmm.xyz --> [] AAAA, expire at 2025-01-04 14:57:43"
time="2025-01-04T14:41:13.208409910+08:00" level=debug msg="[DNS] cache hit xwogpb.cjjvmm.xyz --> [] AAAA, expire at 2025-01-04 14:57:43"
time="2025-01-04T14:41:13.208495939+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:13.209093865+08:00" level=debug msg="[DNS] cache hit xwogpb.cjjvmm.xyz --> [14.119.*.*] A, expire at 2025-01-04 14:44:23"
time="2025-01-04T14:41:13.209115537+08:00" level=debug msg="[DNS] cache hit xwogpb.cjjvmm.xyz --> [] AAAA, expire at 2025-01-04 14:57:43"
time="2025-01-04T14:41:13.209170175+08:00" level=warning msg="[TCP] dial 🇬 谷歌服务 (match RuleSet/Google) mihomo --> dns.google:853 error: xwogpb.cjjvmm.xyz:10548 connect error: dial tcp 14.119.*.*:10548: i/o timeout"
time="2025-01-04T14:41:13.209204712+08:00" level=debug msg="[DNS Server] Exchange ;d3.weather.com.cn.\tIN\t AAAA failed: all DNS requests failed, first error: xwogpb.cjjvmm.xyz:10548 connect error: dial tcp 14.119.*.*:10548: i/o timeout"
time="2025-01-04T14:41:13.209274354+08:00" level=debug msg="[DNS] resolve d3.weather.com.cn AAAA from "
time="2025-01-04T14:41:13.209298753+08:00" level=debug msg="[DNS] resolve d3.weather.com.cn AAAA from "
time="2025-01-04T14:41:13.209314621+08:00" level=debug msg="[DNS] resolve d3.weather.com.cn AAAA from udp://[240e:1c:200::2]:53"
time="2025-01-04T14:41:13.209331336+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:13.209353336+08:00" level=debug msg="[DNS] resolve d3.weather.com.cn AAAA from udp://61.153.*.*:53"
time="2025-01-04T14:41:13.209374061+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:13.209829182+08:00" level=debug msg="[DNS] resolve d3.weather.com.cn AAAA from udp://115.221.*.*:53"
time="2025-01-04T14:41:13.209868309+08:00" level=debug msg="[DNS] resolve d3.weather.com.cn AAAA from udp://61.153.*.*:53"
time="2025-01-04T14:41:13.209883415+08:00" level=debug msg="[DNS] resolve d3.weather.com.cn AAAA from udp://[fe80::*:*:*:9c84]:53"
time="2025-01-04T14:41:13.209899250+08:00" level=debug msg="[DNS] resolve d3.weather.com.cn AAAA from udp://[240e:1c:200::1]:53"
time="2025-01-04T14:41:13.209979111+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:13.210381708+08:00" level=info msg="[UDP] mihomo --> 61.153.*.*:53 match RuleSet(ChinaIp) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:13.210495614+08:00" level=info msg="[UDP] mihomo --> [240e:1c:200::2]:53 match GeoIP(cn) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:13.210508086+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:13.210596820+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:13.211088543+08:00" level=info msg="[UDP] mihomo --> [240e:1c:200::1]:53 match GeoIP(cn) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:13.211222117+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:13.211276528+08:00" level=info msg="[UDP] mihomo --> [fe80::*:*:*:9c84]:53 match RuleSet(Lan) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:13.211420473+08:00" level=info msg="[UDP] mihomo --> 61.153.*.*:53 match RuleSet(ChinaIp) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:13.211457185+08:00" level=info msg="[UDP] mihomo --> 115.221.*.*:53 match RuleSet(ChinaIp) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:13.212048566+08:00" level=debug msg="[DNS] d3.weather.com.cn --> [] AAAA from udp://61.153.*.*:53"
time="2025-01-04T14:41:13.221446184+08:00" level=debug msg="[DNS] d3.weather.com.cn --> [] AAAA from udp://61.153.*.*:53"
time="2025-01-04T14:41:13.431902669+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V314-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 56 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.432001951+08:00" level=debug msg="Health Checking, proxy: 🇹🇼 IPLC-V223-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, id: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.432168973+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [183.233.*.*] A, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.432330906+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [2409:*:*:*::42 2409:8c20:28c1:4::34 2409:8c20:28c1:4::26] AAAA, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.433288808+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V310-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 54 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.433360661+08:00" level=debug msg="Health Checking, proxy: 🇹🇼 IPLC-V224-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, id: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.433482380+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [183.233.*.*] A, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.433579108+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [2409:*:*:*::42 2409:8c20:28c1:4::34 2409:8c20:28c1:4::26] AAAA, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.446998413+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V313-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 58 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.447092933+08:00" level=debug msg="Health Checking, proxy: 🇹🇼 IPLC-V225-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, id: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.447241484+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [183.233.*.*] A, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.447325153+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [2409:*:*:*::42 2409:8c20:28c1:4::34 2409:8c20:28c1:4::26] AAAA, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.459032017+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V312-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 57 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.459142197+08:00" level=debug msg="Health Checking, proxy: 🇹🇼 IPLC-V226-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, id: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.459306749+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [183.233.*.*] A, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.459388947+08:00" level=debug msg="[DNS] cache hit wnptw.thecxfcsp.top --> [2409:*:*:*::42 2409:8c20:28c1:4::34 2409:8c20:28c1:4::26] AAAA, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.524087032+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V311-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 76 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.524182444+08:00" level=debug msg="Health Checking, proxy: 🇹🇼 IPLC-V106-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, id: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.524329835+08:00" level=debug msg="[DNS] cache hit wnpck.thecxfcsp.top --> [183.236.*.*] A, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.524420966+08:00" level=debug msg="[DNS] cache hit wnpck.thecxfcsp.top --> [2409:*:*:*::42 2409:8c20:28c1:4::34 2409:8c20:28c1:4::32] AAAA, expire at 2025-01-04 14:45:04"
time="2025-01-04T14:41:13.538684463+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V324-台湾-0.5x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 94 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.570095933+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V323-台湾-0.5x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 109 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.571770670+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V221-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 103 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.579752182+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V222-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 104 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.582404275+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V107-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 102 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.807538877+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V224-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 107 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.808049026+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V223-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 108 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.910600027+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V106-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 103 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:13.961763191+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V225-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 109 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:14.067518109+08:00" level=debug msg="Health Checked, proxy: 🇹🇼 IPLC-V226-台湾-1x-NF&Disney&动画疯*, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 323 ms uid: {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:14.067601482+08:00" level=debug msg="Finish A Health Checking {071b39d5-04cd-4ff8-896f-81d5af70a02b}"
time="2025-01-04T14:41:14.067689295+08:00" level=debug msg="ProxyGroup: 🇹🇼 台湾节点 first failed"
time="2025-01-04T14:41:14.246734745+08:00" level=debug msg="[DNS] resolve apd-pcdnwxlogin.teg.tencent-cloud.net A from "
time="2025-01-04T14:41:14.246844891+08:00" level=debug msg="[DNS] resolve apd-pcdnwxlogin.teg.tencent-cloud.net A from "
time="2025-01-04T14:41:14.246892679+08:00" level=debug msg="[DNS] resolve apd-pcdnwxlogin.teg.tencent-cloud.net A from udp://[240e:1c:200::1]:53"
time="2025-01-04T14:41:14.246983117+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:14.246847209+08:00" level=debug msg="[DNS] resolve apd-pcdnwxlogin.teg.tencent-cloud.net A from udp://61.153.*.*:53"
time="2025-01-04T14:41:14.246855669+08:00" level=debug msg="[DNS] resolve apd-pcdnwxlogin.teg.tencent-cloud.net A from udp://115.221.*.*:53"
time="2025-01-04T14:41:14.246847282+08:00" level=debug msg="[DNS] resolve apd-pcdnwxlogin.teg.tencent-cloud.net A from udp://[240e:1c:200::2]:53"
time="2025-01-04T14:41:14.246859574+08:00" level=debug msg="[DNS] resolve apd-pcdnwxlogin.teg.tencent-cloud.net A from udp://[fe80::*:*:*:9c84]:53"
time="2025-01-04T14:41:14.246883582+08:00" level=debug msg="[DNS] resolve apd-pcdnwxlogin.teg.tencent-cloud.net A from udp://61.153.*.*:53"
time="2025-01-04T14:41:14.247447849+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:14.247541355+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:14.250077593+08:00" level=info msg="[UDP] mihomo --> [240e:1c:200::1]:53 match GeoIP(cn) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:14.247547261+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:14.250213889+08:00" level=info msg="[UDP] mihomo --> 61.153.*.*:53 match RuleSet(ChinaIp) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:14.247582540+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:14.250179951+08:00" level=info msg="[UDP] mihomo --> 115.221.*.*:53 match RuleSet(ChinaIp) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:14.247561089+08:00" level=debug msg="[Rule] use default rules"
time="2025-01-04T14:41:14.251431395+08:00" level=info msg="[UDP] mihomo --> [fe80::*:*:*:9c84]:53 match RuleSet(Lan) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:14.252128908+08:00" level=debug msg="[DNS] apd-pcdnwxlogin.teg.tencent-cloud.net --> [183.61.*.* 183.61.*.* 183.61.*.* 183.61.*.* 183.61.*.* 222.189.*.* 183.61.*.* 183.61.*.* 183.61.*.* 183.61.*.* 183.61.*.* 183.61.*.* 183.61.*.* 183.61.*.* 183.61.*.* 183.61.*.*] A from udp://61.153.*.*:53"
time="2025-01-04T14:41:14.252614973+08:00" level=info msg="[UDP] mihomo --> 61.153.*.*:53 match RuleSet(ChinaIp) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:14.252829245+08:00" level=info msg="[UDP] mihomo --> [240e:1c:200::2]:53 match GeoIP(cn) using 🎯 全球直连[DIRECT]"
time="2025-01-04T14:41:14.260389029+08:00" level=debug msg="[DNS] cache hit apd-pcdnwxnat.teg.tencent-cloud.net --> [222.189.*.* 49.71.*.* 58.212.*.*] A, expire at 2025-01-04 14:44:11"

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


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

1. SourceIP:【】 - Host:【Empty】 - DestinationIP:【240e:1c:200::1】 - Network:【udp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
2. SourceIP:【】 - Host:【Empty】 - DestinationIP:【115.221.*.*】 - Network:【udp】 - RulePayload:【ChinaIp】 - Lastchain:【DIRECT】
3. SourceIP:【】 - Host:【Empty】 - DestinationIP:【115.221.*.*】 - Network:【udp】 - RulePayload:【ChinaIp】 - Lastchain:【DIRECT】
4. SourceIP:【198.19.*.*】 - Host:【Empty】 - DestinationIP:【85.67.*.*】 - Network:【udp】 - RulePayload:【00DirectProcess】 - Lastchain:【DIRECT】
5. SourceIP:【】 - Host:【Empty】 - DestinationIP:【fe80::*:*:*:9c84】 - Network:【udp】 - RulePayload:【Lan】 - Lastchain:【DIRECT】
6. SourceIP:【240e:*:*:*::1】 - Host:【mqtt.xbase.cloud】 - DestinationIP:【】 - Network:【tcp】 - RulePayload:【】 - Lastchain:【🇹🇼 IPLC-V310-台湾-1x-NF&Disney&动画疯*】
7. SourceIP:【】 - Host:【Empty】 - DestinationIP:【240e:1c:200::2】 - Network:【udp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
8. SourceIP:【240e:*:*:*::1】 - Host:【Empty】 - DestinationIP:【2606:4700:300a::6813:c0b0】 - Network:【tcp】 - RulePayload:【00DirectProcess】 - Lastchain:【DIRECT】
9. SourceIP:【】 - Host:【Empty】 - DestinationIP:【240e:1c:200::1】 - Network:【udp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
10. SourceIP:【】 - Host:【Empty】 - DestinationIP:【240e:1c:200::2】 - Network:【udp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
11. SourceIP:【】 - Host:【Empty】 - DestinationIP:【115.221.*.*】 - Network:【udp】 - RulePayload:【ChinaIp】 - Lastchain:【DIRECT】
12. SourceIP:【198.19.*.*】 - Host:【tracker.kuroy.me】 - DestinationIP:【】 - Network:【tcp】 - RulePayload:【00DirectProcess】 - Lastchain:【DIRECT】
13. SourceIP:【】 - Host:【Empty】 - DestinationIP:【240e:1c:200::2】 - Network:【udp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
14. SourceIP:【】 - Host:【Empty】 - DestinationIP:【240e:1c:200::1】 - Network:【udp】 - RulePayload:【cn】 - Lastchain:【DIRECT】
15. SourceIP:【240e:*:*:*::1】 - Host:【xluser-ssl.xunlei.com】 - DestinationIP:【】 - Network:【tcp】 - RulePayload:【Direct】 - Lastchain:【DIRECT】
16. SourceIP:【】 - Host:【Empty】 - DestinationIP:【fe80::*:*:*:9c84】 - Network:【udp】 - RulePayload:【Lan】 - Lastchain:【DIRECT】
17. SourceIP:【】 - Host:【Empty】 - DestinationIP:【fe80::*:*:*:9c84】 - Network:【udp】 - RulePayload:【Lan】 - Lastchain:【DIRECT】

OpenClash Config

No response

Expected Behavior

希望能修复该问题

Additional Context

No response

@kingfingerpro kingfingerpro added the bug Something isn't working label Jan 4, 2025
@kingfingerpro
Copy link
Author

可能是配置有问题🤯,重新刷入固件而不导入备份配置的情况下,纯TUN模式能正常运行🤕

@kingfingerpro
Copy link
Author

跟MWAN3有冲突?把MWAN3卸载之后就能使用TUN模式了,同样的配置之前好像是可以共存的,下面是mwan3的配置


config globals 'globals'
	option rtmon_interval '5'
	option local_source 'lan'
	option mmx_mask '0x3F00'

config interface 'wan0'
	option enabled '1'
	option initial_state 'online'
	option family 'ipv4'
	option track_method 'ping'
	option reliability '1'
	option count '1'
	option size '56'
	option check_quality '0'
	option timeout '2'
	option interval '5'
	option failure_interval '5'
	option recovery_interval '5'
	option down '3'
	option up '3'
	option flush_conntrack 'always'
	list track_ip '223.5.5.5'

config interface 'wan1'
	option enabled '1'
	option initial_state 'online'
	option family 'ipv4'
	option track_method 'ping'
	option reliability '1'
	option count '1'
	option size '56'
	option check_quality '0'
	option timeout '2'
	option interval '5'
	option failure_interval '5'
	option recovery_interval '5'
	option down '3'
	option up '3'
	option flush_conntrack 'always'
	list track_ip '223.5.5.5'

config interface 'usbwan'
	option enabled '1'
	option initial_state 'online'
	option family 'ipv4'
	option track_method 'ping'
	option reliability '1'
	option count '1'
	option size '56'
	option check_quality '0'
	option timeout '2'
	option interval '5'
	option failure_interval '5'
	option recovery_interval '5'
	option down '3'
	option up '3'
	option flush_conntrack 'always'
	list track_ip '223.5.5.5'

config member 'wan0_m1_w10'
	option interface 'wan0'
	option metric '1'
	option weight '10'

config member 'wan1_m1_w10'
	option interface 'wan1'
	option metric '1'
	option weight '10'

config member 'usbwan_m1_w5'
	option interface 'usbwan'
	option metric '1'
	option weight '5'

config rule 'LoadBalance'
	option proto 'all'
	option sticky '0'
	option use_policy 'ELB'

config policy 'ELB'
	list use_member 'wan0_m1_w10'
	list use_member 'wan1_m1_w10'
	option last_resort 'default'

config rule 'Standby4G'
	option proto 'all'
	option sticky '0'
	option use_policy 'U4GLB'

config policy 'U4GLB'
	list use_member 'usbwan_m1_w5'
	option last_resort 'default'

@vernesong
Copy link
Owner

路由表有调整

@kingfingerpro
Copy link
Author

如果想同时使用TUN模式和MWAN3需要做什么调整?后续会优化二者的兼容性吗🫡

vernesong added a commit that referenced this issue Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants