From bae351f22a1c7ba4022bc7d9a92db204d90eabed Mon Sep 17 00:00:00 2001 From: Milinda Brantini Date: Mon, 26 Aug 2024 22:17:10 +0800 Subject: [PATCH] chore(resources): Optimize general config (#331) Signed-off-by: Milinda Brantini --- factory/template/sr_adb.txt | 3 +++ factory/template/sr_head.txt | 6 +++--- factory/template/sr_proxy_banad.txt | 3 +++ factory/template/sr_top500_whitelist.txt | 3 +++ factory/template/sr_top500_whitelist_ad.txt | 3 +++ 5 files changed, 15 insertions(+), 3 deletions(-) diff --git a/factory/template/sr_adb.txt b/factory/template/sr_adb.txt index a29eb50..62706c6 100644 --- a/factory/template/sr_adb.txt +++ b/factory/template/sr_adb.txt @@ -23,5 +23,8 @@ 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,fe80::/10,DIRECT +IP-CIDR,fc00::/7,DIRECT +IP-CIDR,::1/128,DIRECT FINAL,direct diff --git a/factory/template/sr_head.txt b/factory/template/sr_head.txt index 2163595..a475e47 100644 --- a/factory/template/sr_head.txt +++ b/factory/template/sr_head.txt @@ -6,7 +6,7 @@ # 默认关闭 ipv6 支持,如果需要请手动开启 ipv6 = false bypass-system = true -skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local, e.crashlytics.com, captive.apple.com, sequoia.apple.com, seed-sequoia.siri.apple.com -bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32 -dns-server = https://1.12.12.12/dns-query, https://223.5.5.5/dns-query +skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, fe80::/10, fc00::/7, localhost, *.local, *.lan, *.internal, e.crashlytics.com, captive.apple.com, sequoia.apple.com, seed-sequoia.siri.apple.com +bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,233.252.0.0/24,224.0.0.0/4,255.255.255.255/32,::1/128,::ffff:0:0/96,::ffff:0:0:0/96,64:ff9b::/96,64:ff9b:1::/48,100::/64,2001::/32,2001:20::/28,2001:db8::/32,2002::/16,3fff::/20,5f00::/16,fc00::/7,fe80::/10,ff00::/8 +dns-server = https://dns.alidns.com/dns-query, https://doh.pub/dns-query [Rule] diff --git a/factory/template/sr_proxy_banad.txt b/factory/template/sr_proxy_banad.txt index 3cbda63..8e68f33 100644 --- a/factory/template/sr_proxy_banad.txt +++ b/factory/template/sr_proxy_banad.txt @@ -12,5 +12,8 @@ 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,fe80::/10,DIRECT +IP-CIDR,fc00::/7,DIRECT +IP-CIDR,::1/128,DIRECT FINAL,proxy diff --git a/factory/template/sr_top500_whitelist.txt b/factory/template/sr_top500_whitelist.txt index a10aed5..b52593a 100644 --- a/factory/template/sr_top500_whitelist.txt +++ b/factory/template/sr_top500_whitelist.txt @@ -18,6 +18,9 @@ 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,fe80::/10,DIRECT +IP-CIDR,fc00::/7,DIRECT +IP-CIDR,::1/128,DIRECT RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/AppleNews/AppleNews.list,PROXY diff --git a/factory/template/sr_top500_whitelist_ad.txt b/factory/template/sr_top500_whitelist_ad.txt index 76c2cb9..333301a 100644 --- a/factory/template/sr_top500_whitelist_ad.txt +++ b/factory/template/sr_top500_whitelist_ad.txt @@ -22,6 +22,9 @@ 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,fe80::/10,DIRECT +IP-CIDR,fc00::/7,DIRECT +IP-CIDR,::1/128,DIRECT RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/AppleNews/AppleNews.list,PROXY