Skip to content

Instantly share code, notes, and snippets.

@summic
Created September 16, 2019 11:46
Show Gist options
  • Save summic/7081b9b5417a473f001db40564623260 to your computer and use it in GitHub Desktop.
Save summic/7081b9b5417a473f001db40564623260 to your computer and use it in GitHub Desktop.
[General]
loglevel = warning
bypass-system = true
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.0.0.0/8, localhost, *.local, e.crashlytics.com
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.0.0.0/8
dns-server = 119.29.29.29, 223.5.5.5, 114.114.114.114
ipv6 = false
allow-wifi-access = false
show-error-page-for-reject = true
hide-crashlytics-request = true
test-timeout = 5
http-listen = 0.0.0.0
socks5-listen = 0.0.0.0
[Replica]
hide-apple-request = true
hide-crashlytics-request = true
hide-udp = false
keyword-filter-type = whitelist
[Proxy]
🇭🇰 HK = ss, 【IP】, 【PORT】, encrypt-method=salsa20, password=【PASSWORD】
🇨🇳 CN = ss, 【IP】, 【PORT】, encrypt-method=salsa20, password=【PASSWORD】
🏄‍♂️ HK = ss, 【IP】, 【PORT】, encrypt-method=chacha20-ietf-poly1305, password=【PASSWORD】
[Proxy Group]
Proxy = fallback, 🏄‍♂️ HK, 🇭🇰 HK, 🇨🇳 CN, url = http://google.com/
公司网络 = ssid, default = DIRECT, cellular = DIRECT, "Staff_wifi" = DIRECT
[Rule]
DOMAIN-SUFFIX,cdninstagram.com,Proxy
DOMAIN-SUFFIX,instagram.com,Proxy
# Block privacy trackers
DOMAIN-KEYWORD,analytics,REJECT
DOMAIN-KEYWORD,traffic,REJECT
DOMAIN-KEYWORD,trace,REJECT
DOMAIN-SUFFIX,mmstat.com,REJECT
DOMAIN,js-agent.newrelic.com,REJECT
DOMAIN,bam.nr-data.net,REJECT
DOMAIN-KEYWORD,umeng.co,REJECT
DOMAIN-SUFFIX,umeng.net,REJECT
DOMAIN,tajs.qq.com,REJECT
DOMAIN,monitor.uu.qq.com,REJECT
DOMAIN-SUFFIX,beacon.qq.com,REJECT
DOMAIN-SUFFIX,report.qq.com,REJECT
DOMAIN-SUFFIX,pingtcss.qq.com,REJECT
DOMAIN,pingma.qq.com,REJECT
DOMAIN,pingjs.qq.com,REJECT
DOMAIN,stat.m.jd.com,REJECT
DOMAIN-SUFFIX,cnzz.com,REJECT
DOMAIN,mtj.baidu.com,REJECT
DOMAIN-SUFFIX,flurry.com,REJECT
DOMAIN-SUFFIX,beacon.sina.com.cn,REJECT
DOMAIN,counter.kingsoft.com,REJECT
# Block Ads servers
DOMAIN-KEYWORD,ads,REJECT
DOMAIN-SUFFIX,googlesyndication.com,REJECT
DOMAIN-SUFFIX,doubleclick.net,REJECT
DOMAIN-SUFFIX,mob.com,REJECT
DOMAIN-SUFFIX,baidustatic.com,REJECT
DOMAIN-SUFFIX,baifendian.com,REJECT
DOMAIN-SUFFIX,acs86.com,REJECT
DOMAIN-SUFFIX,adcome.cn,REJECT
DOMAIN-SUFFIX,adinfuse.com,REJECT
DOMAIN-SUFFIX,adview.cn,REJECT
DOMAIN-SUFFIX,adwhirl.com,REJECT
DOMAIN-SUFFIX,adwo.com,REJECT
DOMAIN-SUFFIX,adchina.com,REJECT
DOMAIN-SUFFIX,aduu.cn,REJECT
DOMAIN-SUFFIX,wiyun.com,REJECT
DOMAIN-SUFFIX,x.jd.com,REJECT
DOMAIN-SUFFIX,youmi.net,REJECT
DOMAIN,sax.sina.cn,REJECT
DOMAIN,adash.m.taobao.com,REJECT
DOMAIN-SUFFIX,simaba.taobao.com,REJECT
DOMAIN-SUFFIX,waps.cn,REJECT
DOMAIN-SUFFIX,wooboo.com.cn,REJECT
DOMAIN-SUFFIX,wqmobile.com,REJECT
DOMAIN-SUFFIX,adcome.cn,REJECT
DOMAIN-SUFFIX,acs86.com,REJECT
DOMAIN-SUFFIX,unimhk.com,REJECT
DOMAIN-SUFFIX,admaster.com.cn,REJECT
DOMAIN-SUFFIX,adxmi.com,REJECT
DOMAIN-SUFFIX,anquan.org,REJECT
DOMAIN-SUFFIX,domob.cn,REJECT
DOMAIN-SUFFIX,domob.org,REJECT
DOMAIN-SUFFIX,inmobi.com,REJECT
DOMAIN-SUFFIX,smartmad.com,REJECT
DOMAIN-SUFFIX,tanx.com,REJECT
DOMAIN-SUFFIX,uyunad.com,REJECT
DOMAIN-SUFFIX,responsys.net,REJECT
DOMAIN-SUFFIX,scorecardresearch.com,REJECT
DOMAIN-SUFFIX,localytics.com,REJECT
DOMAIN-SUFFIX,localytics.com,REJECT
DOMAIN-SUFFIX,atm.youku.com,REJECT
DOMAIN,ad.api.3g.youku.com,REJECT
# Accelerate most visited sites
DOMAIN-SUFFIX,cn,DIRECT
DOMAIN-SUFFIX,qq.com,DIRECT
DOMAIN-KEYWORD,alipay,DIRECT
DOMAIN-SUFFIX,alicdn.com,DIRECT
DOMAIN-SUFFIX,163.com,DIRECT
DOMAIN-SUFFIX,126.net,DIRECT
DOMAIN-SUFFIX,netnease.com,DIRECT
DOMAIN-SUFFIX,gtimg.com,DIRECT
DOMAIN-KEYWORD,akamai,DIRECT
DOMAIN-SUFFIX,amazonaws.com,Proxy
DOMAIN-SUFFIX,cloudfront.net,Proxy
DOMAIN-SUFFIX,fastly.net,Proxy
DOMAIN-SUFFIX,omnigroup.com,Proxy
# Force some domains which are fucked by GFW while resolving DNS, or don't respect the system proxy
DOMAIN-KEYWORD,google,Proxy
DOMAIN-KEYWORD,youtube,Proxy
DOMAIN-KEYWORD,gmail,Proxy
DOMAIN-KEYWORD,blogspot,Proxy
DOMAIN-KEYWORD,twitter,Proxy
DOMAIN-SUFFIX,twimg.com,Proxy
DOMAIN-KEYWORD,facebook,Proxy
DOMAIN-SUFFIX,fbcdn.net,Proxy
DOMAIN-KEYWORD,dropbox,Proxy
# LAN, debugging rules should place above this line
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
# Detect local network
GEOIP,CN,DIRECT
# Use proxy for all others
FINAL,Proxy
[SSID Setting]
"Staff_wifi" suspend=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment