42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
[General]
|
|
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 = h3://d.maye.site/dns-query/shadowrocket
|
|
fallback-dns-server = system
|
|
ipv6 = true
|
|
prefer-ipv6 = false
|
|
dns-direct-system = false
|
|
icmp-auto-reply = true
|
|
always-reject-url-rewrite = false
|
|
private-ip-answer = false
|
|
# 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]
|
|
|
|
# CUSTOM RULE
|
|
DOMAIN-SUFFIX,sankuai.com,DIRECT
|
|
|
|
# LAN
|
|
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
|
|
# China
|
|
GEOIP,CN,DIRECT
|
|
GEOSITE,CN,DIRECT
|
|
# > China ASN List
|
|
RULE-SET,https://raw.githubusercontent.com/missuo/ASN-China/main/ASN.China.list,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
|