[SERVER]

[SOURCE]

[BACKUP-SERVER]

[PROJECTION]

[DNS]
// DNS

[URL-REJECTION]
// URL

// Google_Service_HTTPS_Jump
^https?://(www.)?g.cn https://www.google.com 302
^https?://(www.)?google.cn https://www.google.com 302

// Anti_ISP_JD_Hijack
^https?://coupon.m.jd.com/ https://coupon.m.jd.com/ 302
^https?://h5.m.jd.com/ https://h5.m.jd.com/ 302
^https?://item.m.jd.com/ https://item.m.jd.com/ 302
^https?://m.jd.com https://m.jd.com 302
^https?://newcz.m.jd.com/ https://newcz.m.jd.com/ 302
^https?://p.m.jd.com/ https://p.m.jd.com/ 302
^https?://so.m.jd.com/ https://so.m.jd.com/ 302
^https?://union.click.jd.com/jda? http://union.click.jd.com/jda?adblock= header
^https?://union.click.jd.com/sem.php? http://union.click.jd.com/sem.php?adblock= header
^https?://www.jd.com/ https://www.jd.com/ 302

// Anti_ISP_Taobao_Hijack
^https?://m.taobao.com/ https://m.taobao.com/ 302

// Wiki
^https?://.+.(m.)?wikipedia.org/wiki http://www.wikiwand.com/en 302
^https?://zh.(m.)?wikipedia.org/(zh-hans|zh-sg|zh-cn|zh(?=/)) http://www.wikiwand.com/zh 302
^https?://zh.(m.)?wikipedia.org/zh-[a-zA-Z]{2,} http://www.wikiwand.com/zh-hant 302

// Other
^https?://cfg.m.ttkvod.com/mobile/ttk_mobile_1.8.txt http://ogtre5vp0.bkt.clouddn.com/Static/TXT/ttk_mobile_1.8.txt header
^https?://cnzz.com/ http://ogtre5vp0.bkt.clouddn.com/background.png? header
^https?://issuecdn.baidupcs.com/issue/netdisk/guanggao/ http://ogtre5vp0.bkt.clouddn.com/background.png? header
^https?://m.qu.la/stylewap/js/wap.js http://ogtre5vp0.bkt.clouddn.com/qu_la_wap.js 302
^https?://m.yhd.com/1/? http://m.yhd.com/1/?adbock= 302
^https?://n.mark.letv.com/m3u8api/ http://burpsuite.applinzi.com/Interface header
^https?://sqimg.qq.com/ https://sqimg.qq.com/ 302
^https?://static.m.ttkvod.com/static_cahce/index/index.txt http://ogtre5vp0.bkt.clouddn.com/Static/TXT/index.txt header
^https?://www.iqshw.com/d/js/m http://burpsuite.applinzi.com/Interface header
^https?://www.iqshw.com/d/js/m http://rewrite.websocket.site:10/Other/Static/JS/Package.js? header

# URL REJECT

[TCP]
// Custom



# Apple

URL-REGEX,apple.com/cn,🍎 Only

PROCESS-NAME,trustd,🍎 Only

USER-AGENT,%E5%9C%B0%E5%9B%BE*,🍎 Only
USER-AGENT,%E8%AE%BE%E7%BD%AE*,🍎 Only
USER-AGENT,AppStore*,🍎 Only
USER-AGENT,com.apple.appstored*,🍎 Only
USER-AGENT,com.apple.Mobile*,🍎 Only
USER-AGENT,com.apple.geod*,🍎 Only
USER-AGENT,com.apple.Maps*,🍎 Only
USER-AGENT,com.apple.trustd/*,🍎 Only
USER-AGENT,FindMyFriends*,🍎 Only
USER-AGENT,FMDClient*,🍎 Only
USER-AGENT,FMFD*,🍎 Only
USER-AGENT,fmflocatord*,🍎 Only
USER-AGENT,geod*,🍎 Only
USER-AGENT,i?unes*,🍎 Only
USER-AGENT,locationd*,🍎 Only
USER-AGENT,MacAppStore*,🍎 Only
USER-AGENT,Maps*,🍎 Only
USER-AGENT,MobileAsset*,🍎 Only
USER-AGENT,Watch*,🍎 Only
USER-AGENT,$%7BPRODUCT*,🍎 Only
USER-AGENT,Music*,🍎 Only
USER-AGENT,?arsecd*,🍎 Only
USER-AGENT,securityd*,🍎 Only
USER-AGENT,server-bag*,🍎 Only
USER-AGENT,Settings*,🍎 Only
USER-AGENT,Software%20Update*,🍎 Only
USER-AGENT,SyncedDefaults*,🍎 Only
USER-AGENT,passd*,🍎 Only
USER-AGENT,swcd*,🍎 Only
USER-AGENT,trustd*,🍎 Only

DOMAIN,support.apple.com,🍎 Only
DOMAIN,smp-device-content.apple.com,🍎 Only
DOMAIN,osxapps.itunes.apple.com,🍎 Only
DOMAIN,metrics.apple.com,🍎 Only
DOMAIN,iosapps.itunes.apple.com,🍎 Only
DOMAIN,init.itunes.apple.com,🍎 Only
DOMAIN,images.apple.com,🍎 Only
DOMAIN,idmsa.apple.com,🍎 Only
DOMAIN,guzzoni.apple.com,🍎 Only
DOMAIN,configuration.apple.com,🍎 Only
DOMAIN,captive.apple.com,🍎 Only
DOMAIN,appleiphonecell.com,🍎 Only
DOMAIN,appleid.apple.com,🍎 Only
DOMAIN,swscan.apple.com,🍎 Only
DOMAIN,swdist.apple.com,🍎 Only
DOMAIN,swquery.apple.com,🍎 Only
DOMAIN,swdownload.apple.com,🍎 Only
DOMAIN,swcdn.apple.com,🍎 Only
DOMAIN-SUFFIX,akadns.net,🍎 Only
DOMAIN-SUFFIX,cdn-apple.com,🍎 Only
DOMAIN-SUFFIX,ess.apple.com,🍎 Only
DOMAIN-SUFFIX,lookup-api.apple.com,🍎 Only
DOMAIN-SUFFIX,ls.apple.com,🍎 Only
DOMAIN-SUFFIX,mzstatic.com,🍎 Only
DOMAIN-SUFFIX,push.apple.com,🍎 Only
DOMAIN-SUFFIX,siri.apple.com,🍎 Only
DOMAIN-SUFFIX,aaplimg.com,🍎 Only
DOMAIN-SUFFIX,apple.co,🍎 Only
DOMAIN-SUFFIX,apple.com,🍎 Only
DOMAIN-SUFFIX,icloud-content.com,🍎 Only
DOMAIN-SUFFIX,icloud.com,🍎 Only
DOMAIN-SUFFIX,itunes.apple.com,🍎 Only
DOMAIN-SUFFIX,itunes.com,🍎 Only
DOMAIN-SUFFIX,me.com,🍎 Only


# REJECT



# PROXY



# DIRECT



DOMAIN-SUFFIX,cn,🍂 Domestic

// Accelerate direct sites
DOMAIN-KEYWORD,torrent,🍂 Domestic

// Force some domains which are fucked by GFW while resolving DNS,or do not respect the system Proxy
DOMAIN-KEYWORD,appledaily,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,blogspot,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,dropbox,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,google,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,spotify,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,telegram,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,whatsapp,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,appspot.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,cdninstagram.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,facebook.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,facebook.design,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,fb.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,fb.me,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,fbcdn.net,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,gmail.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,instagram.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,scdn.co,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,t.co,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,twimg.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,twitpic.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,twitter.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,youtube.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,youtube-nocookie.com,🍃 Proxy,force-remote-dns

// LAN,debugging rules should place above this line
IP-CIDR,10.0.0.0/8,DIRECT
IP-CIDR,100.64.0.0/10,DIRECT
IP-CIDR,127.0.0.0/8,DIRECT
IP-CIDR,172.16.0.0/12,DIRECT
IP-CIDR,192.168.0.0/16,DIRECT

// Detect local network
GEOIP,CN,🍂 Domestic
// Use Proxy for all others
FINAL,🍃 Proxy

[GLOBAL]

[HOST]
// Host

localhost = 127.0.0.1
syria.sy = 127.0.0.1

thisisinsider.com = server:8.8.4.4

onedrive.live.com = 204.79.197.217
skyapi.onedrive.live.com = 131.253.14.230

[STATE]
STATE,AUTO

[MITM]
// hostname
