immortalwrt/package/ctcgfw/luci-app-openclash/files/etc/openclash/ConnersHua.yaml

86 lines
2.5 KiB
YAML
Raw Normal View History

2020-07-16 21:07:14 +08:00
rule-providers:
# name: # Provider 名称
# type: http # http 或 file
# behavior: classical # 或 ipcidr、domain
# path: # 文件路径
# url: # 只有当类型为 HTTP 时才可用,您不需要在本地空间中创建新文件。
# interval: # 自动更新间隔,仅在类型为 HTTP 时可用
2019-08-29 02:49:18 +08:00
2020-07-16 21:07:14 +08:00
Unbreak:
type: http
behavior: classical
path: ./RuleSet/Unbreak.yaml
url: https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/Unbreak.yaml
interval: 86400
Streaming:
type: http
behavior: classical
path: ./RuleSet/StreamingMedia/Streaming.yaml
url: https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/StreamingMedia/Streaming.yaml
interval: 86400
StreamingSE:
type: http
behavior: classical
path: ./RuleSet/StreamingMedia/StreamingSE.yaml
url: https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/StreamingMedia/StreamingSE.yaml
interval: 86400
2019-07-19 18:18:45 +08:00
2020-07-16 21:07:14 +08:00
Global:
type: http
behavior: classical
path: ./RuleSet/Global.yaml
url: https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/Global.yaml
interval: 86400
2019-07-19 18:18:45 +08:00
2020-07-16 21:07:14 +08:00
China:
type: http
behavior: classical
path: ./RuleSet/China.yaml
url: https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/China.yaml
interval: 86400
2019-07-19 18:18:45 +08:00
2020-07-16 21:07:14 +08:00
ChinaIP:
type: http
behavior: ipcidr
path: ./RuleSet/Extra/ChinaIP.yaml
url: https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/Extra/ChinaIP.yaml
interval: 86400
2019-07-19 18:18:45 +08:00
2020-07-16 21:07:14 +08:00
# 规则
rules:
# Unbreak
- RULE-SET,Unbreak,DIRECT
# Global Area Network
2019-07-19 18:18:45 +08:00
2020-07-16 21:07:14 +08:00
# (Streaming Media)
- RULE-SET,Streaming,Streaming
2019-07-19 18:18:45 +08:00
2020-07-16 21:07:14 +08:00
# (StreamingSE)
- RULE-SET,StreamingSE,StreamingSE
2019-07-19 18:18:45 +08:00
2020-07-16 21:07:14 +08:00
# (DNS Cache Pollution) / (IP Blackhole) / (Region-Restricted Access Denied) / (Network Jitter)
- RULE-SET,Global,PROXY
2020-06-18 12:39:01 +08:00
# China Area Network
2020-07-16 21:07:14 +08:00
- RULE-SET,China,DIRECT
2019-07-19 18:18:45 +08:00
2020-06-18 12:39:01 +08:00
# Local Area Network
- IP-CIDR,192.168.0.0/16,DIRECT
- IP-CIDR,10.0.0.0/8,DIRECT
- IP-CIDR,172.16.0.0/12,DIRECT
- IP-CIDR,127.0.0.0/8,DIRECT
- IP-CIDR,100.64.0.0/10,DIRECT
- IP-CIDR,224.0.0.0/4,DIRECT
2019-07-19 18:18:45 +08:00
2020-07-16 21:07:14 +08:00
# (可选)使用来自 ipipdotnet 的 ChinaIP 以解决数据不准确的问题,使用 ChinaIP.yaml 时可禁用下列直至包括「GEOIP,CN」规则
# - RULE-SET,ChinaIP,DIRECT
2020-06-18 12:39:01 +08:00
# Tencent
- IP-CIDR,119.28.28.28/32,DIRECT
- IP-CIDR,182.254.116.0/24,DIRECT
# GeoIP China
- GEOIP,CN,DIRECT
2019-07-19 18:18:45 +08:00
2020-07-16 21:07:14 +08:00
- MATCH,MATCH