From 36a602b1ca7b06fd8741605156596fa1c81d4367 Mon Sep 17 00:00:00 2001 From: update Date: Sun, 18 May 2025 04:01:38 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20shadowrocket.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shadowrocket.conf | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 shadowrocket.conf diff --git a/shadowrocket.conf b/shadowrocket.conf new file mode 100644 index 0000000..ce91138 --- /dev/null +++ b/shadowrocket.conf @@ -0,0 +1,42 @@ +# Shadowrocket: 2025-05-09 23:02:45 +[General] +hijack-dns = 8.8.8.8:53,8.8.4.4:53 +bypass-system = true +skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local, captive.apple.com +tun-excluded-routes = 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.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 255.255.255.255/32, 239.255.255.250/32 +dns-server = https://1.1.1.1/dns-query#proxy +fallback-dns-server = https://8.8.8.8/dns-query#proxy,https://1.0.0.1/dns-query#proxy,https://8.8.4.4/dns-query#proxy +ipv6 = true +prefer-ipv6 = false +dns-direct-system = true +icmp-auto-reply = true +always-reject-url-rewrite = false +private-ip-answer = true + +# direct domain fail to resolve use proxy rule +dns-direct-fallback-proxy = true + +# The fallback behavior when UDP traffic matches a policy that doesn't support the UDP relay. Possible values: DIRECT, REJECT. +udp-policy-not-supported-behaviour = REJECT + +[Rule] +DOMAIN-SUFFIX,baidubce.com,PROXY +DOMAIN-SUFFIX,baidu.com,DIRECT +DOMAIN-SUFFIX,bdstatic.com,DIRECT +DOMAIN-SUFFIX,apple.com,DIRECT +DOMAIN-SUFFIX,cdn-apple.com,DIRECT +DOMAIN-SUFFIX,icloud.com,DIRECT +DOMAIN-SUFFIX,taobao.com,DIRECT +DOMAIN-SUFFIX,alibaba.com,DIRECT +DOMAIN-SUFFIX,alicdn.com,DIRECT +DOMAIN-SUFFIX,alipay.com,DIRECT +DOMAIN-SUFFIX,amap.com,DIRECT +DOMAIN-SUFFIX,cn,DIRECT +GEOIP,PRIVATE,DIRECT +GEOIP,CN,DIRECT + +# Final +FINAL,PROXY + +[Host] +localhost = 127.0.0.1