Closed miaojior closed 3 weeks ago
能否加入如果类型为relay 那么不加入任何节点
要是能不用把节点组自动全都写入到每个proxies 下就好了,模板自己设定自动过滤选择
pr: &pr {type: select, proxies: [🚀 节点选择, ♻️ 香港自动, ♻️ 新加坡自动, ♻️ 美国自动, ♻️ 自动选择, 🇭🇰 香港节点, 🇸🇬 新加坡节点, 🇺🇲 美国节点, 🌐 全部节点, 🔗 链式代理, 🟢 直连]}
global-ua: clash.meta
port: 7890 socks-port: 7891 redir-port: 7892 mixed-port: 7893 tproxy-port: 7894 ipv6: false allow-lan: true unified-delay: true tcp-concurrent: true
geodata-mode: false
geodata-loader: standard geo-auto-update: true geo-update-interval: 48 geox-url: geosite: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat" mmdb: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.metadb" geoip: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat" asn: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdb"
external-controller: 0.0.0.0:9090 secret: "" external-ui: ui external-ui-url: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"
find-process-mode: strict global-client-fingerprint: chrome keep-alive-idle: 600 keep-alive-interval: 30
profile: store-selected: true store-fake-ip: true
sniffer: enable: true sniff: HTTP: ports: [80, 8080-8880] override-destination: true TLS: ports: [443, 8443] QUIC: ports: [443, 8443] force-domain:
tun: enable: true stack: mixed mtu: 9000 dns-hijack:
dns: enable: true listen: 0.0.0.0:1053 ipv6: false respect-rules: true
enhanced-mode: fake-ip fake-ip-range: 28.0.0.1/8
fake-ip-filter-mode: blacklist fake-ip-filter:
proxies:
proxy-groups:
MATCH,🐟 漏网之鱼 rule-anchor: ip: &ip {type: http, interval: 86400, behavior: ipcidr, format: mrs} domain: &domain {type: http, interval: 86400, behavior: domain, format: mrs} qcy: &qcy {type: http, interval: 86400, behavior: domain, format: text} class: &class {type: http, interval: 86400, behavior: classical, format: text} rule-providers: private_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/private.mrs" } direct1: { <<: class, url: "https://raw.githubusercontent.com/qcyhub/rule/master/Direct.list" } proxylite: { <<: qcy, url: "https://raw.githubusercontent.com/qcyhub/rule/master/ProxyLite.list" } ai: { <<: qcy, url: "https://raw.githubusercontent.com/qcyhub/rule/master/AI.list" } free: { <<: qcy, url: "https://raw.githubusercontent.com/qcyhub/rule/master/Free.list" } youtube_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/youtube.mrs" } google_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.mrs" } github_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/github.mrs" } telegram_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/telegram.mrs" } netflix_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/netflix.mrs" } paypal_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/paypal.mrs" } onedrive_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/onedrive.mrs" } microsoft_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/microsoft.mrs" } apple_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/apple-cn.mrs" } speedtest_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/ookla-speedtest.mrs" } tiktok_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/tiktok.mrs" } gfw_domain: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/gfw.mrs" } geolocation-!cn: { <<: domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/geolocation-!cn.mrs" } cn_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.mrs" }
cn_ip: { <<: ip, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/cn.mrs" } google_ip: { <<: ip, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/google.mrs" } telegram_ip: { <<: ip, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/telegram.mrs" } netflix_ip: { <<: ip, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/netflix.mrs" }
上面配置只插入 proxies: 然后自动过滤选择节点
已支持
我修改模板并加入了链式代理 但是他会默认把订阅节点添加到类型为ralay的策略组 链式代理无法使用