mirror of
https://github.com/Johnshall/Shadowrocket-ADBlock-Rules-Forever.git
synced 2025-12-17 07:18:33 +08:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# Best Shadowrocket Rules (https://github.com/Johnshall/Shadowrocket-ADBlock-Rules-Forever)
|
|
# by Moshel and Johnshall
|
|
# build time: UTC 2023-06-11 23:01:56
|
|
|
|
[General]
|
|
# 默认关闭 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
|
|
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://doh.pub/dns-query, https://dns.alidns.com/dns-query
|
|
[Rule]
|
|
#
|
|
# 国内外划分,对中国网站代理,外国网站直连。提供给海外华侨使用。
|
|
#
|
|
# 不包含广告过滤
|
|
#
|
|
|
|
DOMAIN-SUFFIX,cn,proxy
|
|
|
|
GEOIP,CN,proxy
|
|
|
|
FINAL,DIRECT
|
|
|
|
[URL Rewrite]
|
|
^https?://(www.)?(g|google)\.cn https://www.google.com 302
|
|
|
|
|
|
[MITM]
|
|
hostname = *.google.cn,*.googlevideo.com
|
|
|
|
# Made with Love from https://github.com/Johnshall/Shadowrocket-ADBlock-Rules-Forever
|