MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
https://wiki.metacubex.one
MIT License
15.43k stars 2.55k forks source link

[Bug] 使用了rule-providers的订阅连不上tun #1496

Closed cpploveme closed 1 week ago

cpploveme commented 1 week ago

Verify steps

Operating System

Windows

System Version

Windows10 22H2

Mihomo Version

alpha-faaa90f v1.18.8

Configuration File

port: 7890
socks-port: 7891
allow-lan: true
mode: rule
log-level: info
external-controller: :9090
proxy-groups:
  - name: Proxy
    type: select
    proxies:
      - Auto
      - DIRECT
      - 🇭🇰 HK1 Eons
      - 🇭🇰 HK2 HKT
      - 🇭🇰 HK3 Gcore [0.2X]
      - 🇭🇰 HK4 Eons
      - 🇭🇰 HK5 Eons
      - 🇭🇰 HK6 Eons
      - 🇭🇰 HK7 Eons
      - 🇭🇰 HK8 Eons
      - 🇭🇰 HK9 Eons
      - 🇭🇰 HK10 Jinx
      - 🇭🇰 HK11 Eons [Aliyun 3X]
      - 🇭🇰 HK12 Misaka [Aliyun 3X]
      - 🇭🇰 HK13 Nearoute [Aliyun 3X]
      - 🇭🇰 HK14 Eons [Aliyun 3X]
      - 🇭🇰 HK15 Cloudflare [Aliyun 3X]
      - 🇭🇰 HK16 HKT [Aliyun 3X]
      - 🇭🇰 HK17 Jinx [Aliyun 3X]
      - 🇭🇰 HK18 HKBN [Aliyun 3X]
      - 🇸🇬 SG1 Gcore [0.2X]
      - 🇸🇬 SG2 Akari
      - 🇸🇬 SG3 DigitalOcean
      - 🇸🇬 SG4 Cloudflare
      - 🇸🇬 SG5 AWS
      - 🇸🇬 SG6 SG.GS
      - 🇸🇬 SG7 SG.GS [Aliyun 3X]
      - 🇸🇬 SG8 Misaka [Aliyun 3X]
      - 🇸🇬 SG9 AWS [Aliyun 3X]
      - 🇸🇬 SG10 Huawei [Aliyun 3X]
      - 🇸🇬 SG11 M1 [Aliyun 3X]
      - 🇨🇳 TW1 Hinet [0.2X]
      - 🇨🇳 TW2 Akile
      - 🇨🇳 TW3 Akari
      - 🇨🇳 TW4 PQS
      - 🇨🇳 TW5 Apol
      - 🇨🇳 TW6 Akari [Aliyun 3X]
      - 🇨🇳 TW7 PQS [Aliyun 3X]
      - 🇨🇳 TW8 Hinet [Aliyun 3X]
      - 🇨🇳 TW9 Apol [Aliyun 3X]
      - 🇮🇳 India1
      - 🇮🇳 India2
      - 🇮🇩 Indonesia
      - 🇵🇭 PH1 Aliyun
      - 🇵🇭 PH2 Eastern [2X]
      - 🇲🇾 MY1 Gbnetwork
      - 🇲🇾 MY2 TM
      - 🇲🇴 Macao
      - 🇲🇴 Macao [Aliyun 3X]
      - 🇹🇭 TH1 CAT
      - 🇹🇭 TH2 Bangmod
      - 🇻🇳 Vietnam
      - 🇰🇭 Cambodia
      - 🇲🇲 Myanmar
      - 🇧🇩 Bangladesh
      - 🇳🇵 Nepal
      - 🇦🇺 AU1 Exetel
      - 🇦🇺 AU2 AWS
      - 🇦🇺 AU3 Oracle
      - 🇳🇿 New Zealand
      - 🇲🇳 Mongolia
      - 🇯🇵 JP1 Gcore [0.2X]
      - 🇯🇵 JP2 Akari
      - 🇯🇵 JP3 AWS
      - 🇯🇵 JP4 Biglobe
      - 🇯🇵 JP5 KDDI
      - 🇯🇵 JP6 SoNet
      - 🇯🇵 JP7 Softbank
      - 🇯🇵 JP8 AWS
      - 🇯🇵 JP9 Cloudflare
      - 🇯🇵 JP10 Misaka [UDPN 3X]
      - 🇯🇵 JP11 Nearoute [UDPN 3X]
      - 🇯🇵 JP12 KDDI [UDPN 3X]
      - 🇯🇵 JP13 SoNet [UDPN 3X]
      - 🇯🇵 JP14 Biglobe [UDPN 3X]
      - 🇰🇷 KR1 Cloudflare [UDPN 2X]
      - 🇰🇷 KR2 KT [UDPN 2X]
      - 🇰🇷 KR3 SK [UDPN 2X]
      - 🇰🇷 KR4 LG [UDPN 2X]
      - 🇰🇷 KR5 SK [UDPN 2X]
      - 🇰🇷 KR6 AWS [UDPN 2X]
      - 🇰🇵 North Korea
      - 🇺🇸 US1 AWS
      - 🇺🇸 US2 Dmit
      - 🇺🇸 US3 Misaka
      - 🇺🇸 US4 Misaka
      - 🇺🇸 US5 Misaka
      - 🇺🇸 US6 Frontier
      - 🇺🇸 US7 Comcast
      - 🇺🇸 US8 Verizon
      - "🇺🇸 US9 AT&T"
      - 🇺🇸 US10 Cloudflare
      - 🇺🇸 US11 AWS [UDPN 3X]
      - 🇺🇸 US12 T-mobile [UDPN 3X]
      - 🇺🇸 US13 Frontier [UDPN 3X]
      - 🇺🇸 US14 Misaka [UDPN 3X]
      - 🇺🇸 US15 Misaka [UDPN 5X]
      - "🇺🇸 US16 AT&T [UDPN 3X]"
      - 🇨🇦 CA1 AWS
      - 🇨🇦 CA2 Rogers [3X]
      - 🇲🇽 Mexico
      - 🇧🇷 Brazil
      - 🇨🇱 Chile
      - 🇦🇷 Argentina
      - 🇨🇴 Colombia
      - 🇵🇪 Peru
      - 🇧🇴 Bolivia
      - 🇩🇪 DE1 Misaka
      - 🇩🇪 DE2 Cloudflare
      - 🇩🇪 DE3 Oracle
      - 🇩🇪 DE4 AWS
      - 🇩🇪 DE5 Vodafone [3X]
      - 🇬🇧 UK1 Misaka
      - 🇬🇧 UK2 AWS
      - 🇬🇧 UK3 Cloudflare
      - 🇬🇧 UK4 Virgin
      - 🇬🇧 UK5 BT
      - 🇫🇷 FR1 Webconex
      - 🇫🇷 FR2 AWS
      - 🇫🇷 FR3 SFR [3X]
      - 🇳🇱 Netherlands
      - 🇪🇸 Spain
      - 🇮🇪 Ireland
      - 🇮🇹 Italia
      - 🇱🇺 Luxembourg
      - 🇨🇭 Switzerland
      - 🇩🇰 Denmark
      - 🇫🇮 Finland
      - 🇸🇪 Sweden
      - 🇳🇴 Norway
      - 🇦🇹 Austria
      - 🇨🇿 Czech
      - 🇮🇸 Iceland
      - 🇹🇷 Türkiye
      - 🇧🇪 Belgium
      - 🇵🇹 Portugal
      - 🇵🇱 Poland
      - 🇪🇪 Estonia
      - 🇭🇺 Hungary
      - 🇷🇺 Russia
      - 🇺🇦 Ukraine
      - 🇲🇩 Moldova
      - 🇷🇴 Romania
      - 🇧🇬 Bulgaria
      - 🇷🇸 Serbia
      - 🇬🇷 Greece
      - 🇮🇱 Israel
      - 🇮🇶 Iraq
      - 🇹🇬 Togo
      - 🇪🇬 Egypt
      - 🇯🇴 Jordan
      - 🇦🇪 Dubai
      - 🇸🇦 Saudi Arabia
      - 🇺🇿 Uzbekistan
      - 🇵🇰 Pakistan
      - 🇰🇿 Kazakhstan
      - 🇳🇬 Nigeria
      - 🇦🇴 Angola
      - 🇿🇦 South Africa
      - 🇦🇶 Antarctica
  - name: Auto
    type: fallback
    url: http://cp.cloudflare.com/generate_204
    interval: 300
    proxies:
      - 🇭🇰 HK1 Eons
      - 🇭🇰 HK2 HKT
      - 🇭🇰 HK3 Gcore [0.2X]
      - 🇭🇰 HK4 Eons
      - 🇭🇰 HK5 Eons
      - 🇭🇰 HK6 Eons
      - 🇭🇰 HK7 Eons
      - 🇭🇰 HK8 Eons
      - 🇭🇰 HK9 Eons
      - 🇭🇰 HK10 Jinx
      - 🇭🇰 HK11 Eons [Aliyun 3X]
      - 🇭🇰 HK12 Misaka [Aliyun 3X]
      - 🇭🇰 HK13 Nearoute [Aliyun 3X]
      - 🇭🇰 HK14 Eons [Aliyun 3X]
      - 🇭🇰 HK15 Cloudflare [Aliyun 3X]
      - 🇭🇰 HK16 HKT [Aliyun 3X]
      - 🇭🇰 HK17 Jinx [Aliyun 3X]
      - 🇭🇰 HK18 HKBN [Aliyun 3X]
      - 🇸🇬 SG1 Gcore [0.2X]
      - 🇸🇬 SG2 Akari
      - 🇸🇬 SG3 DigitalOcean
      - 🇸🇬 SG4 Cloudflare
      - 🇸🇬 SG5 AWS
      - 🇸🇬 SG6 SG.GS
      - 🇸🇬 SG7 SG.GS [Aliyun 3X]
      - 🇸🇬 SG8 Misaka [Aliyun 3X]
      - 🇸🇬 SG9 AWS [Aliyun 3X]
      - 🇸🇬 SG10 Huawei [Aliyun 3X]
      - 🇸🇬 SG11 M1 [Aliyun 3X]
      - 🇨🇳 TW1 Hinet [0.2X]
      - 🇨🇳 TW2 Akile
      - 🇨🇳 TW3 Akari
      - 🇨🇳 TW4 PQS
      - 🇨🇳 TW5 Apol
      - 🇨🇳 TW6 Akari [Aliyun 3X]
      - 🇨🇳 TW7 PQS [Aliyun 3X]
      - 🇨🇳 TW8 Hinet [Aliyun 3X]
      - 🇨🇳 TW9 Apol [Aliyun 3X]
      - 🇮🇳 India1
      - 🇮🇳 India2
      - 🇮🇩 Indonesia
      - 🇵🇭 PH1 Aliyun
      - 🇵🇭 PH2 Eastern [2X]
      - 🇲🇾 MY1 Gbnetwork
      - 🇲🇾 MY2 TM
      - 🇲🇴 Macao
      - 🇲🇴 Macao [Aliyun 3X]
      - 🇹🇭 TH1 CAT
      - 🇹🇭 TH2 Bangmod
      - 🇻🇳 Vietnam
      - 🇰🇭 Cambodia
      - 🇲🇲 Myanmar
      - 🇧🇩 Bangladesh
      - 🇳🇵 Nepal
      - 🇦🇺 AU1 Exetel
      - 🇦🇺 AU2 AWS
      - 🇦🇺 AU3 Oracle
      - 🇳🇿 New Zealand
      - 🇲🇳 Mongolia
      - 🇯🇵 JP1 Gcore [0.2X]
      - 🇯🇵 JP2 Akari
      - 🇯🇵 JP3 AWS
      - 🇯🇵 JP4 Biglobe
      - 🇯🇵 JP5 KDDI
      - 🇯🇵 JP6 SoNet
      - 🇯🇵 JP7 Softbank
      - 🇯🇵 JP8 AWS
      - 🇯🇵 JP9 Cloudflare
      - 🇯🇵 JP10 Misaka [UDPN 3X]
      - 🇯🇵 JP11 Nearoute [UDPN 3X]
      - 🇯🇵 JP12 KDDI [UDPN 3X]
      - 🇯🇵 JP13 SoNet [UDPN 3X]
      - 🇯🇵 JP14 Biglobe [UDPN 3X]
      - 🇰🇷 KR1 Cloudflare [UDPN 2X]
      - 🇰🇷 KR2 KT [UDPN 2X]
      - 🇰🇷 KR3 SK [UDPN 2X]
      - 🇰🇷 KR4 LG [UDPN 2X]
      - 🇰🇷 KR5 SK [UDPN 2X]
      - 🇰🇷 KR6 AWS [UDPN 2X]
      - 🇰🇵 North Korea
      - 🇺🇸 US1 AWS
      - 🇺🇸 US2 Dmit
      - 🇺🇸 US3 Misaka
      - 🇺🇸 US4 Misaka
      - 🇺🇸 US5 Misaka
      - 🇺🇸 US6 Frontier
      - 🇺🇸 US7 Comcast
      - 🇺🇸 US8 Verizon
      - "🇺🇸 US9 AT&T"
      - 🇺🇸 US10 Cloudflare
      - 🇺🇸 US11 AWS [UDPN 3X]
      - 🇺🇸 US12 T-mobile [UDPN 3X]
      - 🇺🇸 US13 Frontier [UDPN 3X]
      - 🇺🇸 US14 Misaka [UDPN 3X]
      - 🇺🇸 US15 Misaka [UDPN 5X]
      - "🇺🇸 US16 AT&T [UDPN 3X]"
      - 🇨🇦 CA1 AWS
      - 🇨🇦 CA2 Rogers [3X]
      - 🇲🇽 Mexico
      - 🇧🇷 Brazil
      - 🇨🇱 Chile
      - 🇦🇷 Argentina
      - 🇨🇴 Colombia
      - 🇵🇪 Peru
      - 🇧🇴 Bolivia
      - 🇩🇪 DE1 Misaka
      - 🇩🇪 DE2 Cloudflare
      - 🇩🇪 DE3 Oracle
      - 🇩🇪 DE4 AWS
      - 🇩🇪 DE5 Vodafone [3X]
      - 🇬🇧 UK1 Misaka
      - 🇬🇧 UK2 AWS
      - 🇬🇧 UK3 Cloudflare
      - 🇬🇧 UK4 Virgin
      - 🇬🇧 UK5 BT
      - 🇫🇷 FR1 Webconex
      - 🇫🇷 FR2 AWS
      - 🇫🇷 FR3 SFR [3X]
      - 🇳🇱 Netherlands
      - 🇪🇸 Spain
      - 🇮🇪 Ireland
      - 🇮🇹 Italia
      - 🇱🇺 Luxembourg
      - 🇨🇭 Switzerland
      - 🇩🇰 Denmark
      - 🇫🇮 Finland
      - 🇸🇪 Sweden
      - 🇳🇴 Norway
      - 🇦🇹 Austria
      - 🇨🇿 Czech
      - 🇮🇸 Iceland
      - 🇹🇷 Türkiye
      - 🇧🇪 Belgium
      - 🇵🇹 Portugal
      - 🇵🇱 Poland
      - 🇪🇪 Estonia
      - 🇭🇺 Hungary
      - 🇷🇺 Russia
      - 🇺🇦 Ukraine
      - 🇲🇩 Moldova
      - 🇷🇴 Romania
      - 🇧🇬 Bulgaria
      - 🇷🇸 Serbia
      - 🇬🇷 Greece
      - 🇮🇱 Israel
      - 🇮🇶 Iraq
      - 🇹🇬 Togo
      - 🇪🇬 Egypt
      - 🇯🇴 Jordan
      - 🇦🇪 Dubai
      - 🇸🇦 Saudi Arabia
      - 🇺🇿 Uzbekistan
      - 🇵🇰 Pakistan
      - 🇰🇿 Kazakhstan
      - 🇳🇬 Nigeria
      - 🇦🇴 Angola
      - 🇿🇦 South Africa
      - 🇦🇶 Antarctica
  - name: Apple
    type: select
    proxies:
      - DIRECT
      - Auto
      - 🇭🇰 Hong Kong
      - 🇸🇬 Singapore
      - 🇯🇵 Japan
      - 🇺🇸 United States
      - 🇨🇳 Taiwan
  - name: Bahamut
    type: select
    proxies:
      - 🇨🇳 Taiwan
  - name: BiliBili
    type: select
    proxies:
      - DIRECT
      - Auto
      - 🇭🇰 Hong Kong
      - 🇸🇬 Singapore
      - 🇯🇵 Japan
      - 🇺🇸 United States
      - 🇨🇳 Taiwan
  - name: OpenAI
    type: select
    proxies:
      - Auto
      - 🇭🇰 Hong Kong
      - 🇸🇬 Singapore
      - 🇯🇵 Japan
      - 🇺🇸 United States
      - 🇨🇳 Taiwan
  - name: Disney
    type: select
    proxies:
      - Auto
      - 🇭🇰 Hong Kong
      - 🇸🇬 Singapore
      - 🇯🇵 Japan
      - 🇺🇸 United States
      - 🇨🇳 Taiwan
  - name: DMM
    type: select
    proxies:
      - 🇯🇵 Japan
  - name: Netflix
    type: select
    proxies:
      - Auto
      - 🇭🇰 Hong Kong
      - 🇸🇬 Singapore
      - 🇯🇵 Japan
      - 🇺🇸 United States
      - 🇨🇳 Taiwan
  - name: PayPal
    type: select
    proxies:
      - DIRECT
      - Auto
      - 🇭🇰 Hong Kong
      - 🇸🇬 Singapore
      - 🇯🇵 Japan
      - 🇺🇸 United States
      - 🇨🇳 Taiwan
  - name: Steam
    type: select
    proxies:
      - DIRECT
      - Auto
      - 🇭🇰 Hong Kong
      - 🇸🇬 Singapore
      - 🇯🇵 Japan
      - 🇺🇸 United States
      - 🇨🇳 Taiwan
  - name: Google
    type: select
    proxies:
      - Auto
      - 🇭🇰 Hong Kong
      - 🇸🇬 Singapore
      - 🇯🇵 Japan
      - 🇺🇸 United States
      - 🇨🇳 Taiwan
  - name: Microsoft
    type: select
    proxies:
      - DIRECT
      - Auto
      - 🇭🇰 Hong Kong
      - 🇸🇬 Singapore
      - 🇯🇵 Japan
      - 🇺🇸 United States
      - 🇨🇳 Taiwan
  - name: Telegram
    type: select
    proxies:
      - 🇭🇰 Hong Kong
      - 🇸🇬 Singapore
      - 🇯🇵 Japan
      - 🇺🇸 United States
      - 🇨🇳 Taiwan
  - name: YouTube
    type: select
    proxies:
      - Auto
      - 🇭🇰 Hong Kong
      - 🇸🇬 Singapore
      - 🇯🇵 Japan
      - 🇺🇸 United States
      - 🇨🇳 Taiwan
  - name: Lan
    type: select
    proxies:
      - DIRECT
  - name: ChinaMax
    type: select
    proxies:
      - DIRECT
  - name: 🇭🇰 Hong Kong
    type: url-test
    url: http://cp.cloudflare.com/generate_204
    interval: 300
    proxies:
      - 🇭🇰 HK1 Eons
      - 🇭🇰 HK2 HKT
      - 🇭🇰 HK3 Gcore [0.2X]
      - 🇭🇰 HK4 Eons
      - 🇭🇰 HK5 Eons
      - 🇭🇰 HK6 Eons
      - 🇭🇰 HK7 Eons
      - 🇭🇰 HK8 Eons
      - 🇭🇰 HK9 Eons
      - 🇭🇰 HK10 Jinx
      - 🇭🇰 HK11 Eons [Aliyun 3X]
      - 🇭🇰 HK12 Misaka [Aliyun 3X]
      - 🇭🇰 HK13 Nearoute [Aliyun 3X]
      - 🇭🇰 HK14 Eons [Aliyun 3X]
      - 🇭🇰 HK15 Cloudflare [Aliyun 3X]
      - 🇭🇰 HK16 HKT [Aliyun 3X]
      - 🇭🇰 HK17 Jinx [Aliyun 3X]
      - 🇭🇰 HK18 HKBN [Aliyun 3X]
  - name: 🇸🇬 Singapore
    type: url-test
    url: http://cp.cloudflare.com/generate_204
    interval: 300
    proxies:
      - 🇸🇬 SG1 Gcore [0.2X]
      - 🇸🇬 SG2 Akari
      - 🇸🇬 SG3 DigitalOcean
      - 🇸🇬 SG4 Cloudflare
      - 🇸🇬 SG5 AWS
      - 🇸🇬 SG6 SG.GS
      - 🇸🇬 SG7 SG.GS [Aliyun 3X]
      - 🇸🇬 SG8 Misaka [Aliyun 3X]
      - 🇸🇬 SG9 AWS [Aliyun 3X]
      - 🇸🇬 SG10 Huawei [Aliyun 3X]
      - 🇸🇬 SG11 M1 [Aliyun 3X]
  - name: 🇯🇵 Japan
    type: url-test
    url: http://cp.cloudflare.com/generate_204
    interval: 300
    proxies:
      - 🇯🇵 JP1 Gcore [0.2X]
      - 🇯🇵 JP2 Akari
      - 🇯🇵 JP3 AWS
      - 🇯🇵 JP4 Biglobe
      - 🇯🇵 JP5 KDDI
      - 🇯🇵 JP6 SoNet
      - 🇯🇵 JP7 Softbank
      - 🇯🇵 JP8 AWS
      - 🇯🇵 JP9 Cloudflare
      - 🇯🇵 JP10 Misaka [UDPN 3X]
      - 🇯🇵 JP11 Nearoute [UDPN 3X]
      - 🇯🇵 JP12 KDDI [UDPN 3X]
      - 🇯🇵 JP13 SoNet [UDPN 3X]
      - 🇯🇵 JP14 Biglobe [UDPN 3X]
  - name: 🇺🇸 United States
    type: url-test
    url: http://cp.cloudflare.com/generate_204
    interval: 300
    proxies:
      - 🇺🇸 US1 AWS
      - 🇺🇸 US2 Dmit
      - 🇺🇸 US3 Misaka
      - 🇺🇸 US4 Misaka
      - 🇺🇸 US5 Misaka
      - 🇺🇸 US6 Frontier
      - 🇺🇸 US7 Comcast
      - 🇺🇸 US8 Verizon
      - "🇺🇸 US9 AT&T"
      - 🇺🇸 US10 Cloudflare
      - 🇺🇸 US11 AWS [UDPN 3X]
      - 🇺🇸 US12 T-mobile [UDPN 3X]
      - 🇺🇸 US13 Frontier [UDPN 3X]
      - 🇺🇸 US14 Misaka [UDPN 3X]
      - 🇺🇸 US15 Misaka [UDPN 5X]
      - "🇺🇸 US16 AT&T [UDPN 3X]"
  - name: 🇨🇳 Taiwan
    type: url-test
    url: http://cp.cloudflare.com/generate_204
    interval: 300
    proxies:
      - 🇨🇳 TW1 Hinet [0.2X]
      - 🇨🇳 TW2 Akile
      - 🇨🇳 TW3 Akari
      - 🇨🇳 TW4 PQS
      - 🇨🇳 TW5 Apol
      - 🇨🇳 TW6 Akari [Aliyun 3X]
      - 🇨🇳 TW7 PQS [Aliyun 3X]
      - 🇨🇳 TW8 Hinet [Aliyun 3X]
      - 🇨🇳 TW9 Apol [Aliyun 3X]
rules:
  - RULE-SET,Apple_Classical_No_Resolve,Apple
  - RULE-SET,BiliBili_No_Resolve,BiliBili
  - RULE-SET,OpenAI_No_Resolve,OpenAI
  - RULE-SET,Disney_No_Resolve,Disney
  - RULE-SET,Netflix_Classical_No_Resolve,Netflix
  - RULE-SET,PayPal_No_Resolve,PayPal
  - RULE-SET,Google_No_Resolve,Google
  - RULE-SET,YouTube_No_Resolve,YouTube
  - RULE-SET,Microsoft_No_Resolve,Microsoft
  - RULE-SET,Telegram_No_Resolve,Telegram
  - RULE-SET,Steam_No_Resolve,Steam
  - RULE-SET,Bahamut_No_Resolve,Bahamut
  - RULE-SET,DMM_No_Resolve,DMM
  - RULE-SET,Lan_No_Resolve,Lan
  - RULE-SET,ChinaMax_Classical_No_IPv6_No_Resolve,ChinaMax
  - MATCH,Proxy
rule-providers:
  Apple_Classical_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/Apple/Apple_Classical_No_Resolve.yaml
    path: ./providers/rule-provider_Apple_Classical_No_Resolve.yaml
    interval: 86400
  BiliBili_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/BiliBili/BiliBili_No_Resolve.yaml
    path: ./providers/rule-provider_BiliBili_No_Resolve.yaml
    interval: 86400
  OpenAI_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/OpenAI/OpenAI_No_Resolve.yaml
    path: ./providers/rule-provider_OpenAI_No_Resolve.yaml
    interval: 86400
  Disney_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/Disney/Disney_No_Resolve.yaml
    path: ./providers/rule-provider_Disney_No_Resolve.yaml
    interval: 86400
  Netflix_Classical_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/Netflix/Netflix_Classical_No_Resolve.yaml
    path: ./providers/rule-provider_Netflix_Classical_No_Resolve.yaml
    interval: 86400
  PayPal_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/PayPal/PayPal_No_Resolve.yaml
    path: ./providers/rule-provider_PayPal_No_Resolve.yaml
    interval: 86400
  Google_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/Google/Google_No_Resolve.yaml
    path: ./providers/rule-provider_Google_No_Resolve.yaml
    interval: 86400
  YouTube_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/YouTube/YouTube_No_Resolve.yaml
    path: ./providers/rule-provider_YouTube_No_Resolve.yaml
    interval: 86400
  Microsoft_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/Microsoft/Microsoft_No_Resolve.yaml
    path: ./providers/rule-provider_Microsoft_No_Resolve.yaml
    interval: 86400
  Telegram_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/Telegram/Telegram_No_Resolve.yaml
    path: ./providers/rule-provider_Telegram_No_Resolve.yaml
    interval: 86400
  Steam_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/Steam/Steam_No_Resolve.yaml
    path: ./providers/rule-provider_Steam_No_Resolve.yaml
    interval: 86400
  Bahamut_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/Bahamut/Bahamut_No_Resolve.yaml
    path: ./providers/rule-provider_Bahamut_No_Resolve.yaml
    interval: 86400
  DMM_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/DMM/DMM_No_Resolve.yaml
    path: ./providers/rule-provider_DMM_No_Resolve.yaml
    interval: 86400
  Lan_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/Lan/Lan_No_Resolve.yaml
    path: ./providers/rule-provider_Lan_No_Resolve.yaml
    interval: 86400
  ChinaMax_Classical_No_IPv6_No_Resolve:
    type: http
    behavior: classical
    url: https://raw.gitmirror.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMax_Classical_No_IPv6_No_Resolve.yaml
    path: ./providers/rule-provider_ChinaMax_Classical_No_IPv6_No_Resolve.yaml
    interval: 86400

Description

我用的 cfw,自己更换了meta的内核,clash-core-service 使用的旧版,安装虚拟网卡和服务模式并开启tun后,配置文件如果出现用了 rule-providers 就没法开 tun 或者提示 Meta 无法连接到 Internet ,虚拟网卡也不出现,而相同的节点只使用 rule 则不会出现问题。

Reproduction Steps

使用 cfw 更换meta内核并使用旧版 clash-core-service,安装虚拟网卡和服务模式开启tun,导入使用了 rule-providers 的订阅

Logs

time="2024-09-07T11:51:05.1210372+08:00" level=info msg="Start initial configuration in progress"
time="2024-09-07T11:51:05.1329779+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2024-09-07T11:51:05.1329779+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2024-09-07T11:51:05.1383806+08:00" level=info msg="Initial configuration complete, total time: 5ms"
time="2024-09-07T11:51:05.1393495+08:00" level=info msg="RESTful API listening at: 127.0.0.1:57405"
time="2024-09-07T11:51:05.1409549+08:00" level=info msg="Sniffer is closed"
time="2024-09-07T11:51:05.1409549+08:00" level=info msg="Mixed(http+socks) proxy listening at: 127.0.0.1:7890"
time="2024-09-07T11:51:05.1418686+08:00" level=info msg="Start initial Compatible provider default"
time="2024-09-07T11:51:05.4538318+08:00" level=info msg="Start initial configuration in progress"
time="2024-09-07T11:51:05.4571721+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2024-09-07T11:51:05.4576882+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2024-09-07T11:51:05.460665+08:00" level=info msg="Initial configuration complete, total time: 6ms"
time="2024-09-07T11:51:05.4630912+08:00" level=info msg="Sniffer is closed"
time="2024-09-07T11:51:05.465336+08:00" level=warning msg="[TUN] default interface changed by monitor,  => WLAN"
time="2024-09-07T11:51:05.4679396+08:00" level=error msg="Start TUN listening error: configure tun interface: Access is denied."
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider Apple_Classical_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider Steam_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider Microsoft_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider Lan_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider DMM_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider Disney_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider OpenAI_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider Bahamut_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider Telegram_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider ChinaMax_Classical_No_IPv6_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider YouTube_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider Netflix_Classical_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider BiliBili_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider Google_No_Resolve"
time="2024-09-07T11:51:05.4684523+08:00" level=info msg="Start initial provider PayPal_No_Resolve"
time="2024-09-07T11:51:06.2667034+08:00" level=info msg="Start initial Compatible provider 🇨🇳 Taiwan"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider Bahamut"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider Steam"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider YouTube"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider BiliBili"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider Proxy"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider 🇸🇬 Singapore"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider 🇭🇰 Hong Kong"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider Auto"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider Google"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider Disney"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider DMM"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider Apple"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider 🇯🇵 Japan"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider ChinaMax"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider PayPal"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider default"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider 🇺🇸 United States"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider Lan"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider Microsoft"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider Netflix"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider Telegram"
time="2024-09-07T11:51:06.2677026+08:00" level=info msg="Start initial Compatible provider OpenAI"
time="2024-09-07T11:51:07.6860054+08:00" level=info msg="[TCP] 127.0.0.1:57547 --> [2001:b28:f23f:f005::a]:443 using GLOBAL"
time="2024-09-07T11:51:07.6866916+08:00" level=info msg="[TCP] 127.0.0.1:57546 --> 91.108.56.144:443 using GLOBAL"
time="2024-09-07T11:51:07.6964943+08:00" level=info msg="[TCP] 127.0.0.1:57548 --> 91.108.56.144:80 using GLOBAL"
time="2024-09-07T11:51:07.7062726+08:00" level=info msg="[TCP] 127.0.0.1:57549 --> [2001:b28:f23f:f005::a]:80 using GLOBAL"
time="2024-09-07T11:51:07.8344329+08:00" level=info msg="[TCP] 127.0.0.1:57561 --> [2001:b28:f23d:f001::a]:80 using GLOBAL"
time="2024-09-07T11:51:07.8344329+08:00" level=info msg="[TCP] 127.0.0.1:57551 --> 149.154.175.50:443 using GLOBAL"
time="2024-09-07T11:51:07.8349368+08:00" level=info msg="[TCP] 127.0.0.1:57550 --> 149.154.175.57:443 using GLOBAL"
time="2024-09-07T11:51:07.8349368+08:00" level=info msg="[TCP] 127.0.0.1:57560 --> 149.154.175.50:80 using GLOBAL"
time="2024-09-07T11:51:07.8349368+08:00" level=info msg="[TCP] 127.0.0.1:57559 --> 149.154.175.57:80 using GLOBAL"
time="2024-09-07T11:51:07.8349368+08:00" level=info msg="[TCP] 127.0.0.1:57554 --> [2001:b28:f23d:f001::a]:443 using GLOBAL"
time="2024-09-07T11:51:08.1336528+08:00" level=info msg="[TCP] 127.0.0.1:57580 --> 149.154.167.255:443 using GLOBAL"
time="2024-09-07T11:51:08.1336528+08:00" level=info msg="[TCP] 127.0.0.1:57583 --> [2001:67c:4e8:f004::7]:80 using GLOBAL"
time="2024-09-07T11:51:08.1336528+08:00" level=info msg="[TCP] 127.0.0.1:57581 --> [2001:67c:4e8:f004::7]:443 using GLOBAL"
time="2024-09-07T11:51:08.135443+08:00" level=info msg="[TCP] 127.0.0.1:57582 --> 149.154.167.255:80 using GLOBAL"
time="2024-09-07T11:51:08.7495886+08:00" level=info msg="[TCP] 127.0.0.1:57598 --> 149.154.167.92:443 using GLOBAL"
time="2024-09-07T11:51:08.7508594+08:00" level=info msg="[TCP] 127.0.0.1:57600 --> [2001:67c:4e8:f004::a]:443 using GLOBAL"
time="2024-09-07T11:51:08.7508594+08:00" level=info msg="[TCP] 127.0.0.1:57601 --> 149.154.167.92:80 using GLOBAL"
time="2024-09-07T11:51:08.7535667+08:00" level=info msg="[TCP] 127.0.0.1:57602 --> [2001:67c:4e8:f004::a]:80 using GLOBAL"
time="2024-09-07T11:51:10.2638111+08:00" level=warning msg="[TCP] dial DIRECT 127.0.0.1:57424 --> raw.githubusercontent.com:443 error: connect failed: dial tcp 182.43.124.6:443: i/o timeout\nconnect failed: dial tcp [::]:443: connectex: No connection could be made because the target machine actively refused it."
time="2024-09-07T11:51:10.4165319+08:00" level=info msg="[TCP] 127.0.0.1:57620 --> raw.githubusercontent.com:443 using GLOBAL"
time="2024-09-07T11:51:19.0948668+08:00" level=info msg="[TCP] 127.0.0.1:57700 --> [2001:b28:f23f:f005::7]:443 using GLOBAL"
time="2024-09-07T11:51:19.0948668+08:00" level=info msg="[TCP] 127.0.0.1:57699 --> 149.154.171.255:443 using GLOBAL"
time="2024-09-07T11:51:19.0978631+08:00" level=info msg="[TCP] 127.0.0.1:57704 --> [2001:b28:f23f:f005::7]:80 using GLOBAL"
time="2024-09-07T11:51:19.0979063+08:00" level=info msg="[TCP] 127.0.0.1:57701 --> 149.154.171.255:80 using GLOBAL"
time="2024-09-07T11:51:24.3540643+08:00" level=info msg="[TCP] 127.0.0.1:57707 --> collector.github.com:443 using GLOBAL"
time="2024-09-07T11:51:35.8890176+08:00" level=info msg="[TCP] 127.0.0.1:57733 --> 149.154.175.211:443 using GLOBAL"
time="2024-09-07T11:51:35.8890176+08:00" level=info msg="[TCP] 127.0.0.1:57736 --> [2001:b28:f23d:f001::7]:80 using GLOBAL"
time="2024-09-07T11:51:35.8907471+08:00" level=info msg="[TCP] 127.0.0.1:57734 --> [2001:b28:f23d:f001::7]:443 using GLOBAL"
time="2024-09-07T11:51:35.8924416+08:00" level=info msg="[TCP] 127.0.0.1:57735 --> 149.154.175.211:80 using GLOBAL"
time="2024-09-07T11:51:38.5510662+08:00" level=info msg="[TCP] 127.0.0.1:57742 --> github.com:443 using GLOBAL"
time="2024-09-07T11:51:39.4890969+08:00" level=info msg="[TCP] 127.0.0.1:57744 --> github.githubassets.com:443 using GLOBAL"
time="2024-09-07T11:51:39.4890969+08:00" level=info msg="[TCP] 127.0.0.1:57746 --> avatars.githubusercontent.com:443 using GLOBAL"
time="2024-09-07T11:51:41.3865815+08:00" level=info msg="[TCP] 127.0.0.1:57749 --> [2001:67c:4e8:f004::7]:443 using GLOBAL"
time="2024-09-07T11:51:41.3890386+08:00" level=info msg="[TCP] 127.0.0.1:57750 --> 149.154.167.255:80 using GLOBAL"
time="2024-09-07T11:51:41.3890386+08:00" level=info msg="[TCP] 127.0.0.1:57748 --> 149.154.167.255:443 using GLOBAL"
time="2024-09-07T11:51:41.3911493+08:00" level=info msg="[TCP] 127.0.0.1:57751 --> [2001:67c:4e8:f004::7]:80 using GLOBAL"
time="2024-09-07T11:51:41.9207535+08:00" level=info msg="[TCP] 127.0.0.1:57756 --> 149.154.166.120:443 using GLOBAL"
time="2024-09-07T11:51:41.9223399+08:00" level=info msg="[TCP] 127.0.0.1:57757 --> [2001:67c:4e8:f004::b]:443 using GLOBAL"
time="2024-09-07T11:51:41.9239376+08:00" level=info msg="[TCP] 127.0.0.1:57759 --> [2001:67c:4e8:f004::b]:80 using GLOBAL"
time="2024-09-07T11:51:41.9246295+08:00" level=info msg="[TCP] 127.0.0.1:57758 --> 149.154.166.120:80 using GLOBAL"
time="2024-09-07T11:51:43.7433726+08:00" level=info msg="[TCP] 127.0.0.1:57764 --> 149.154.171.255:443 using GLOBAL"
time="2024-09-07T11:51:43.7449884+08:00" level=info msg="[TCP] 127.0.0.1:57767 --> [2001:b28:f23f:f005::7]:80 using GLOBAL"
time="2024-09-07T11:51:43.7449884+08:00" level=info msg="[TCP] 127.0.0.1:57766 --> 149.154.171.255:80 using GLOBAL"
time="2024-09-07T11:51:43.7455628+08:00" level=info msg="[TCP] 127.0.0.1:57765 --> [2001:b28:f23f:f005::7]:443 using GLOBAL"
time="2024-09-07T11:51:43.9624793+08:00" level=info msg="[TCP] 127.0.0.1:57774 --> 91.108.56.178:80 using GLOBAL"
time="2024-09-07T11:51:43.9624793+08:00" level=info msg="[TCP] 127.0.0.1:57772 --> 91.108.56.178:443 using GLOBAL"
time="2024-09-07T11:51:43.964479+08:00" level=info msg="[TCP] 127.0.0.1:57773 --> [2001:b28:f23f:f005::a]:443 using GLOBAL"
time="2024-09-07T11:51:43.9736509+08:00" level=info msg="[TCP] 127.0.0.1:57775 --> [2001:b28:f23f:f005::a]:80 using GLOBAL"
time="2024-09-07T11:51:48.304687+08:00" level=info msg="[TCP] 127.0.0.1:57781 --> api.github.com:443 using GLOBAL"
xishang0128 commented 1 week ago

https://github.com/MetaCubeX/mihomo/issues/1049