Merge pull request #424 from mwhds97/master
Add a specific ruleset for LAN
This commit is contained in:
9
Clash/Provider/LAN.yaml
Normal file
9
Clash/Provider/LAN.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
payload:
|
||||||
|
- DOMAIN-SUFFIX,local
|
||||||
|
- IP-CIDR,127.0.0.0/8
|
||||||
|
- IP-CIDR,172.16.0.0/12
|
||||||
|
- IP-CIDR,192.168.0.0/16
|
||||||
|
- IP-CIDR,10.0.0.0/8
|
||||||
|
- IP-CIDR,17.0.0.0/8
|
||||||
|
- IP-CIDR,100.64.0.0/10
|
||||||
|
- IP-CIDR6,fe80::/10
|
||||||
@@ -107,9 +107,3 @@ payload:
|
|||||||
- DOMAIN-SUFFIX,smtp
|
- DOMAIN-SUFFIX,smtp
|
||||||
# - URL-REGEX,(Subject|HELO|SMTP)
|
# - URL-REGEX,(Subject|HELO|SMTP)
|
||||||
|
|
||||||
- DOMAIN-SUFFIX,local
|
|
||||||
- IP-CIDR,127.0.0.0/8
|
|
||||||
- IP-CIDR,172.16.0.0/12
|
|
||||||
- IP-CIDR,192.168.0.0/16
|
|
||||||
- IP-CIDR,10.0.0.0/8
|
|
||||||
- IP-CIDR,100.64.0.0/10
|
|
||||||
|
|||||||
@@ -55,6 +55,7 @@
|
|||||||
- RULE-SET,Domestic,Domestic
|
- RULE-SET,Domestic,Domestic
|
||||||
- RULE-SET,Domestic IPs,Domestic
|
- RULE-SET,Domestic IPs,Domestic
|
||||||
|
|
||||||
|
- RULE-SET,LAN,DIRECT
|
||||||
- GEOIP,CN,Domestic
|
- GEOIP,CN,Domestic
|
||||||
- MATCH,Others
|
- MATCH,Others
|
||||||
|
|
||||||
@@ -420,4 +421,10 @@ rule-providers:
|
|||||||
behavior: ipcidr
|
behavior: ipcidr
|
||||||
url: 'https://gitee.com/lhie1/Rules/raw/master/Clash/Provider/Domestic%20IPs.yaml'
|
url: 'https://gitee.com/lhie1/Rules/raw/master/Clash/Provider/Domestic%20IPs.yaml'
|
||||||
path: ./Rules/Domestic_IPs
|
path: ./Rules/Domestic_IPs
|
||||||
interval: 86400
|
interval: 86400
|
||||||
|
LAN:
|
||||||
|
type: http
|
||||||
|
behavior: classical
|
||||||
|
url: 'https://gitee.com/lhie1/Rules/raw/master/Clash/Provider/LAN.yaml'
|
||||||
|
path: ./Rules/LAN
|
||||||
|
interval: 86400
|
||||||
|
|||||||
Reference in New Issue
Block a user