Commit d21a6aff authored by Max Lv's avatar Max Lv

bypass google video

parent a4975f50
...@@ -317,6 +317,11 @@ class ShadowsocksNatService extends Service with BaseService { ...@@ -317,6 +317,11 @@ class ShadowsocksNatService extends Service with BaseService {
+ DNS_PORT) + DNS_PORT)
} }
if (config.isGFWList) { if (config.isGFWList) {
// Bypass Google Video
init_sb.append(cmd_bypass.replace("0.0.0.0", "74.125.0.0/16"))
init_sb.append(cmd_bypass.replace("0.0.0.0", "173.194.0.0/16"))
val chn_list: Array[String] = getResources.getStringArray(R.array.chn_list) val chn_list: Array[String] = getResources.getStringArray(R.array.chn_list)
for (item <- chn_list) { for (item <- chn_list) {
init_sb.append(cmd_bypass.replace("0.0.0.0", item)) init_sb.append(cmd_bypass.replace("0.0.0.0", item))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment