#default config
#Date: 2022.06.01
#Author: Loon

[General]
doh-server = https://cloudflare-dns.com/dns-query
ip-mode = v4-only
disconnect-on-policy-change = true
ipv6 = true
skip-proxy = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,e.crashlynatics.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.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32
dns-server = system,119.29.29.29,223.5.5.5
allow-wifi-access = false
wifi-access-http-port = 7222
wifi-access-socks5-port = 7221
proxy-test-url = http://cp.cloudflare.com/generate_204
internet-test-url = http://wifi.vivo.com.cn/generate_204
test-timeout = 3
interface-mode = balance

[Proxy]

[Remote Proxy]
Clubsim = https://img.digac.icu/sub/clubsim,udp=true,block-quic=true,fast-open=default,vmess-aead=true,skip-cert-verify=true,enabled=true,flexible-sni=true

[Proxy Chain]

[Proxy Group]
Available = select,HK_Filter,TW_Filter,JP_Filter,KR_Filter,US_Filter,SG_Filter,DE_Filter,NG_Filter,FR_Filter,RU_Filter,BR_Filter,IN_Filter,AU_Filter,PK_Filter,RO_Filter,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Available.png
YouTube = select,Available,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/YouTube.png
Telegram = select,Available,url = http://cp.cloudflare.com/generate_204,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Telegram.png
香港 = fallback,HK_Filter,url = http://cp.cloudflare.com/generate_204,interval = 600,max-timeout = 3000,img-url = https://img.digac.icu/image/pngs/hk.png
台湾 = select,TW_Filter,url = http://cp.cloudflare.com/generate_204,img-url = https://img.digac.icu/image/pngs/tw.png
新加坡 = select,SG_Filter,url = http://cp.cloudflare.com/generate_204,img-url = https://img.digac.icu/image/pngs/sg.png
日本 = select,JP_Filter,url = http://cp.cloudflare.com/generate_204,img-url = https://img.digac.icu/image/pngs/jp.png
韩国 = select,KR_Filter,url = http://cp.cloudflare.com/generate_204,img-url = https://img.digac.icu/image/pngs/kr.png
德国 = select,DE_Filter,url = http://cp.cloudflare.com/generate_204,img-url = https://img.digac.icu/image/pngs/de.png
老美 = select,US_Filter,url = http://cp.cloudflare.com/generate_204,img-url = https://img.digac.icu/image/pngs/us.png
尼日利亚 = select,NG_Filter,url = http://cp.cloudflare.com/generate_204,img-url = https://img.digac.icu/image/pngs/ng.png
巴基斯坦 = select,PK_Filter,url = http://cp.cloudflare.com/generate_204,img-url = https://img.digac.icu/image/pngs/pk.png
罗马尼亚 = select,RO_Filter,url = http://cp.cloudflare.com/generate_204,img-url = https://img.digac.icu/image/pngs/ro.png


[Remote Filter]
HK_Filter = NameRegex, FilterKey = "(?i)(港|HK|Hong)"
TW_Filter = NameRegex, FilterKey = "(?i)(台|TW|Tai|高雄)"
JP_Filter = NameRegex, FilterKey = "(?i)(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Japan)"
KR_Filter = NameRegex, FilterKey = "(?i)(KR|Korea|KOR|首尔|韩|韓)"
US_Filter = NameRegex, FilterKey = "(?i)(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States)"
SG_Filter = NameRegex, FilterKey = "(?i)(新加坡|坡|狮城|SG|Singapore)"
DE_Filter = NameRegex, FilterKey = "(?i)(德国|德|DE|Germany)"
NG_Filter = NameRegex, FilterKey = "(?i)(尼日|尼日利亚|尼日尼亚|NG|Nigeria)"
FR_Filter = NameRegex, FilterKey = "(?i)(法国|法|FR|France)"
RU_Filter = NameRegex, FilterKey = "(?i)(俄罗斯|RU|Russia)"
BR_Filter = NameRegex, FilterKey = "(?i)(巴西|BR|Brazil)"
IN_Filter = NameRegex, FilterKey = "(?i)(印度|IN|India)"
AU_Filter = NameRegex, FilterKey = "(?i)(澳大利亚|AU|Australia)"
PK_Filter = NameRegex, FilterKey = "(?i)(巴基斯坦|PK|Pakistan)"
RO_Filter = NameRegex, FilterKey = "(?i)(罗马尼亚|RO|Romania)"

[Rule]
#Type:DOMAIN-SUFFIX,DOMAIN,DOMAIN-KEYWORD,USER-AGENT,URL-REGEX,IP-CIDR
#Strategy:DIRECT,PROXY,REJECT
#Options:no-resolve(only for IP-CIDR,IP-CIDR2,GEOIP,IP-ASN)

GEOIP,cn,DIRECT
FINAL,Available

[Remote Rule]
https://raw.githubusercontent.com/iniwex5/tools/refs/heads/main/rules/UK-wifi-call.list, policy=DIRECT, tag=Ukwificalling, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/YouTube/YouTube.list, policy=YouTube, tag=YouTube, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/Telegram/Telegram.list, policy=Telegram, tag=Telegram, enabled=true
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/Proxy/Proxy.list, policy=Available, tag=Global, enabled=true

[Rewrite]

[Script]

[Plugin]
https://kelee.one/Tool/Loon/Plugin/WPS_checkin.plugin, enabled=true
https://kelee.one/Tool/Loon/Plugin/LoonGallery.plugin, enabled=true
https://raw.githubusercontent.com/deezertidal/private/master/plugallery/GeoLocation.plugin, enabled=true
[Mitm]
ca-p12 = MIIJRQIBAzCCCQ8GCSqGSIb3DQEHAaCCCQAEggj8MIII+DCCA68GCSqGSIb3DQEHBqCCA6AwggOcAgEAMIIDlQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIwGz+7WOSxz0CAggAgIIDaGwFbWsv4Dd9TfFBwtS0DqfWmI7tcxko2/SACmPRNTBUnJUbddGeyuFYvlzt/jnihGWJ7OLugO0BhyO9RrPHKUq86Hqhc+lQ/URo4lXleNPHbjljGDaVaNFJYaPdIxi7IsXRSivOkE8DgpQf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