-
-
Save noscripter/41fd207807fd6164b582 to your computer and use it in GitHub Desktop.
Revisions
-
janlay revised this gist
Oct 20, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -32,6 +32,7 @@ DOMAIN-KEYWORD,umeng.co,REJECT DOMAIN-KEYWORD,flurry.co,REJECT DOMAIN-SUFFIX,mmstat.com,REJECT DOMAIN-SUFFIX,doubleclick.net,REJECT DOMAIN-SUFFIX,youmi.net,REJECT DOMAIN,monitor.uu.qq.com,REJECT DOMAIN-SUFFIX,beacon.qq.com,REJECT DOMAIN,pingma.qq.com,REJECT -
janlay revised this gist
Oct 20, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. # This file depends on the main.conf which defines your own proxy. # Your main.conf will look like this: # ---- START ---- # #!PROXY-OVERRIDE:rules.conf -
janlay revised this gist
Oct 20, 2015 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. # NOTE: This file only contains rules and depends on main.conf which defines your own proxy. # Your main.conf will look like this: # ---- START ---- # #!PROXY-OVERRIDE:rules.conf @@ -12,8 +12,8 @@ [General] loglevel = warning 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 # stub proxy to stop surge complaining, leave this. @@ -80,7 +80,7 @@ IP-CIDR,149.154.160.0/20,Proxy,no-resolve # 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.0.0.0/8,DIRECT IP-CIDR,127.0.0.0/8,DIRECT # Detect local network -
janlay revised this gist
Oct 14, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. # NOTE: This file depends on the main.conf which defines your own proxy. # Your main.conf will look like this: # ---- START ---- # #!PROXY-OVERRIDE:rules.conf -
janlay revised this gist
Oct 14, 2015 . 1 changed file with 10 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,17 +4,22 @@ # Your main.conf will look like this: # ---- START ---- # #!PROXY-OVERRIDE:rules.conf # [Proxy] # Proxy = https,server.address,port,username,password # ---- END ---- # # Make sure the PROXY-OVERRIDE line included in the main.conf [General] loglevel = warning skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local, e.crashlytics.com bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 dns-server = 119.29.29.29, 223.5.5.5, 114.114.114.114 # stub proxy to stop surge complaining, leave this. [Proxy] Proxy = https,1.2.3.4,1234 [Rule] # Accelerate most visited sites, part 1 DOMAIN-SUFFIX,cn,DIRECT -
janlay revised this gist
Oct 13, 2015 . 1 changed file with 9 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,18 +2,18 @@ # NOTE: This file only contains rules and depends on main.conf which defines your own proxy. # Your main.conf will look like this: # ---- START ---- # #!PROXY-OVERRIDE:rules.conf # [General] # loglevel = warning # all-tcp-mode = false # bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 # # [Proxy] # Proxy = https,server.address,port,username,password # ---- END ---- # # Make sure the PROXY-OVERRIDE line included in the main.conf [Rule] # Accelerate most visited sites, part 1 -
janlay renamed this gist
Oct 13, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ # Proxy = https,server.address,port,username,password # # Make sure this line included in the main.conf # #!PROXY-OVERRIDE:rules.conf # Surge will support updating conf sometime in the future #!UPDATE-URL:https://gist.github.com/janlay/b57476c72a93b7e622a6/raw -
janlay revised this gist
Oct 12, 2015 . 1 changed file with 11 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,22 +1,24 @@ # This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. # NOTE: This file only contains rules and depends on main.conf which defines your own proxy. # Your main.conf will look like this: # [Proxy] # Proxy = https,server.address,port,username,password # # Make sure this line included in the main.conf # #!PROXY-OVERRIDE:this-file.conf # Surge will support updating conf sometime in the future #!UPDATE-URL:https://gist.github.com/janlay/b57476c72a93b7e622a6/raw # stub proxy to stop surge complaining, leave this. [Proxy] Proxy = https,1.2.3.4,443,user,pass [Rule] # Accelerate most visited sites, part 1 DOMAIN-SUFFIX,cn,DIRECT DOMAIN-KEYWORD,ali,DIRECT DOMAIN-KEYWORD,taobao,DIRECT DOMAIN-KEYWORD,baidu,DIRECT -
janlay revised this gist
Oct 12, 2015 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,13 @@ # This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. # NOTE: this config requires Surge.app build 235 or newer version. # Surge will support updating conf sometime in the future #!UPDATE-URL:https://gist.github.com/janlay/b57476c72a93b7e622a6/raw [General] # warning, notify, info, verbose loglevel = warning bypass-tun = 192.168.0.1/16, 10.0.0.0/8, 172.16.0.0/12 [Proxy] # http, https, socks5, custom -
janlay revised this gist
Oct 10, 2015 . 1 changed file with 25 additions and 22 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ # This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. # NOTE: this config requires Surge.app build 230 or newer version. # Surge will support updating conf sometime in the future #!UPDATE-URL:https://gist.github.com/janlay/b57476c72a93b7e622a6/raw @@ -8,37 +9,39 @@ loglevel = warning # bypass HTTP persistent connections bypass = e.crashlytics.com [Proxy] # http, https, socks5, custom Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://server/custom.module [Rule] # Accelerate most visited sites, part 1 DOMAIN-SUFFIX,cn,DIRECT DOMAIN-KEYWORD,alipay,DIRECT DOMAIN-KEYWORD,taobao,DIRECT DOMAIN-KEYWORD,baidu,DIRECT # Block privacy tracker within apps DOMAIN-KEYWORD,umeng.co,REJECT DOMAIN-KEYWORD,flurry.co,REJECT DOMAIN-SUFFIX,mmstat.com,REJECT DOMAIN-SUFFIX,doubleclick.net,REJECT DOMAIN,monitor.uu.qq.com,REJECT DOMAIN-SUFFIX,beacon.qq.com,REJECT DOMAIN,pingma.qq.com,REJECT DOMAIN,stat.m.jd.com,REJECT DOMAIN,ads.mopub.com,REJECT DOMAIN-SUFFIX,cnzz.com,REJECT DOMAIN-SUFFIX,mob.com,REJECT # prevent sniffer from a public WiFi DOMAIN,init.icloud-analysis.com,REJECT # Accelerate most visited sites, part 2 DOMAIN-KEYWORD,360,DIRECT DOMAIN-SUFFIX,qq.com,DIRECT DOMAIN-SUFFIX,jd.com,DIRECT DOMAIN-SUFFIX,163.com,DIRECT DOMAIN-SUFFIX,126.net,DIRECT DOMAIN-SUFFIX,netnease.com,DIRECT DOMAIN-SUFFIX,gtimg.com,DIRECT DOMAIN-SUFFIX,ls.apple.com,DIRECT @@ -51,22 +54,22 @@ DOMAIN-KEYWORD,aka,Proxy DOMAIN-KEYWORD,sohu,DIRECT DOMAIN-KEYWORD,qiyi,DIRECT # Force some domains which are fucked by GFW while resolving DNS DOMAIN-KEYWORD,google,Proxy,force-remote-dns DOMAIN-KEYWORD,facebook,Proxy,force-remote-dns DOMAIN-KEYWORD,youtube,Proxy,force-remote-dns DOMAIN-KEYWORD,twitter,Proxy,force-remote-dns DOMAIN-SUFFIX,twimg.com,Proxy,force-remote-dns DOMAIN-KEYWORD,gmail,Proxy,force-remote-dns # Workaround for some apps # Instagram DOMAIN-KEYWORD,instagram,Proxy,force-remote-dns # Telegram IP-CIDR,91.108.56.0/22,Proxy,no-resolve IP-CIDR,91.108.4.0/22,Proxy,no-resolve IP-CIDR,109.239.140.0/24,Proxy,no-resolve IP-CIDR,149.154.160.0/20,Proxy,no-resolve # LAN, debugging rules should place above this line IP-CIDR,192.168.0.0/16,DIRECT -
janlay revised this gist
Oct 8, 2015 . 1 changed file with 8 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,9 +8,12 @@ loglevel = warning # bypass HTTP persistent connections bypass = e.crashlytics.com # an experimental option all-tcp-mode = false [Proxy] # http, https, socks5, custom Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://server/custom.module [Rule] @@ -21,9 +24,11 @@ DOMAIN-SUFFIX,mmstat.com,REJECT DOMAIN-SUFFIX,doubleclick.net,REJECT DOMAIN-SUFFIX,monitor.uu.qq.com,REJECT DOMAIN-SUFFIX,beacon.qq.com,REJECT DOMAIN,pingma.qq.com,REJECT DOMAIN,stat.m.jd.com,REJECT DOMAIN-SUFFIX,cnzz.com,REJECT DOMAIN-SUFFIX,mob.com,REJECT DOMAIN,init.icloud-analysis.com,REJECT # Accelerate most visited sites DOMAIN-SUFFIX,cn,DIRECT -
janlay revised this gist
Oct 7, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ [General] # warning, notify, info, verbose loglevel = warning # bypass HTTP persistent connections bypass = e.crashlytics.com -
janlay revised this gist
Oct 7, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. # Surge will support updating conf sometime in the future #!UPDATE-URL:https://gist.github.com/janlay/b57476c72a93b7e622a6/raw [General] -
janlay revised this gist
Oct 7, 2015 . 1 changed file with 13 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,8 @@ # This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. # Surge will support update conf sometime in the future #!UPDATE-URL:https://gist.github.com/janlay/b57476c72a93b7e622a6/raw [General] # warning, notify, info, verbose loglevel = notify @@ -20,6 +23,7 @@ DOMAIN-SUFFIX,monitor.uu.qq.com,REJECT DOMAIN-SUFFIX,beacon.qq.com,REJECT DOMAIN-SUFFIX,pingma.qq.com,REJECT DOMAIN-SUFFIX,stat.m.jd.com,REJECT DOMAIN-SUFFIX,cnzz.com,REJECT # Accelerate most visited sites DOMAIN-SUFFIX,cn,DIRECT @@ -31,12 +35,17 @@ DOMAIN-KEYWORD,360buy,DIRECT DOMAIN-SUFFIX,jd.com,DIRECT DOMAIN-SUFFIX,163.com,DIRECT DOMAIN-SUFFIX,netnease.com,DIRECT DOMAIN-SUFFIX,gtimg.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 # Streaming services, comment out if you don't need DOMAIN-KEYWORD,sohu,DIRECT DOMAIN-KEYWORD,qiyi,DIRECT # Force some domains which are fucked by GFW while resolving DNS, or don't respect the system proxy DOMAIN-KEYWORD,google,Proxy,tcp-force DOMAIN-KEYWORD,facebook,Proxy,tcp-force @@ -55,12 +64,10 @@ IP-CIDR,109.239.140.0/24,Proxy,tcp-force IP-CIDR,149.154.160.0/20,Proxy,tcp-force # 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 -
janlay revised this gist
Oct 5, 2015 . 1 changed file with 7 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,19 +3,23 @@ [General] # warning, notify, info, verbose loglevel = notify # bypass HTTP persistent connections bypass = e.crashlytics.com [Proxy] # http, https, socks5 Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://server/custom.module [Rule] # Block privacy tracker within apps DOMAIN-KEYWORD,umeng.co,REJECT DOMAIN-KEYWORD,flurry.co,REJECT DOMAIN-SUFFIX,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,stat.m.jd.com,REJECT # Accelerate most visited sites DOMAIN-SUFFIX,cn,DIRECT @@ -24,6 +28,7 @@ DOMAIN-KEYWORD,alipay,DIRECT DOMAIN-KEYWORD,taobao,DIRECT DOMAIN-KEYWORD,baidu,DIRECT DOMAIN-KEYWORD,360buy,DIRECT DOMAIN-SUFFIX,jd.com,DIRECT DOMAIN-SUFFIX,163.com,DIRECT DOMAIN-SUFFIX,netnease.com,DIRECT DOMAIN-SUFFIX,ls.apple.com,DIRECT @@ -37,11 +42,9 @@ 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-SUFFIX,twimg.com,Proxy,tcp-force DOMAIN-KEYWORD,gmail,Proxy,tcp-force # Workaround for some apps # Instagram DOMAIN-KEYWORD,instagram,Proxy,tcp-force -
janlay revised this gist
Oct 5, 2015 . 1 changed file with 8 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -23,11 +23,13 @@ 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,netnease.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, or don't respect the system proxy @@ -50,10 +52,12 @@ IP-CIDR,109.239.140.0/24,Proxy,tcp-force IP-CIDR,149.154.160.0/20,Proxy,tcp-force # LAN, debugging rules should place above this line # Uncomment if Bypass Localnet is disabled # IP-CIDR,192.168.0.0/16,DIRECT # IP-CIDR,10.0.0.0/8,DIRECT # IP-CIDR,172.16.0.0/12,DIRECT # Uncomment if Bypass Localhost is disabled # IP-CIDR,127.0.0.0/8,DIRECT # Detect local network GEOIP,CN,DIRECT -
janlay revised this gist
Oct 5, 2015 . 1 changed file with 6 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,7 @@ 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,mmstat.com,REJECT DOMAIN-SUFFIX,doubleclick.net,REJECT DOMAIN-SUFFIX,monitor.uu.qq.com,REJECT DOMAIN-SUFFIX,beacon.qq.com,REJECT @@ -23,11 +23,14 @@ DOMAIN-SUFFIX,qq.com,DIRECT DOMAIN-KEYWORD,alipay,DIRECT DOMAIN-KEYWORD,taobao,DIRECT DOMAIN-KEYWORD,baidu,DIRECT DOMAIN-SUFFIX,163.com,DIRECT DOMAIN-SUFFIX,netnease.com,DIRECT DOMAIN-SUFFIX,ls.apple.com,DIRECT DOMAIN-SUFFIX,apple.com,Proxy DOMAIN-SUFFIX,icloud.com,Proxy DOMAIN-KEYWORD,aka,Proxy # Force some domains which are fucked by GFW while resolving DNS, or don't respect the system proxy DOMAIN-KEYWORD,google,Proxy,tcp-force DOMAIN-KEYWORD,facebook,Proxy,tcp-force DOMAIN-KEYWORD,youtube,Proxy,tcp-force @@ -46,7 +49,7 @@ 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 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 -
janlay revised this gist
Oct 4, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. [General] # warning, notify, info, verbose loglevel = notify @@ -25,7 +27,7 @@ DOMAIN-SUFFIX,ls.apple.com,DIRECT DOMAIN-SUFFIX,apple.com,Proxy DOMAIN-SUFFIX,icloud.com,Proxy # Force some domains which are fucked by GFW while resolving DNS, or apps don't respect the system proxy DOMAIN-KEYWORD,google,Proxy,tcp-force DOMAIN-KEYWORD,facebook,Proxy,tcp-force DOMAIN-KEYWORD,youtube,Proxy,tcp-force -
janlay revised this gist
Oct 4, 2015 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,7 @@ DOMAIN-SUFFIX,pingma.qq.com,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-SUFFIX,ls.apple.com,DIRECT @@ -49,8 +49,6 @@ 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 -
janlay revised this gist
Oct 4, 2015 . 1 changed file with 11 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,27 +10,31 @@ Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://server/custom.module # 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 # Accelerate most visited sites DOMAIN-SUFFIX,cn,DIRECT DOMAIN-SUFFIX,qq.com,DIRECT DOMAIN-KEYWORD,ali,DIRECT DOMAIN-KEYWORD,taobao,DIRECT DOMAIN-KEYWORD,baidu,DIRECT DOMAIN-SUFFIX,ls.apple.com,DIRECT DOMAIN-SUFFIX,apple.com,Proxy DOMAIN-SUFFIX,icloud.com,Proxy # Force some domains which are fucked by GFW while resolving DNS, or don't respect the system proxy 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 # Instagram DOMAIN-KEYWORD,instagram,Proxy,tcp-force @@ -45,6 +49,10 @@ 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 # iOS Hotspot IP-CIDR,172.20.0.0/16,DIRECT # Detect local network GEOIP,CN,DIRECT # Use proxy for all others FINAL,Proxy -
janlay revised this gist
Oct 4, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ DOMAIN-SUFFIX,pingma.qq.com,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-SUFFIX,ls.apple.com,DIRECT -
janlay revised this gist
Oct 4, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ loglevel = notify [Proxy] # http, https, socks5 Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://server/custom.module [Rule] # Block privacy trackers -
janlay revised this gist
Oct 4, 2015 . 1 changed file with 7 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,24 +1,28 @@ [General] # warning, notify, info, verbose loglevel = notify [Proxy] # http, https, socks5 Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://surge.run/SSEncrypt.module [Rule] # Block privacy trackers DOMAIN-KEYWORD,umeng.co,REJECT DOMAIN-SUFFIX,log.mmstat.com,REJECT DOMAIN-SUFFIX,monitor.uu.qq.com,REJECT DOMAIN-SUFFIX,beacon.qq.com,REJECT DOMAIN-SUFFIX,pingma.qq.com,REJECT # Accelerate most visited sites DOMAIN-SUFFIX,cn,DIRECT DOMAIN-SUFFIX,qq.com,DIRECT DOMAIN-KEYWORD,ali,DIRECT DOMAIN-KEYWORD,taobao,DIRECT DOMAIN-KEYWORD,baidu,DIRECT DOMAIN-SUFFIX,ls.apple.com,DIRECT DOMAIN-SUFFIX,apple.com,Proxy DOMAIN-SUFFIX,icloud.com,Proxy # Force some domains which are fucked by GFW while resolving DNS DOMAIN-KEYWORD,google,Proxy,tcp-force -
janlay created this gist
Oct 4, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,46 @@ [General] loglevel = notify [Proxy] Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://surge.run/SSEncrypt.module [Rule] # Block privacy trackers DOMAIN-KEYWORD,umeng.co,REJECT DOMAIN-SUFFIX,googleadservices.com,REJECT DOMAIN-SUFFIX,log.mmstat.com,REJECT DOMAIN-SUFFIX,monitor.uu.qq.com,REJECT DOMAIN-SUFFIX,beacon.qq.com,REJECT DOMAIN-SUFFIX,pingma.qq.com,REJECT # Accelerate for local sites DOMAIN-SUFFIX,ls.apple.com,DIRECT DOMAIN-SUFFIX,cn,DIRECT DOMAIN-SUFFIX,qq.com,DIRECT DOMAIN-KEYWORD,ali,DIRECT DOMAIN-KEYWORD,taobao,DIRECT DOMAIN-KEYWORD,baidu,DIRECT # 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 # Workaround for some apps # Instagram 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