
mixed-port: 7890 allow-lan: false mode: Rule log-level: info ipv6: false keep-alive-interval: 30 external-controller: 127.0.0.1:9090 dns: enable: true ipv6: false listen: ":23453" default-nameserver: - 223.5.5.5 - 8.8.8.8 enhanced-mode: fake-ip fake-ip-range: 198.18.0.1/16 fake-ip-filter: - "*.lan" - "*.linksys.com" - "*.linksyssmartwifi.com" - swscan.apple.com - mesu.apple.com - swquery.apple.com - swdownload.apple.com - swcdn.apple.com - swdist.apple.com - "*.msftconnecttest.com" - "*.msftncsi.com" - xbox.*.microsoft.com - xbox.*.*.microsoft.com - +.xboxlive.com - time.*.com - time.*.gov - time.*.edu.cn - time.*.apple.com - time1.*.com - time2.*.com - time3.*.com - time4.*.com - time5.*.com - time6.*.com - time7.*.com - ntp.*.com - ntp.*.com - ntp1.*.com - ntp2.*.com - ntp3.*.com - ntp4.*.com - ntp5.*.com - ntp6.*.com - ntp7.*.com - "*.time.edu.cn" - "*.ntp.org.cn" - +.pool.ntp.org - time1.cloud.tencent.com - lens.l.google.com - +.music.163.com - +.126.net - musicapi.taihe.com - music.taihe.com - songsearch.kugou.com - trackercdn.kugou.com - "*.kuwo.cn" - api-jooxtt.sanook.com - api.joox.com - joox.com - +.y.qq.com - +.music.tc.qq.com - aqqmusic.tc.qq.com - +.stream.qqmusic.qq.com - +.xiami.com - +.music.migu.cn - +.stun.*.* - +.stun.*.*.* - +.stun.*.*.*.* - +.stun.*.*.*.*.* - +.srv.nintendo.net - "*.n.n.srv.nintendo.net" - +.stun.playstation.net - +.battlenet.com.cn - +.wotgame.cn - +.wggames.cn - +.wowsgame.cn - +.wargaming.net - "*.square-enix.com" - "*.finalfantasyxiv.com" - "*.ffxiv.com" - "*.ff14.sdo.com" - ff.dorado.sdo.com - +.linkedin.com - +.licdn.com - localhost.ptlogin2.qq.com - localhost.sec.qq.com - proxy.golang.org - +.qq.com - +.baidu.com - +.163.com - +.126.net - +.taobao.com - +.jd.com - +.tmall.com - "*.mcdn.bilivideo.cn" - +.nvidia.com - +.nvidia.cn - +.nvgs.nvidia.com - +.nvgs.nvidia.cn - shark007.net nameserver: - 119.29.29.29 - 223.5.5.5 rule-providers: applications: type: http behavior: classical url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt path: ./ruleset/applications.yaml interval: 86400 direct: type: http behavior: domain url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt path: ./ruleset/direct.yaml interval: 86400 lancidr: type: http behavior: ipcidr url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt path: ./ruleset/lancidr.yaml interval: 86400 cncidr: type: http behavior: ipcidr url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt path: ./ruleset/cncidr.yaml interval: 86400 private: type: http behavior: domain url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt path: ./ruleset/private.yaml interval: 86400 proxy: type: http behavior: domain url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt path: ./ruleset/proxy.yaml interval: 86400 tld-not-cn: type: http behavior: domain url: https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt path: ./ruleset/tld-not-cn.yaml interval: 86400 rules: - RULE-SET,applications, 全球直连 - DOMAIN,clash.razord.top, 全球直连 - DOMAIN,yacd.haishan.me, 全球直连 - DOMAIN-SUFFIX,steamserver.net, 全球直连 - GEOSITE,google, 节点选择 - DOMAIN-SUFFIX,aliexpress.com, 节点选择 - DOMAIN-SUFFIX,delta.com, 节点选择 - DOMAIN-SUFFIX,adobe.io,REJECT - GEOSITE,linkedin, 节点选择 - GEOSITE,okx, 节点选择 - GEOSITE,microsoft, 微软服务 - RULE-SET,direct, 全球直连 - RULE-SET,lancidr, 全球直连 - RULE-SET,cncidr, 全球直连 - RULE-SET,private, 全球直连 - GEOSITE,apple, 苹果服务 - GEOSITE,netflix, Netflix - GEOSITE,tiktok, TikTok - GEOSITE,openai, ChatGPT - GEOIP,telegram, 节点选择 - RULE-SET,proxy, 节点选择 - RULE-SET,tld-not-cn, 节点选择 - GEOIP,LAN, 全球直连 - GEOIP,CN, 全球直连 - MATCH, 漏网之鱼 节点信息没有写进去 出现的问题是 clashx.meta clash meta android clash verge rev 使用正常 就是两个路由器的插件不行 不知道是配置文件的问题还是啥
1 twoz 2024-05-04 18:40:21 +08:00 via iPhone 用的什么内核啊?原生 clash 核心不支持 rule-set 集合 |
2 bjzhou1990 2024-05-04 18:44:30 +08:00 rule provider 是 clash premium 或 clash meta 才有的功能,openclash 勾选使用 meta 内核,merlinclash 没用过不知道 |
4 ycyppq123 OP @bjzhou1990 就是因为后者是 mihomo 内核 所以感到奇怪 |
5 bjzhou1990 2024-05-05 09:09:09 +08:00 @ycyppq123 #4 我好像也遇到过,原因好像是 rule provider 里的 url 没拉到或者拉到了解析不出来,不过这几个也没啥用,直接删了就行,geosite 就够用了 |
6 ycyppq123 OP @bjzhou1990 嗯 我也怀疑是这个 因为涉及到了路径那些 我以为没权限写入 |
7 ycyppq123 OP @bjzhou1990 不用 rule provider 还是不行 如果不把规则展开 华硕路由器那个 merlinclash 就报错 规则展开启动开关瞬间好 rules 里只用 geosite 和 geoip 它启动就死了 真的怪 |
8 bjzhou1990 2024-05-05 17:48:34 +08:00 @ycyppq123 #7 是不是 merlinclash 目录下没有 geosite 和 geoip 的数据库文件,把文件放进去或者在配置文件里加上 geodata-mode: true geox-url: geoip: "https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release/geoip.dat" geosite: "https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release/geosite.dat" mmdb: "https://fastly.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb" |
9 ycyppq123 OP @bjzhou1990 好的 谢谢 |