Skip to content

Instantly share code, notes, and snippets.

@harv
Last active June 7, 2023 13:07
Show Gist options
  • Save harv/4db01a4c34fdd5be5b0b94e6be9cae08 to your computer and use it in GitHub Desktop.
Save harv/4db01a4c34fdd5be5b0b94e6be9cae08 to your computer and use it in GitHub Desktop.
[custom]
enable_rule_generator=true
overwrite_original_rules=true
custom_proxy_group=Fallback`fallback`.*`http://www.gstatic.com/generate_204`300
custom_proxy_group=AutoTest`url-test`.*`http://www.gstatic.com/generate_204`300
custom_proxy_group=HK`url-test`(HK|香港)`http://www.gstatic.com/generate_204`300
custom_proxy_group=TW`url-test`(TW|台湾)`http://www.gstatic.com/generate_204`300
custom_proxy_group=SG`url-test`(SG|新加坡)`http://www.gstatic.com/generate_204`300
custom_proxy_group=JP`url-test`(JP|日本)`http://www.gstatic.com/generate_204`300
custom_proxy_group=US`url-test`(US|美国)`http://www.gstatic.com/generate_204`300
custom_proxy_group=PROXY`select`[]Fallback`[]AutoTest`[]HK`[]TW`[]SG`[]JP`[]US`.*
custom_proxy_group=MATCH`select`[]DIRECT`[]PROXY
custom_proxy_group=Streaming`select`[]PROXY`[]DIRECT
custom_proxy_group=StreamingSE`select`[]DIRECT`[]PROXY
ruleset=DIRECT,clash-classic:https://ghproxy.com/https://github.com/ACL4SSR/ACL4SSR/raw/master/Clash/Providers/UnBan.yaml,86400
ruleset=Streaming,clash-classic:https://ghproxy.com/https://github.com/ACL4SSR/ACL4SSR/raw/master/Clash/Providers/ProxyMedia.yaml,86400
ruleset=StreamingSE,clash-classic:https://ghproxy.com/https://github.com/ACL4SSR/ACL4SSR/raw/master/Clash/Providers/ChinaMedia.yaml,86400
ruleset=PROXY,clash-classic:https://ghproxy.com/https://github.com/ACL4SSR/ACL4SSR/raw/master/Clash/Providers/ProxyGFWlist.yaml,86400
ruleset=DIRECT,clash-classic:https://ghproxy.com/https://github.com/ACL4SSR/ACL4SSR/raw/master/Clash/Providers/ChinaDomain.yaml,86400
ruleset=DIRECT,clash-ipcidr:https://ghproxy.com/https://github.com/ACL4SSR/ACL4SSR/raw/master/Clash/Providers/ChinaIp.yaml,86400
ruleset=DIRECT,clash-ipcidr:https://ghproxy.com/https://github.com/ACL4SSR/ACL4SSR/raw/master/Clash/Providers/ChinaCompanyIp.yaml,86400
ruleset=DIRECT,clash-classic:https://ghproxy.com/https://github.com/ACL4SSR/ACL4SSR/raw/master/Clash/Providers/Apple.yaml,86400
ruleset=DIRECT,[]IP-CIDR,0.0.0.0/8
ruleset=DIRECT,[]IP-CIDR,10.0.0.0/8
ruleset=DIRECT,[]IP-CIDR,100.64.0.0/10
ruleset=DIRECT,[]IP-CIDR,127.0.0.0/8
ruleset=DIRECT,[]IP-CIDR,172.16.0.0/12
ruleset=DIRECT,[]IP-CIDR,192.168.0.0/16
# ruleset=DIRECT,[]IP-CIDR,198.18.0.0/16
ruleset=DIRECT,[]IP-CIDR,224.0.0.0/4
# ruleset=DIRECT,[]GEOIP,CN
ruleset=MATCH,[]MATCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment