|
@@ -0,0 +1,79 @@
|
|
|
|
+[custom]
|
|
|
|
+;这是一个外部配置文件示例
|
|
|
|
+;所有可能的自定义设置如下所示
|
|
|
|
+
|
|
|
|
+;用于自定义组的选项 会覆盖 主程序目录中的配置文件 里的内容
|
|
|
|
+;使用以下模式生成 Clash 代理组,带有 "[]" 前缀将直接添加
|
|
|
|
+;Format: Group_Name`select`Rule_1`Rule_2`...
|
|
|
|
+; Group_Name`url-test|fallback|load-balance`Rule_1`Rule_2`...`test_url`interval[,timeout][,tolerance]
|
|
|
|
+;Rule with "[]" prefix will be added directly.
|
|
|
|
+
|
|
|
|
+;custom_proxy_group=Proxy`select`.*`[]AUTO`[]DIRECT`.*
|
|
|
|
+;custom_proxy_group=UrlTest`url-test`.*`http://www.gstatic.com/generate_204`300,5,100
|
|
|
|
+;custom_proxy_group=FallBack`fallback`.*`http://www.gstatic.com/generate_204`300,5
|
|
|
|
+;custom_proxy_group=LoadBalance`load-balance`.*`http://www.gstatic.com/generate_204`300,,100
|
|
|
|
+;custom_proxy_group=SSID`ssid`default_group`celluar=group0,ssid1=group1,ssid2=group2
|
|
|
|
+
|
|
|
|
+;custom_proxy_group=g1`select`!!GROUPID=0
|
|
|
|
+;custom_proxy_group=g2`select`!!GROUPID=1
|
|
|
|
+;custom_proxy_group=v2ray`select`!!GROUP=V2RayProvider
|
|
|
|
+
|
|
|
|
+;custom_proxy_group=g1hk`select`!!GROUPID=0!!(HGC|HKBN|PCCW|HKT|hk|港)
|
|
|
|
+;custom_proxy_group=sstw`select`!!GROUP=V2RayProvider!!(深台|彰化|新北|台|tw)
|
|
|
|
+;custom_proxy_group=provider`select`!!PROVIDER=prov1,prov2,prov3`fallback_nodes
|
|
|
|
+
|
|
|
|
+custom_proxy_group=直连流量`select`[]DIRECT`(HKT|hk|港)
|
|
|
|
+custom_proxy_group=代理流量`select`(HKT|hk|港)`[]DIRECT
|
|
|
|
+custom_proxy_group=其他流量`select`[]直连流量`[]代理流量
|
|
|
|
+
|
|
|
|
+;用于自定义规则的选项 会覆盖 主程序目录中的配置文件 里的内容
|
|
|
|
+;Ruleset addresses, supports local files/URL
|
|
|
|
+;Format: Group name,[type:]URL[,interval]
|
|
|
|
+; Group name,[]Rule
|
|
|
|
+;where "type" supports the following value: surge, quanx, clash-domain, clash-ipcidr, clash-classic
|
|
|
|
+;type defaults to surge if omitted
|
|
|
|
+enable_rule_generator=true
|
|
|
|
+overwrite_original_rules=true
|
|
|
|
+;ruleset=DIRECT,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Unbreak.list,86400
|
|
|
|
+;ruleset=🎯 全球直连,rules/LocalAreaNetwork.list
|
|
|
|
+;ruleset=DIRECT,surge:rules/LocalAreaNetwork.list
|
|
|
|
+;ruleset=Advertising,quanx:https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Advertising.list,86400
|
|
|
|
+;ruleset=Domestic Services,clash-domain:https://ruleset.dev/clash_domestic_services_domains,86400
|
|
|
|
+;ruleset=Domestic Services,clash-ipcidr:https://ruleset.dev/clash_domestic_services_ips,86400
|
|
|
|
+;ruleset=DIRECT,clash-classic:https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/China.yaml,86400
|
|
|
|
+;ruleset=🎯 全球直连,[]GEOIP,CN
|
|
|
|
+;ruleset=🐟 漏网之鱼,[]FINAL
|
|
|
|
+
|
|
|
|
+ruleset=直连流量,https://resource.touhou.center/ios_rule_script/rule/Clash/Direct/Direct.yaml
|
|
|
|
+ruleset=直连流量,https://resource.touhou.center/ios_rule_script/rule/Clash/China/China_Classical.yaml
|
|
|
|
+ruleset=代理流量,https://resource.touhou.center/ios_rule_script/rule/Clash/Global/Global_Classical.yaml
|
|
|
|
+ruleset=代理流量,https://resource.touhou.center/ios_rule_script/rule/Clash/GlobalMedia/GlobalMedia_Classical.yaml
|
|
|
|
+ruleset=直连流量,[]GEOIP,LAN
|
|
|
|
+ruleset=直连流量,[]GEOIP,CN
|
|
|
|
+ruleset=其他流量,[]FINAL
|
|
|
|
+
|
|
|
|
+;用于自定义基础配置的选项 会覆盖 主程序目录中的配置文件 里的内容
|
|
|
|
+;clash_rule_base=base/forcerule.yml
|
|
|
|
+;surge_rule_base=base/surge.conf
|
|
|
|
+;surfboard_rule_base=base/surfboard.conf
|
|
|
|
+;mellow_rule_base=base/mellow.conf
|
|
|
|
+;quan_rule_base=base/quan.conf
|
|
|
|
+;quanx_rule_base=base/quanx.conf
|
|
|
|
+
|
|
|
|
+;用于自定义重命名的选项 会覆盖 主程序目录中的配置文件 里的内容
|
|
|
|
+;rename=Test-(.*?)-(.*?)-(.*?)\((.*?)\)@\1\4x测试线路_自\2到\3
|
|
|
|
+;rename=\(?((x|X)?(\d+)(\.?\d+)?)((\s?倍率?)|(x|X))\)?@$1x
|
|
|
|
+
|
|
|
|
+;用于自定义 Emoji 的选项 会覆盖 主程序目录中的配置文件 里的内容
|
|
|
|
+;add_emoji=true
|
|
|
|
+;remove_old_emoji=true
|
|
|
|
+;emoji=(流量|时间|应急),🏳️🌈
|
|
|
|
+;emoji=阿根廷,🇦🇷
|
|
|
|
+
|
|
|
|
+;用于包含或排除节点关键词的选项 会覆盖 主程序目录中的配置文件 里的内容
|
|
|
|
+;include_remarks=
|
|
|
|
+;exclude_remarks=
|
|
|
|
+
|
|
|
|
+;[template]
|
|
|
|
+;;局部作用于模板中的变量
|
|
|
|
+;clash.dns.port=5353
|