vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
15.98k stars 2.97k forks source link

Openclash 使用墙线的接口无法正常使用,使用手机USB tethering 可以正常使用[Bug] #3270

Closed PolymorphismException closed 1 year ago

PolymorphismException commented 1 year ago

Verify Steps

OpenClash Version

v0.45.112-beta

Bug on Environment

Lean

Bug on Platform

Linux-amd64(x86-64)

To Reproduce

正常导入就会,打开tun,自定义规则,dns接管,dns缓存不保存

Describe the Bug

昨天因为openwrt崩溃,所以重装了一次,一直都用的esir去年秋天的高大全,按照往常的设置,开始是只连不上谷歌,油管newbing,chatgpt,telegram,bard都行,然后昨天熬夜弄了一天,装了很多版本,固件也换了很多版本,现在变成断断续续所有的都连不上,手机clash和电脑的clash都可以,

OpenClash Log

OpenClash 调试日志

生成时间: 2023-05-13 15:41:22 插件版本: v0.45.112-beta 隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息


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

主机型号: Intel(R) Celeron(R) CPU J1900 @ 1.99GHz : 4 Core 4 Thread
固件版本: OpenWrt GDQ Winter[2022]
LuCI版本: git-21.335.48743-5f363d9-1
内核版本: 5.10.88
处理器架构: 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: 已安装
iptables-mod-tproxy: 已安装
kmod-ipt-tproxy: 已安装
iptables-mod-extra: 未安装
kmod-ipt-extra: 未安装
kmod-ipt-nat: 未安装

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

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

#下方无法显示内核版本号时请确认您的内核版本是否正确或者有无权限
Tun内核版本: 2023.04.16
Tun内核文件: 存在
Tun内核运行权限: 正常

Dev内核版本: v1.15.1-7-g6eee226
Dev内核文件: 存在
Dev内核运行权限: 正常

Meta内核版本: 
Meta内核文件: 不存在
Meta内核运行权限: 否

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

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

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

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

#===================== 自定义规则 一 =====================#
script:
##  shortcuts:
##    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

rules:
##- SCRIPT,quic,REJECT #shortcuts rule
##- SCRIPT,time-limit,REJECT #shortcuts rule
- DOMAIN-KEYWORD,bard,GLOBAL

- DOMAIN-SUFFIX,openai.com,GLOBAL
- DOMAIN-SUFFIX,pay.openai.com,GLOBAL
- DOMAIN-SUFFIX,chat.openai.com,GLOBAL
- DOMAIN-SUFFIX,challenges.cloudflare.com,GLOBAL
- DOMAIN-SUFFIX,auth0.openai.com,GLOBAL
- DOMAIN-SUFFIX,platform.openai.com,GLOBAL
# Add ai.com
- DOMAIN-SUFFIX,ai.com,GLOBAL
# Add stripe.com
- DOMAIN-SUFFIX,invoice.stripe.com,GLOBAL
- DOMAIN-SUFFIX,stripe.com,GLOBAL
- DOMAIN-KEYWORD,xbox,DIRECT #匹配域名关键字(交由Proxy代理服务器组)
- DOMAIN-SUFFIX,mypikpak.com,DIRECT
- DOMAIN-SUFFIX,bing.com,GLOBAL
- DOMAIN-SUFFIX,bing.net,GLOBAL
- DOMAIN-SUFFIX,bingads.com,GLOBAL
- DOMAIN-SUFFIX,bingagencyawards.com,GLOBAL
- DOMAIN-SUFFIX,bingapistatistics.com,GLOBAL
- DOMAIN-SUFFIX,bingsandbox.com,GLOBAL
- DOMAIN-SUFFIX,bingvisualsearch.com,GLOBAL
- DOMAIN-SUFFIX,bingworld.com,GLOBAL
- DOMAIN-SUFFIX,bluehatnights.com,GLOBAL
- DOMAIN-SUFFIX,dictate.ms,GLOBAL
- DOMAIN-SUFFIX,flipwithsurface.com,GLOBAL
- DOMAIN-SUFFIX,masalladeloslimites.com,GLOBAL
- DOMAIN-SUFFIX,microsoft-give.com,GLOBAL
- DOMAIN-SUFFIX,microsoftcloudsummit.com,GLOBAL
- DOMAIN-SUFFIX,microsoftdiplomados.com,GLOBAL
- DOMAIN-SUFFIX,microsoftlatamholiday.com,GLOBAL
- DOMAIN-SUFFIX,microsoftmxfilantropia.com,GLOBAL
- DOMAIN-SUFFIX,microsoftpartnersolutions.com,GLOBAL
- DOMAIN-SUFFIX,msunlimitedcloudsummit.com,GLOBAL
- DOMAIN-SUFFIX,office365love.com,GLOBAL
- DOMAIN-SUFFIX,office365tw.com,GLOBAL
- DOMAIN-SUFFIX,renovacionoffice.com,GLOBAL
- DOMAIN-SUFFIX,sprinklesapp.com,GLOBAL
- DOMAIN-SUFFIX,tgfcer.com,DIRECT
##- 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]

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 #匹配数据源端口(直连)

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

port: 7890
socks-port: 7891
allow-lan: true
mode: rule
log-level: silent
external-controller: 0.0.0.0:9090
proxy-groups:
- name: "\U0001F680 节点选择"
  type: select
  proxies:
  - "♻️ 自动选择"
  - "\U0001F1ED\U0001F1F0 香港节点"
  - "\U0001F1E8\U0001F1F3 台湾节点"

- "IP-CIDR,103.196.64.0/22,\U0001F3AF 全球直连,no-resolve"

COMMIT
# Completed on Sat May 13 15:41:25 2023

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

Name: cn
Name: ct
Name: cnc
Name: cmcc
Name: crtc
Name: cernet
Name: gwbn
Name: othernet
Name: music
Name: mwan3_connected_v4
Name: mwan3_connected_v6
Name: mwan3_source_v6
Name: mwan3_dynamic_v4
Name: mwan3_dynamic_v6
Name: mwan3_custom_v4
Name: mwan3_custom_v6
Name: localnetwork
Name: china_ip_route
Name: china_ip_route_pass
Name: mwan3_connected

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

#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    64     0        0 eth1
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
192.168.0.0     0.0.0.0         255.255.255.0   U     64     0        0 eth1
192.168.5.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan
198.18.0.0      0.0.0.0         255.255.0.0     U     0      0        0 utun
#ip route list
default via 192.168.0.1 dev eth1 proto static src 192.168.0.100 metric 64 
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown 
192.168.0.0/24 dev eth1 proto static scope link metric 64 
192.168.5.0/24 dev br-lan proto kernel scope link src 192.168.5.1 
198.18.0.0/16 dev utun proto kernel scope link src 198.18.0.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

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

utun: tun pi multi_queue filter

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

tcp        0      0 198.18.0.1:7777         0.0.0.0:*               LISTEN      18578/clash
tcp        0      0 :::9090                 :::*                    LISTEN      18578/clash
tcp        0      0 :::7890                 :::*                    LISTEN      18578/clash
tcp        0      0 :::7891                 :::*                    LISTEN      18578/clash
tcp        0      0 :::7892                 :::*                    LISTEN      18578/clash
tcp        0      0 :::7893                 :::*                    LISTEN      18578/clash
tcp        0      0 :::7895                 :::*                    LISTEN      18578/clash
udp        0      0 :::7874                 :::*                                18578/clash
udp        0      0 :::7891                 :::*                                18578/clash
udp        0      0 :::7892                 :::*                                18578/clash
udp        0      0 :::7893                 :::*                                18578/clash
udp        0      0 :::7895                 :::*                                18578/clash

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

Server:     127.0.0.1
Address:    127.0.0.1#53

Name:   www.baidu.com
Address: 120.232.145.144
Name:   www.baidu.com
Address: 120.232.145.185

#===================== 测试内核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: 1427
  data: geo-p42.instagram.com.
  name: www.instagram.com.
  type: 5

  TTL: 1427
  data: z-p42-instagram.c10r.instagram.com.
  name: geo-p42.instagram.com.
  type: 5

  TTL: 60
  data: 31.13.82.174
  name: z-p42-instagram.c10r.instagram.com.
  type: 1

#===================== resolv.conf.d =====================#

# Interface wan
nameserver 192.168.1.1
nameserver 192.168.0.1

#===================== 测试本机网络连接(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: Sat, 13 May 2023 07:41:26 GMT
Etag: "575e1f6f-115"
Last-Modified: Mon, 13 Jun 2016 02:50:23 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

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

HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 83
Cache-Control: max-age=300
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
Content-Type: text/plain; charset=utf-8
ETag: "c4bb90ae438326968603faec1fb27380615fa6040485f63636e70d4cbfae644b"
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
X-GitHub-Request-Id: 9B08:4BE9:E5241C:1055ACE:645EDF98
Accept-Ranges: bytes
Date: Sat, 13 May 2023 07:41:28 GMT
Via: 1.1 varnish
X-Served-By: cache-sjc1000128-SJC
X-Cache: HIT
X-Cache-Hits: 1
X-Timer: S1683963688.172209,VS0,VE180
Vary: Authorization,Accept-Encoding,Origin
Access-Control-Allow-Origin: *
X-Fastly-Request-ID: f311201e57653467973941c4b6b101afc9fec75b
Expires: Sat, 13 May 2023 07:46:28 GMT
Source-Age: 0

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

15:36:10 INF [Config] initial compatible provider name=🚀 节点选择
15:36:10 INF [Config] initial compatible provider name=📢 谷歌FCM
15:36:10 INF [Config] initial compatible provider name=Ⓜ️ 微软云盘
15:36:10 INF [Config] initial compatible provider name=🍃 应用净化
15:36:10 INF [Config] initial compatible provider name=🇰🇷 韩国节点
15:36:10 INF [Config] initial compatible provider name=🇯🇵 日本节点
15:36:10 INF [Config] initial compatible provider name=🇨🇳 台湾节点
15:36:10 INF [Config] initial compatible provider name=📲 电报消息
15:36:10 INF [Config] initial compatible provider name=Ⓜ️ 微软服务
15:36:10 INF [Config] initial compatible provider name=🚀 手动切换
15:36:10 INF [Config] initial compatible provider name=🐟 漏网之鱼
15:36:10 INF [Config] initial compatible provider name=🌍 国外媒体
15:36:10 INF [Config] initial compatible provider name=🎮 游戏平台
15:36:10 INF [Config] initial compatible provider name=🇸🇬 狮城节点
15:36:10 INF [Config] initial compatible provider name=📹 油管视频
15:36:10 INF [Config] initial compatible provider name=🍎 苹果服务
15:36:10 INF [Config] initial compatible provider name=📺 巴哈姆特
15:36:10 INF [Config] initial compatible provider name=🎥 奈飞视频
15:36:10 INF [Config] initial compatible provider name=📺 哔哩哔哩
15:36:10 INF [Config] initial compatible provider name=🎶 网易音乐
15:36:10 INF [Config] initial compatible provider name=🇺🇲 美国节点
15:36:10 INF [Config] initial compatible provider name=🇭🇰 香港节点
2023-05-13 15:36:13 Step 6: Wait For The File Downloading...
2023-05-13 15:36:14 Step 7: Set Firewall Rules...
2023-05-13 15:36:14 Tip: DNS Hijacking Mode is Dnsmasq Redirect...
2023-05-13 15:36:14 Tip: Waiting for TUN Interface Start...
2023-05-13 15:36:14 Tip: Start Add Port Bypassing Rules For Firewall Redirect and Firewall Rules...
2023-05-13 15:36:14 Tip: Start Add Custom Firewall Rules...
2023-05-13 15:36:14 Step 8: Restart Dnsmasq...
2023-05-13 15:36:15 Step 9: Add Cron Rules, Start Daemons...
2023-05-13 15:36:15 OpenClash Start Successful!
2023-05-13 15:40:56 OpenClash Restart...
2023-05-13 15:40:56 OpenClash Stoping...
2023-05-13 15:40:56 Step 1: Backup The Current Groups State...
2023-05-13 15:40:56 Step 2: Delete OpenClash Firewall Rules...
2023-05-13 15:40:58 Step 3: Close The OpenClash Daemons...
2023-05-13 15:40:58 Step 4: Close The Clash Core Process...
2023-05-13 15:40:58 Step 5: Restart Dnsmasq...
2023-05-13 15:41:04 Step 6: Delete OpenClash Residue File...
2023-05-13 15:41:04 OpenClash Start Running...
2023-05-13 15:41:04 Step 1: Get The Configuration...
2023-05-13 15:41:04 Step 2: Check The Components...
2023-05-13 15:41:05 Tip: Because of the file【 /etc/config/openclash 】modificated, Pause quick start...
2023-05-13 15:41:05 Step 3: Modify The Config File...
2023-05-13 15:41:07 Tip: You have seted the authentication of SOCKS5/HTTP(S) proxy with【】
2023-05-13 15:41:11 Tip: Start Running Custom Overwrite Scripts...
2023-05-13 15:41:11 Step 4: Start Running The Clash Core...
2023-05-13 15:41:11 Tip: Detected The Exclusive Function of The TUN Core, Use TUN Core to Start...
2023-05-13 15:41:12 Step 5: Check The Core Status...
15:41:12 INF [Config] initial compatible provider name=🎶 网易音乐
15:41:12 INF [Config] initial compatible provider name=🎥 奈飞节点
15:41:12 INF [Config] initial compatible provider name=🌍 国外媒体
15:41:12 INF [Config] initial compatible provider name=🛑 广告拦截
15:41:12 INF [Config] initial compatible provider name=🎮 游戏平台
15:41:12 INF [Config] initial compatible provider name=Ⓜ️ 微软云盘
15:41:12 INF [Config] initial compatible provider name=🍃 应用净化
15:41:12 INF [Config] initial compatible provider name=🍎 苹果服务
15:41:12 INF [Config] initial compatible provider name=📺 巴哈姆特
15:41:12 INF [Config] initial compatible provider name=📹 油管视频
15:41:12 INF [Config] initial compatible provider name=🇰🇷 韩国节点
15:41:12 INF [Config] initial compatible provider name=🇸🇬 狮城节点
15:41:12 INF [Config] initial compatible provider name=📲 电报消息
15:41:12 INF [Config] initial compatible provider name=🌏 国内媒体
15:41:12 INF [Config] initial compatible provider name=🇺🇲 美国节点
15:41:12 INF [Config] initial compatible provider name=🇨🇳 台湾节点
15:41:12 INF [Config] initial compatible provider name=🚀 手动切换
15:41:12 INF [Config] initial compatible provider name=🎥 奈飞视频
15:41:12 INF [Config] initial compatible provider name=📺 哔哩哔哩
15:41:12 INF [Config] initial compatible provider name=🚀 节点选择
15:41:12 INF [Config] initial compatible provider name=🐟 漏网之鱼
15:41:12 INF [Config] initial compatible provider name=Ⓜ️ 微软服务
15:41:12 INF [Config] initial compatible provider name=📢 谷歌FCM
15:41:12 INF [Config] initial compatible provider name=🇯🇵 日本节点
15:41:12 INF [Config] initial compatible provider name=🇭🇰 香港节点
15:41:12 INF [Config] initial compatible provider name=♻️ 自动选择
15:41:12 INF [Config] initial compatible provider name=🎯 全球直连
2023-05-13 15:41:15 Step 6: Wait For The File Downloading...
2023-05-13 15:41:16 Step 7: Set Firewall Rules...
2023-05-13 15:41:16 Tip: DNS Hijacking Mode is Dnsmasq Redirect...
2023-05-13 15:41:16 Tip: Waiting for TUN Interface Start...
2023-05-13 15:41:16 Tip: Start Add Port Bypassing Rules For Firewall Redirect and Firewall Rules...
2023-05-13 15:41:16 Tip: Start Add Custom Firewall Rules...
2023-05-13 15:41:16 Step 8: Restart Dnsmasq...
2023-05-13 15:41:17 Step 9: Add Cron Rules, Start Daemons...
2023-05-13 15:41:17 OpenClash Start Successful!
15:41:28 DBG [TCP] accept connection lAddr=192.168.5.210:3951 rAddr=sydney.bing.com:443 inbound=Redir
15:41:29 INF [TCP] connected lAddr=192.168.5.210:3951 rAddr=sydney.bing.com:443 mode=rule rule=DomainSuffix(bing.com) proxy=GLOBAL[🇺🇸 美国·3]
15:41:30 DBG [DNS] dns response source=https://public.dns.iij.jp/dns-query qType=A name=clients4.google.com. answer=["142.250.207.14"]
15:41:30 DBG [TCP] accept connection lAddr=192.168.5.210:3952 rAddr=clients4.google.com:443 inbound=Redir
15:41:30 DBG [Matcher] find process failed error=socket: protocol not supported addr=clients4.google.com
15:41:31 INF [TCP] connected lAddr=192.168.5.210:3952 rAddr=clients4.google.com:443 mode=rule rule=DomainKeyword(google) proxy=🚀 节点选择[🇺🇸 美国·3]
15:41:33 DBG [TCP] accept connection lAddr=192.168.5.210:3953 rAddr=instantmessaging-pa.googleapis.com:443 inbound=Redir
15:41:33 DBG [Matcher] find process failed error=socket: protocol not supported addr=instantmessaging-pa.googleapis.com
15:41:33 DBG [TCP] accept connection lAddr=192.168.5.210:3954 rAddr=instantmessaging-pa.googleapis.com:443 inbound=Redir
15:41:33 DBG [Matcher] find process failed error=socket: protocol not supported addr=instantmessaging-pa.googleapis.com
15:41:33 INF [TCP] connected lAddr=192.168.5.210:3953 rAddr=instantmessaging-pa.googleapis.com:443 mode=rule rule=DomainKeyword(google) proxy=🚀 节点选择[🇺🇸 美国·3]
15:41:34 INF [TCP] connected lAddr=192.168.5.210:3954 rAddr=instantmessaging-pa.googleapis.com:443 mode=rule rule=DomainKeyword(google) proxy=🚀 节点选择[🇺🇸 美国·3]
15:41:34 DBG [TCP] accept connection lAddr=192.168.5.210:3955 rAddr=remotedesktop-pa.googleapis.com:443 inbound=Redir
15:41:35 DBG [Matcher] find process failed error=socket: protocol not supported addr=remotedesktop-pa.googleapis.com
15:41:35 INF [TCP] connected lAddr=192.168.5.210:3955 rAddr=remotedesktop-pa.googleapis.com:443 mode=rule rule=DomainKeyword(google) proxy=🚀 节点选择[🇺🇸 美国·3]

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

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

1. SourceIP:【192.168.5.210】 - Host:【sydney.bing.com】 - DestinationIP:【13.107.21.237】 - Network:【tcp】 - RulePayload:【bing.com】 - Lastchain:【🇺🇸 美国·3】
2. SourceIP:【192.168.5.210】 - Host:【clients4.google.com】 - DestinationIP:【】 - Network:【tcp】 - RulePayload:【google】 - Lastchain:【🇺🇸 美国·3】
3. SourceIP:【192.168.5.210】 - Host:【api-ipv4.ip.sb】 - DestinationIP:【104.26.13.31】 - Network:【tcp】 - RulePayload:【】 - Lastchain:【🇻🇳 越南优化·4】
4. SourceIP:【192.168.5.210】 - Host:【watson.events.data.microsoft.com】 - DestinationIP:【20.189.173.21】 - Network:【tcp】 - RulePayload:【microsoft】 - Lastchain:【🇺🇸 美国·2】
5. SourceIP:【192.168.5.210】 - Host:【qqwry.api.skk.moe】 - DestinationIP:【172.67.148.227】 - Network:【tcp】 - RulePayload:【skk.moe】 - Lastchain:【🇺🇸 美国·2】
6. SourceIP:【192.168.5.210】 - Host:【instantmessaging-pa.googleapis.com】 - DestinationIP:【172.217.163.42】 - Network:【tcp】 - RulePayload:【google】 - Lastchain:【🇺🇸 美国·3】
7. SourceIP:【192.168.5.210】 - Host:【remotedesktop-pa.googleapis.com】 - DestinationIP:【216.58.220.106】 - Network:【tcp】 - RulePayload:【google】 - Lastchain:【🇺🇸 美国·3】
8. SourceIP:【192.168.5.210】 - Host:【d.skk.moe】 - DestinationIP:【104.16.20.35】 - Network:【tcp】 - RulePayload:【skk.moe】 - Lastchain:【🇺🇸 美国·2】
9. SourceIP:【192.168.5.210】 - Host:【content-autofill.googleapis.com】 - DestinationIP:【172.217.174.106】 - Network:【tcp】 - RulePayload:【google】 - Lastchain:【🇺🇸 美国·2】
10. SourceIP:【192.168.5.210】 - Host:【instantmessaging-pa.googleapis.com】 - DestinationIP:【172.217.163.42】 - Network:【tcp】 - RulePayload:【google】 - Lastchain:【🇺🇸 美国·3】

OpenClash Config

No response

Expected Behavior

就是希望能跟以前一样,不要再短短徐徐连不上了,用了一年多第一次出现这么严重的问题

Screenshots

image

PolymorphismException commented 1 year ago

image image image image 我试过更新内核,更新依赖,重装clash,但是重装后又会出现诡异的ruby依赖问题,卸载后直接没网,覆写ruby后也会出现ruby依赖问题 实在是没办法了,希望各位大哥帮帮忙

PolymorphismException commented 1 year ago

安装了USB tether以后,使用手机联通网络出口,设置不变,网络畅通,墙线接口是移动的,是否说明我被移动“黑名单”?能否说说这种情况如何解决?

deuteros-gex commented 1 year ago

3249 最近新刷机的,如果发现卸载/关闭openclash后直接没网,参考这个issue里给的解决方案。

如果看不懂的话,建议直接回退openwrt的版本,比如21.02就挺好

解决了没网的问题后,再排查代理不工作的问题。 至于你说的这个所谓黑名单。。“熬夜弄了一天,装了很多版本,固件也换了很多版本”并不说明什么问题,只表明你完全不知道该如何排错。

可以考虑这样测试: 在软路由上把openclash跑起来,假设软路由ip是192.168.1.1,电脑就把系统代理指向192.168.1.1:7890(方法自行百度)然后用浏览器测试能否正常翻墙。 如果可以的话,说明clash内核正常工作,但你使用openwrt时把透明代理环境给玩炸了。建议老老实实把整个openwrt和openclash重置,再从头设置一遍。 如果还是不能翻墙,说明clash内核也没正常工作,这个原因可能就太多了,懒得写了。

PolymorphismException commented 1 year ago

3249 最近新刷机的,如果发现卸载/关闭openclash后直接没网,参考这个issue里给的解决方案。 如果看不懂的话,建议直接回退openwrt的版本,比如21.02就挺好

解决了没网的问题后,再排查代理不工作的问题。 至于你说的这个所谓黑名单。。“熬夜弄了一天,装了很多版本,固件也换了很多版本”并不说明什么问题,只表明你完全不知道该如何排错。

可以考虑这样测试: 在软路由上把openclash跑起来,假设软路由ip是192.168.1.1,电脑就把系统代理指向192.168.1.1:7890(方法自行百度)然后用浏览器测试能否正常翻墙。 如果可以的话,说明clash内核正常工作,但你使用openwrt时把透明代理环境给玩炸了。建议老老实实把整个openwrt和openclash重置,再从头设置一遍。 如果还是不能翻墙,说明clash内核也没正常工作,这个原因可能就太多了,懒得写了。

根本不是这个问题,我重装dnsmsq和更改解析文件都试过了,另外openwrt 22的这个版本我是去年用到现在的,一直都没问题,我openclash卸载和重装依赖升级内核做过很多次了,另外设置系统代理以后上网需要输入用户名和密码,而且依旧上不了网。至于你说的排错,我是按照openclashwiki里的排错步骤来的,截图也都在上面,另外我说的很清楚了我用手机的网络Open WRT是没问题的证明它的设置是没问题的。

vernesong commented 1 year ago

调试日志发全一点,防火墙都没了,你试试绑定接口

PolymorphismException commented 1 year ago

调试日志发全一点,防火墙都没了,你试试绑定接口

感谢大佬的回复。昨天重新装了一下固件 image 现在用这个就完全没问题了,之前22的话ruby依赖有问题,怎么装都不行,可能要把哪个ruby全家桶给重装了才行,我就没实验太麻烦了