mirror of
https://github.com/Loyalsoldier/clash-rules.git
synced 2024-11-10 03:15:35 +08:00
Update config.yaml
This commit is contained in:
parent
7a34193c59
commit
b2231564b0
43
config.yaml
43
config.yaml
@ -15,27 +15,28 @@ dns:
|
|||||||
listen: 0.0.0.0:53
|
listen: 0.0.0.0:53
|
||||||
ipv6: false
|
ipv6: false
|
||||||
default-nameserver:
|
default-nameserver:
|
||||||
|
- 223.5.5.5
|
||||||
- 114.114.114.114
|
- 114.114.114.114
|
||||||
nameserver:
|
nameserver:
|
||||||
- tls://223.5.5.5:853
|
- 223.5.5.5
|
||||||
- 114.114.114.114
|
- 114.114.114.114
|
||||||
- 119.29.29.29
|
- 119.29.29.29
|
||||||
- 180.76.76.76
|
- 180.76.76.76
|
||||||
enhanced-mode: fake-ip
|
enhanced-mode: fake-ip
|
||||||
fake-ip-range: 198.18.0.1/16
|
fake-ip-range: 198.18.0.1/16
|
||||||
fake-ip-filter:
|
fake-ip-filter:
|
||||||
- '*.lan'
|
- "*.lan"
|
||||||
- '*.localdomain'
|
- "*.localdomain"
|
||||||
- '*.example'
|
- "*.example"
|
||||||
- '*.invalid'
|
- "*.invalid"
|
||||||
- '*.localhost'
|
- "*.localhost"
|
||||||
- '*.test'
|
- "*.test"
|
||||||
- '*.local'
|
- "*.local"
|
||||||
- '*.home.arpa'
|
- "*.home.arpa"
|
||||||
- router.asus.com
|
- router.asus.com
|
||||||
- localhost.sec.qq.com
|
- localhost.sec.qq.com
|
||||||
- localhost.ptlogin2.qq.com
|
- localhost.ptlogin2.qq.com
|
||||||
- '+.msftconnecttest.com'
|
- "+.msftconnecttest.com"
|
||||||
tun:
|
tun:
|
||||||
enable: true
|
enable: true
|
||||||
stack: system
|
stack: system
|
||||||
@ -66,77 +67,77 @@ rule-providers:
|
|||||||
reject:
|
reject:
|
||||||
type: http
|
type: http
|
||||||
behavior: domain
|
behavior: domain
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt"
|
url: "https://testingcf.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt"
|
||||||
path: ./ruleset/reject.yaml
|
path: ./ruleset/reject.yaml
|
||||||
interval: 36000
|
interval: 36000
|
||||||
|
|
||||||
icloud:
|
icloud:
|
||||||
type: http
|
type: http
|
||||||
behavior: domain
|
behavior: domain
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt"
|
url: "https://testingcf.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt"
|
||||||
path: ./ruleset/icloud.yaml
|
path: ./ruleset/icloud.yaml
|
||||||
interval: 36000
|
interval: 36000
|
||||||
|
|
||||||
apple:
|
apple:
|
||||||
type: http
|
type: http
|
||||||
behavior: domain
|
behavior: domain
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt"
|
url: "https://testingcf.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt"
|
||||||
path: ./ruleset/apple.yaml
|
path: ./ruleset/apple.yaml
|
||||||
interval: 36000
|
interval: 36000
|
||||||
|
|
||||||
google:
|
google:
|
||||||
type: http
|
type: http
|
||||||
behavior: domain
|
behavior: domain
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt"
|
url: "https://testingcf.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt"
|
||||||
path: ./ruleset/google.yaml
|
path: ./ruleset/google.yaml
|
||||||
interval: 36000
|
interval: 36000
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
type: http
|
type: http
|
||||||
behavior: domain
|
behavior: domain
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt"
|
url: "https://testingcf.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt"
|
||||||
path: ./ruleset/proxy.yaml
|
path: ./ruleset/proxy.yaml
|
||||||
interval: 36000
|
interval: 36000
|
||||||
|
|
||||||
direct:
|
direct:
|
||||||
type: http
|
type: http
|
||||||
behavior: domain
|
behavior: domain
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt"
|
url: "https://testingcf.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt"
|
||||||
path: ./ruleset/direct.yaml
|
path: ./ruleset/direct.yaml
|
||||||
interval: 36000
|
interval: 36000
|
||||||
|
|
||||||
private:
|
private:
|
||||||
type: http
|
type: http
|
||||||
behavior: domain
|
behavior: domain
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt"
|
url: "https://testingcf.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt"
|
||||||
path: ./ruleset/private.yaml
|
path: ./ruleset/private.yaml
|
||||||
interval: 36000
|
interval: 36000
|
||||||
|
|
||||||
telegramcidr:
|
telegramcidr:
|
||||||
type: http
|
type: http
|
||||||
behavior: ipcidr
|
behavior: ipcidr
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt"
|
url: "https://testingcf.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt"
|
||||||
path: ./ruleset/telegramcidr.yaml
|
path: ./ruleset/telegramcidr.yaml
|
||||||
interval: 36000
|
interval: 36000
|
||||||
|
|
||||||
cncidr:
|
cncidr:
|
||||||
type: http
|
type: http
|
||||||
behavior: ipcidr
|
behavior: ipcidr
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt"
|
url: "https://testingcf.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt"
|
||||||
path: ./ruleset/cncidr.yaml
|
path: ./ruleset/cncidr.yaml
|
||||||
interval: 36000
|
interval: 36000
|
||||||
|
|
||||||
lancidr:
|
lancidr:
|
||||||
type: http
|
type: http
|
||||||
behavior: ipcidr
|
behavior: ipcidr
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt"
|
url: "https://testingcf.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt"
|
||||||
path: ./ruleset/lancidr.yaml
|
path: ./ruleset/lancidr.yaml
|
||||||
interval: 36000
|
interval: 36000
|
||||||
|
|
||||||
applications:
|
applications:
|
||||||
type: http
|
type: http
|
||||||
behavior: classical
|
behavior: classical
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt"
|
url: "https://testingcf.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt"
|
||||||
path: ./ruleset/applications.yaml
|
path: ./ruleset/applications.yaml
|
||||||
interval: 36000
|
interval: 36000
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user