-
Notifications
You must be signed in to change notification settings - Fork 3
/
default-PROXY.conf
40 lines (36 loc) · 1.39 KB
/
default-PROXY.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Shadowrocket: 2023-10-01 15:30:0
[General]
bypass-system = true
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.0/8, 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, 233.252.0.0/24, 255.255.255.255/32
dns-server = 1.1.1.1:853, 1.0.0.1:853
fallback-dns-server = system
always-real-ip = *.apple.com,*.icloud.com
ipv6 = true
prefer-ipv6 = false
dns-fallback-system = false
dns-direct-system = false
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]
# DEFAULT
DST-PORT,123,DIRECT
DST-PORT,5223,DIRECT
IP-CIDR,0.0.0.0/32,REJECT-DROP
# RuleSets
DOMAIN-SET,https://cdn.jsdelivr.net/gh/harmonsir/Shadowrocket-rules@main/ruleset-ocsp.conf,DIRECT
RULE-SET,https://cdn.jsdelivr.net/gh/harmonsir/Shadowrocket-rules@main/ruleset-v2fly-cn.conf,DIRECT
# China
GEOIP,CN,DIRECT
# Final
FINAL,PROXY
[Host]
localhost = 127.0.0.1
[URL Rewrite]
^https?://(www.)?g.cn https://www.google.com 302
^https?://(www.)?google.cn https://www.google.com 302