diff --git a/assets/clash/clash.yaml b/assets/clash/clash.yaml index 8a64d93..aca5372 100644 --- a/assets/clash/clash.yaml +++ b/assets/clash/clash.yaml @@ -1,13 +1,12 @@ -mixed-port: 7890 +mode: rule +log-level: info +mixed-port: 10000 +unified-delay: true allow-lan: true tcp-concurrent: true enable-process: true find-process-mode: always -mode: rule -log-level: debug -ipv6: false -keep-alive-interval: 30 -unified-delay: true +global-client-fingerprint: chrome # enable model auto update, the default is false lgbm-auto-update: true @@ -16,26 +15,11 @@ lgbm-update-interval: 72 # model update url lgbm-url: "https://github.com/vernesong/mihomo/releases/download/LightGBM-Model/Model-middle.bin" -proxy-providers: - sub: - type: http - url: https://${DOMAIN}/${SUB_PATH}/${SUB_ID} - path: ./proxy_providers/base64.yml - interval: 3600 - health-check: - enable: true - url: https://www.gstatic.com/generate_204 - interval: 300 - timeout: 5000 - lazy: true - expected-status: 204 - - - profile: store-selected: true store-fake-ip: true smart-collector-size: 100 + sniffer: enable: true force-dns-mapping: true @@ -50,15 +34,7 @@ sniffer: ports: - 443 - 8443 -tun: - enable: true - stack: gvisor - auto-route: true - auto-detect-interface: false - dns-hijack: - - any:53 - strict-route: true - mtu: 1500 + dns: enable: true prefer-h3: true @@ -80,87 +56,153 @@ dns: - 195.208.4.1#DIRECT # ะะกะ”ะ˜ - system nameserver: - - https://cloudflare-dns.com/dns-query#๐ŸŒ VPN - - https://cloudflare-dns.com/dns-query + - https://cloudflare-dns.com/dns-query#PROXY proxies: - + +proxy-providers: + sub: + type: http + url: https://${DOMAIN}/${SUB_PATH}/${SUB_ID} + path: ./proxy_providers/base64.yml + interval: 3600 + health-check: + enable: true + url: https://www.gstatic.com/generate_204 + interval: 300 + timeout: 5000 + lazy: true + expected-status: 204 + proxy-groups: - name: ๐ŸŒ VPN icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Hijacking.png type: select - include-all: true proxies: - - โšก๏ธ AUTO + - โšก๏ธ Fastest - ๐Ÿ“Š Smart # LEAVE THIS LINE! + include-all: true - name: โ–ถ๏ธ YouTube icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/YouTube.png type: select - include-all: true proxies: - - โšก๏ธ AUTO - - ๐Ÿ“Š Smart + - ๐ŸŒ VPN # LEAVE THIS LINE! - - name: โšก๏ธ AUTO + include-all: true + - name: ๐Ÿ’ฌ Discord + icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Discord.png + type: select + proxies: + - ๐ŸŒ VPN + # LEAVE THIS LINE! + include-all: true + - name: โšก๏ธ Fastest icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Auto.png type: url-test - url: https://captive.apple.com/generate_204 - hidden: true + tolerance: 150 + url: https://cp.cloudflare.com/generate_204 interval: 300 - include-all: true proxies: # LEAVE THIS LINE! + include-all: true + - name: โžค Telegram + icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Telegram.png + type: select + include-all: true + proxies: + - ๐ŸŒ VPN + - name: โžค WhatsApp + icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Facebook.png + type: select + include-all: true + proxies: + - ๐ŸŒ VPN - name: ๐Ÿ“Š Smart icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Magic.png type: smart hidden: true - # uselightgbm: use LightGBM model predict weight uselightgbm: true - # collectdata: collect datas for model training collectdata: false - # strategy: 'sticky-sessions' or 'round-robin', not support 'consistent-hashing' - # the default is 'sticky-sessions' with more stable&smoothly nodes switch logic when datas collecting strategy: sticky-sessions - # sample-rate: data acquisition rate, desirable values are 0-1, the default is 1 sample-rate: 1 include-all: true - - name: ๐Ÿ”“ NO VPN - icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Blackhole.png + - name: PROXY + remnawave: + include-proxies: false type: select hidden: true proxies: - - DIRECT + - ๐ŸŒ VPN + include-all: true rule-providers: - ru-inline-banned: + facebook-ips: type: http - url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/other/inline/ru-inline-banned.yaml + behavior: ipcidr + format: mrs interval: 86400 - behavior: classical - format: yaml - path: ./rule-sets/ru-inline-banned.yaml - ru-inline: + url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geoip/facebook.mrs + path: ./rule-sets/facebook-ips.mrs + whatsapp-domains: type: http - url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/other/inline/ru-inline.yaml + behavior: domain + format: mrs interval: 86400 - behavior: classical - format: yaml - path: ./rule-sets/ru-inline.yaml - ru-app-list: + url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/whatsapp.mrs + path: ./rule-sets/whatsapp-domains.mrs + telegram-ips: type: http - behavior: classical - format: yaml - url: https://github.com/legiz-ru/mihomo-rule-sets/blob/main/other/ru-app-list.yaml - path: ./rule-sets/ru-app-list.yaml + behavior: ipcidr + format: mrs interval: 86400 - games-direct: + url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geoip/telegram.mrs + path: ./rule-sets/telegram-ips.mrs + telegram-domains: type: http - behavior: classical - format: yaml - url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/other/games-direct.yaml - path: ./rule-sets/games-direct.yaml + behavior: domain + format: mrs interval: 86400 + url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/telegram.mrs + path: ./rule-sets/telegram-domains.mrs + discord_domains: + type: http + behavior: domain + format: mrs + url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/discord.mrs + path: ./rule-sets/discord_domains.mrs + discord_voiceips: + type: http + behavior: ipcidr + format: mrs + url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/other/discord-voice-ip-list.mrs + path: ./rule-sets/discord_voiceips.mrs + refilter_domains: + type: http + behavior: domain + format: mrs + url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/domain-rule.mrs + path: ./re-filter/domain-rule.mrs + interval: 86400 + refilter_ipsum: + type: http + behavior: ipcidr + format: mrs + url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/ip-rule.mrs + path: ./re-filter/ip-rule.mrs + interval: 86400 + youtube: + type: http + behavior: domain + format: mrs + url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/youtube.mrs + path: ./rule-sets/youtube.mrs + oisd_big: + type: http + behavior: domain + format: mrs + url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/oisd/big.mrs + path: ./oisd/big.mrs torrent-trackers: type: http behavior: domain @@ -175,110 +217,23 @@ rule-providers: url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/other/torrent-clients.yaml path: ./rule-sets/torrent-clients.yaml interval: 86400 - geosite-ru: + ru-bundle: type: http behavior: domain format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/category-ru.mrs - path: ./geosite-ru.mrs - interval: 86400 - xiaomi: - type: http - behavior: domain - format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/xiaomi.mrs - path: ./rule-sets/xiaomi.mrs - interval: 86400 - blender: - type: http - behavior: domain - format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/blender.mrs - path: ./rule-sets/blender.mrs - interval: 86400 - drweb: - type: http - behavior: domain - format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/drweb.mrs - path: ./rule-sets/drweb.mrs - interval: 86400 - debian: - type: http - behavior: domain - format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/debian.mrs - path: ./rule-sets/debian.mrs - interval: 86400 - canonical: - type: http - behavior: domain - format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/canonical.mrs - path: ./rule-sets/canonical.mrs - interval: 86400 - python: - type: http - behavior: domain - format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/python.mrs - path: ./rule-sets/python.mrs - interval: 86400 - geoip-ru: - type: http - behavior: ipcidr - format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geoip/ru.mrs - path: ./geoip-ru.mrs - interval: 86400 - geosite-private: - type: http - behavior: domain - format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/private.mrs - path: ./geosite-private.mrs - interval: 86400 - geoip-private: - type: http - behavior: ipcidr - format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geoip/private.mrs - path: ./geoip-private.mrs - interval: 86400 - ads: - type: http - behavior: domain - format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/category-ads-all.mrs - path: ./category-ads-all.mrs - interval: 86400 - youtube: - type: http - behavior: domain - format: mrs - url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/youtube.mrs - path: ./youtube.mrs + url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/ru-bundle/rule.mrs + path: ./ru-bundle/rule.mrs interval: 86400 rules: - - RULE-SET,ads,REJECT + - OR,((DOMAIN,ipwhois.app),(DOMAIN,ipwho.is),(DOMAIN,api.ip.sb),(DOMAIN,ipapi.co),(DOMAIN,ipinfo.io),(DOMAIN,ip-api.com),(DOMAIN,cloudflare-dns.com)),๐ŸŒ VPN + - RULE-SET,oisd_big,REJECT + - OR,((RULE-SET,telegram-ips),(RULE-SET,telegram-domains)),โžค Telegram + - OR,((RULE-SET,facebook-ips),(RULE-SET,whatsapp-domains)),โžค WhatsApp + - OR,((RULE-SET,torrent-clients),(RULE-SET,torrent-trackers)),DIRECT - RULE-SET,youtube,โ–ถ๏ธ YouTube - - RULE-SET,ru-inline-banned,๐ŸŒ VPN - - PROCESS-NAME,Discord.exe,๐ŸŒ VPN - - PROCESS-NAME,discord,๐ŸŒ VPN - - RULE-SET,geoip-private,๐Ÿ”“ NO VPN,no-resolve - - RULE-SET,geosite-private,๐Ÿ”“ NO VPN - - RULE-SET,ru-app-list,๐Ÿ”“ NO VPN - - RULE-SET,games-direct,๐Ÿ”“ NO VPN - - RULE-SET,torrent-clients,๐Ÿ”“ NO VPN - - RULE-SET,torrent-trackers,๐Ÿ”“ NO VPN - - RULE-SET,ru-inline,๐Ÿ”“ NO VPN - - RULE-SET,geosite-ru,๐Ÿ”“ NO VPN - - RULE-SET,xiaomi,๐Ÿ”“ NO VPN - - RULE-SET,blender,๐Ÿ”“ NO VPN - - RULE-SET,drweb,๐Ÿ”“ NO VPN - - RULE-SET,debian,๐Ÿ”“ NO VPN - - RULE-SET,canonical,๐Ÿ”“ NO VPN - - RULE-SET,python,๐Ÿ”“ NO VPN - - RULE-SET,geoip-ru,๐Ÿ”“ NO VPN - - MATCH,๐ŸŒ VPN + - OR,((RULE-SET,discord_domains),(RULE-SET,discord_voiceips),(PROCESS-NAME,Discord.exe)),๐Ÿ’ฌ Discord + - RULE-SET,ru-bundle,๐ŸŒ VPN + - RULE-SET,refilter_domains,๐ŸŒ VPN + - RULE-SET,refilter_ipsum,๐ŸŒ VPN + - MATCH,DIRECT