update: rollback app rule

This commit is contained in:
tokumeikoi 2021-09-26 22:09:19 +09:00
parent ab4e66a5b6
commit 3b51f12ab1

View File

@ -1,38 +1,14 @@
# port: 7890
# socks-port: 7891
port: 7890
socks-port: 7891
# redir-port: 7892
# tproxy-port: 7893
mixed-port: 7890
# mixed-port: 7890
allow-lan: true
bind-address: "*"
mode: rule
log-level: info
external-controller: 127.0.0.1:9090
dns:
enable: true
# listen: 0.0.0.0:53
ipv6: false
default-nameserver:
- 223.5.5.5
- 119.29.29.29
enhanced-mode: redir-host
fake-ip-range: 198.18.0.1/16
use-hosts: true
nameserver:
- https://doh.pub/dns-query
- https://dns.alidns.com/dns-query
fallback:
- tls://1.0.0.1:853
- https://cloudflare-dns.com/dns-query
- https://dns.google/dns-query
fallback-filter:
geoip: true
ipcidr:
- 240.0.0.0/4
- 0.0.0.0/32
proxies:
proxy-groups:
@ -41,48 +17,34 @@ proxy-groups:
- { name: "故障转移", type: fallback, proxies: [], url: "http://www.gstatic.com/generate_204", interval: 7200 }
rules:
# 自定义规则
## 您可以在此处插入您补充的自定义规则(请注意保持缩进)
# Google 中国服务
- DOMAIN-SUFFIX,services.googleapis.cn,SELECT
- DOMAIN-SUFFIX,xn--ngstr-lra8j.com,SELECT
# Apple
- DOMAIN,safebrowsing.urlsec.qq.com,DIRECT # 如果您并不信任此服务提供商或防止其下载消耗过多带宽资源,可以进入 Safari 设置,关闭 Fraudulent Website Warning 功能,并使用 REJECT 策略。
- DOMAIN,safebrowsing.googleapis.com,DIRECT # 如果您并不信任此服务提供商或防止其下载消耗过多带宽资源,可以进入 Safari 设置,关闭 Fraudulent Website Warning 功能,并使用 REJECT 策略。
- DOMAIN,developer.apple.com,SELECT
- DOMAIN-SUFFIX,digicert.com,SELECT
- DOMAIN,ocsp.apple.com,SELECT
- DOMAIN,ocsp.comodoca.com,SELECT
- DOMAIN,ocsp.usertrust.com,SELECT
- DOMAIN,ocsp.sectigo.com,SELECT
- DOMAIN-SUFFIX,digicert.com,SELECT
- DOMAIN-SUFFIX,entrust.net,SELECT
- DOMAIN,ocsp.verisign.net,SELECT
- DOMAIN-SUFFIX,apple-dns.net,SELECT
- DOMAIN,testflight.apple.com,SELECT
- DOMAIN,sandbox.itunes.apple.com,SELECT
- DOMAIN,itunes.apple.com,SELECT
- DOMAIN-SUFFIX,apps.apple.com,SELECT
- DOMAIN,itunes.apple.com,SELECT
- DOMAIN-SUFFIX,blobstore.apple.com,SELECT
- DOMAIN,cvws.icloud-content.com,SELECT
- DOMAIN-SUFFIX,music.apple.com,DIRECT
- DOMAIN-SUFFIX,mzstatic.com,DIRECT
- DOMAIN-SUFFIX,itunes.apple.com,DIRECT
- DOMAIN-SUFFIX,icloud.com,DIRECT
- DOMAIN-SUFFIX,icloud-content.com,DIRECT
- DOMAIN-SUFFIX,me.com,DIRECT
- DOMAIN-SUFFIX,aaplimg.com,DIRECT
- DOMAIN-SUFFIX,cdn20.com,DIRECT
- DOMAIN-SUFFIX,cdn-apple.com,DIRECT
- DOMAIN-SUFFIX,mzstatic.com,DIRECT
- DOMAIN-SUFFIX,akadns.net,DIRECT
- DOMAIN-SUFFIX,akamaiedge.net,DIRECT
- DOMAIN-SUFFIX,edgekey.net,DIRECT
- DOMAIN-SUFFIX,mwcloudcdn.com,DIRECT
- DOMAIN-SUFFIX,mwcname.com,DIRECT
- DOMAIN-SUFFIX,aaplimg.com,DIRECT
- DOMAIN-SUFFIX,cdn-apple.com,DIRECT
- DOMAIN-SUFFIX,apple.com,DIRECT
- DOMAIN-SUFFIX,apple-cloudkit.com,DIRECT
- DOMAIN-SUFFIX,apple-mapkit.com,DIRECT
# - DOMAIN,e.crashlytics.com,REJECT //注释此选项有助于大多数App开发者分析崩溃信息如果您拒绝一切崩溃数据统计、搜集请取消 # 注释。
# 自定义规则
## 您可以在此处插入您补充的自定义规则(请注意保持缩进)
# 国内网站
- DOMAIN-SUFFIX,cn,DIRECT
- DOMAIN-KEYWORD,-cn,DIRECT
@ -96,6 +58,7 @@ rules:
- DOMAIN-SUFFIX,acfun.tv,DIRECT
- DOMAIN-SUFFIX,air-matters.com,DIRECT
- DOMAIN-SUFFIX,aixifan.com,DIRECT
- DOMAIN-SUFFIX,akamaized.net,DIRECT
- DOMAIN-KEYWORD,alicdn,DIRECT
- DOMAIN-KEYWORD,alipay,DIRECT
- DOMAIN-KEYWORD,taobao,DIRECT
@ -127,6 +90,7 @@ rules:
- DOMAIN-SUFFIX,godic.net,DIRECT
- DOMAIN-SUFFIX,gtimg.com,DIRECT
- DOMAIN,cdn.hockeyapp.net,DIRECT
- DOMAIN-SUFFIX,hdslb.com,DIRECT
- DOMAIN-SUFFIX,hongxiu.com,DIRECT
- DOMAIN-SUFFIX,hxcdn.net,DIRECT
- DOMAIN-SUFFIX,iciba.com,DIRECT
@ -238,24 +202,21 @@ rules:
- DOMAIN-KEYWORD,adsrvmedia,REJECT
- DOMAIN-KEYWORD,adwords,REJECT
- DOMAIN-KEYWORD,adservice,REJECT
- DOMAIN-SUFFIX,appsflyer.com,REJECT
- DOMAIN-KEYWORD,domob,REJECT
- DOMAIN-SUFFIX,doubleclick.net,REJECT
- DOMAIN-KEYWORD,duomeng,REJECT
- DOMAIN-KEYWORD,dwtrack,REJECT
- DOMAIN-KEYWORD,guanggao,REJECT
- DOMAIN-KEYWORD,lianmeng,REJECT
- DOMAIN-SUFFIX,mmstat.com,REJECT
- DOMAIN-KEYWORD,mopub,REJECT
- DOMAIN-KEYWORD,omgmta,REJECT
- DOMAIN-KEYWORD,openx,REJECT
- DOMAIN-KEYWORD,partnerad,REJECT
- DOMAIN-KEYWORD,pingfore,REJECT
- DOMAIN-KEYWORD,supersonicads,REJECT
- DOMAIN-KEYWORD,tracking,REJECT
- DOMAIN-KEYWORD,uedas,REJECT
- DOMAIN-KEYWORD,umeng,REJECT
- DOMAIN-KEYWORD,usage,REJECT
- DOMAIN-SUFFIX,vungle.com,REJECT
- DOMAIN-KEYWORD,wlmonitor,REJECT
- DOMAIN-KEYWORD,zjtoolbar,REJECT
@ -264,7 +225,6 @@ rules:
- DOMAIN-SUFFIX,abpchina.org,SELECT
- DOMAIN-SUFFIX,adblockplus.org,SELECT
- DOMAIN-SUFFIX,adobe.com,SELECT
- DOMAIN-SUFFIX,akamaized.net,SELECT
- DOMAIN-SUFFIX,alfredapp.com,SELECT
- DOMAIN-SUFFIX,amplitude.com,SELECT
- DOMAIN-SUFFIX,ampproject.org,SELECT
@ -532,38 +492,18 @@ rules:
# Telegram
- DOMAIN-SUFFIX,telegra.ph,SELECT
- DOMAIN-SUFFIX,telegram.org,SELECT
- IP-CIDR,91.108.4.0/22,SELECT,no-resolve
- IP-CIDR,91.108.8.0/21,SELECT,no-resolve
- IP-CIDR,91.108.8.0/22,SELECT,no-resolve
- IP-CIDR,91.108.12.0/22,SELECT,no-resolve
- IP-CIDR,91.108.16.0/22,SELECT,no-resolve
- IP-CIDR,91.108.56.0/22,SELECT,no-resolve
- IP-CIDR,149.154.160.0/20,SELECT,no-resolve
- IP-CIDR6,2001:67c:4e8::/48,SELECT,no-resolve
- IP-CIDR6,2001:b28:f23d::/48,SELECT,no-resolve
- IP-CIDR6,2001:b28:f23f::/48,SELECT,no-resolve
# Google 中国服务 services.googleapis.cn
- IP-CIDR,120.232.181.162/32,SELECT,no-resolve
- IP-CIDR,120.241.147.226/32,SELECT,no-resolve
- IP-CIDR,120.253.253.226/32,SELECT,no-resolve
- IP-CIDR,120.253.255.162/32,SELECT,no-resolve
- IP-CIDR,120.253.255.34/32,SELECT,no-resolve
- IP-CIDR,120.253.255.98/32,SELECT,no-resolve
- IP-CIDR,180.163.150.162/32,SELECT,no-resolve
- IP-CIDR,180.163.150.34/32,SELECT,no-resolve
- IP-CIDR,180.163.151.162/32,SELECT,no-resolve
- IP-CIDR,180.163.151.34/32,SELECT,no-resolve
- IP-CIDR,203.208.39.0/24,SELECT,no-resolve
- IP-CIDR,203.208.40.0/24,SELECT,no-resolve
- IP-CIDR,203.208.41.0/24,SELECT,no-resolve
- IP-CIDR,203.208.43.0/24,SELECT,no-resolve
- IP-CIDR,203.208.50.0/24,SELECT,no-resolve
- IP-CIDR,220.181.174.162/32,SELECT,no-resolve
- IP-CIDR,220.181.174.226/32,SELECT,no-resolve
- IP-CIDR,220.181.174.34/32,SELECT,no-resolve
- IP-CIDR,149.154.160.0/22,SELECT,no-resolve
- IP-CIDR,149.154.164.0/22,SELECT,no-resolve
- IP-CIDR,149.154.168.0/22,SELECT,no-resolve
- IP-CIDR,149.154.172.0/22,SELECT,no-resolve
# LAN
- DOMAIN,injections.adguard.org,DIRECT
- DOMAIN,local.adguard.org,DIRECT
- DOMAIN-SUFFIX,local,DIRECT
- IP-CIDR,127.0.0.0/8,DIRECT
- IP-CIDR,172.16.0.0/12,DIRECT
@ -571,8 +511,6 @@ rules:
- IP-CIDR,10.0.0.0/8,DIRECT
- IP-CIDR,17.0.0.0/8,DIRECT
- IP-CIDR,100.64.0.0/10,DIRECT
- IP-CIDR,224.0.0.0/4,DIRECT
- IP-CIDR6,fe80::/10,DIRECT
# 最终规则
- GEOIP,CN,DIRECT