Created
October 5, 2015 17:05
-
-
Save tru2dagame/27a7f84649a5bfbb7b9f to your computer and use it in GitHub Desktop.
Yet another config for Surge.app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[General] | |
# warning, notify, info, verbose | |
loglevel = notify | |
[Proxy] | |
# http, https, socks5 | |
# SSLedge 代理推荐使用 TLS_RSA_WITH_AES_128_GCM_SHA256 Ciphers | |
Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://server/custom.module | |
[Rule] | |
# Block privacy trackers | |
DOMAIN-KEYWORD,umeng.co,REJECT | |
DOMAIN-SUFFIX,log.mmstat.com,REJECT | |
DOMAIN-SUFFIX,doubleclick.net,REJECT | |
DOMAIN-SUFFIX,monitor.uu.qq.com,REJECT | |
DOMAIN-SUFFIX,beacon.qq.com,REJECT | |
DOMAIN-SUFFIX,pingma.qq.com,REJECT | |
DOMAIN-SUFFIX,tajs.qq.com,REJECT | |
DOMAIN-SUFFIX,flurry.com,REJECT | |
DOMAIN-KEYWORD,google-analytics,REJECT | |
# Accelerate most visited sites | |
DOMAIN-SUFFIX,cn,DIRECT | |
DOMAIN-SUFFIX,qq.com,DIRECT | |
DOMAIN-KEYWORD,alipay,DIRECT | |
DOMAIN-KEYWORD,taobao,DIRECT | |
DOMAIN-KEYWORD,baidu,DIRECT | |
DOMAIN-KEYWORD,360buy,DIRECT | |
DOMAIN-SUFFIX,163.com,DIRECT | |
DOMAIN-SUFFIX,ls.apple.com,DIRECT | |
DOMAIN-SUFFIX,apple.com,Proxy | |
DOMAIN-SUFFIX,icloud.com,Proxy | |
DOMAIN-SUFFIX,mzstatic.com,Proxy | |
DOMAIN-KEYWORD,aka,Proxy | |
# Force some domains which are fucked by GFW while resolving DNS | |
DOMAIN-KEYWORD,google,Proxy,tcp-force | |
DOMAIN-KEYWORD,facebook,Proxy,tcp-force | |
DOMAIN-KEYWORD,youtube,Proxy,tcp-force | |
DOMAIN-KEYWORD,twitter,Proxy,tcp-force | |
DOMAIN-KEYWORD,gmail,Proxy,tcp-force | |
# Fix incorrect GeopIP data | |
DOMAIN-SUFFIX,twimg.com,Proxy | |
# Workaround for some apps | |
DOMAIN-KEYWORD,instagram,Proxy,tcp-force | |
# Telegram | |
IP-CIDR,91.108.56.0/22,Proxy,tcp-force | |
IP-CIDR,91.108.4.0/22,Proxy,tcp-force | |
IP-CIDR,109.239.140.0/24,Proxy,tcp-force | |
IP-CIDR,149.154.160.0/20,Proxy,tcp-force | |
# LAN, debugging rules should 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 | |
GEOIP,CN,DIRECT | |
FINAL,Proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment