diff --git a/update/provider/provider.yml b/update/provider/provider.yml index d3575067f..36a82ca9f 100644 --- a/update/provider/provider.yml +++ b/update/provider/provider.yml @@ -1,10 +1,19 @@ -## For Clash FOSS -- Can also be used with Clash.Meta but `provider-meta.yml` is more suitable. + ## COUNTRY: NO COUNTRY (BYPASS-FREE) ## +## IMPORTANT: Import the appropriate config URL for your country of residence;- +# e.g. "provider.yml" if in Iran, instead of manually adjusting it,- +# to ensure bypassing local services while still receiving updates for the config! +## 重要提示:为您居住的国家/地区导入适当的配置 URL;例如 “provider-cn.yml”- +# 如果在中国而不是手动调整它,以确保绕过本地服务同时仍然接收配置更新! (谷歌翻译) +## مهم: آدرس URL کانفیگ مناسب با کشور خود را به نرم افزار وارد کنید؛ مثلا "provider.yml" برای ایران،- +# بجای دستی تنظیم کردن ، تا علاوه بر پروکسی نشدن سرویس های محلی، برای کانفیگ آپدیت دریافت کنید! + + ## In case of modifications, read comments carefully! ## + +## For Clash FOSS -- Can also be used with Clash.Meta but `provider-meta-others.yml` is more suitable. ## Android client is available on: # Github: https://github.com/Kr328/ClashForAndroid/releases/latest # Playstore: https://play.google.com/store/apps/details?id=com.github.kr328.clash # Izzyondroid: https://apt.izzysoft.de/fdroid/index/apk/com.github.kr328.clash.foss -## In case of modifications, read comments carefully! -## IMPORTANT: If you're not in Iran, change "GEOIP,IR,DIRECT" rule accordingly. mixed-port: 7890 allow-lan: true @@ -13,28 +22,34 @@ log-level: error ## silent/error/warning/info/debug ipv6: true external-controller: 127.0.0.1:9090 profile: - store-selected: true + store-selected: false ## It's better to default to "auto" every time it restarts. store-fake-ip: true +#tun: + #enable: true + #stack: system ## system/gvisor + #dns-hijack: + #- 0.0.0.0:53 + #auto-detect-interface: true + #auto-route: true + dns: enable: true #listen: 127.0.0.1:53 ## Or 0.0.0.0:53 for LAN. ipv6: true default-nameserver: - - 127.0.0.1 - - 1.1.1.1 - - 114.114.114.114 + - '127.0.0.1' + - '1.1.1.1' enhanced-mode: fake-ip use-hosts: true nameserver: - - 127.0.0.1 - - 1.1.1.1 - - 114.114.114.114 + - '127.0.0.1' + - '1.1.1.1' fallback: - - https://1.1.1.1/dns-query - - https://8.8.8.8/dns-query - - https://9.9.9.9/dns-query - - https://rubyfish.cn/dns-query + - "https://1.1.1.1/dns-query" + - "https://8.8.8.8/dns-query" + - "https://9.9.9.9/dns-query" + - "https://rubyfish.cn/dns-query" fallback-filter: geoip: false ipcidr: @@ -69,41 +84,54 @@ proxy-groups: - name: manual type: select use: + - local - airports - aggregator - name: auto type: url-test + #filter: "🏁" use: + - local - airports - aggregator proxy-providers: + local: + type: file + path: ./providers/local.yaml ## << Put your custom servers here. + health-check: + enable: true + interval: 3600 + lazy: true + url: "http://cp.cloudflare.com/" + #url: "http://detectportal.firefox.com/success.txt" + airports: type: http - url: https://raw.githubusercontent.com/mahdibland/V2RayAggregator/master/sub/airport_merge_yaml.yml + url: "https://cdn.jsdelivr.net/gh/mahdibland/V2RayAggregator@master/sub/airport_merge_yaml.yml" interval: 86400 path: ./providers/airports.yaml health-check: enable: true interval: 3600 lazy: true - url: http://detectportal.firefox.com/ + url: "http://cp.cloudflare.com/" + #url: "http://detectportal.firefox.com/success.txt" aggregator: type: http - url: https://raw.githubusercontent.com/mahdibland/V2RayAggregator/master/sub/sub_merge_yaml.yml + url: "https://cdn.jsdelivr.net/gh/mahdibland/V2RayAggregator@master/sub/sub_merge_yaml.yml" interval: 86400 path: ./providers/aggregator.yaml health-check: enable: true interval: 3600 lazy: true - url: http://detectportal.firefox.com/ + url: "http://cp.cloudflare.com/" + #url: "http://detectportal.firefox.com/success.txt" rules: - - GEOIP,private,DIRECT,no-resolve ## Loopback and LAN IPs. - - GEOIP,IR,DIRECT ## Change to your country's code. - + - GEOIP,private,DIRECT,no-resolve ## Loopback and LAN IPs - MATCH,global