Magisk-Modules-Repo / v2ray

v2ray core
336 stars 86 forks source link

无广告版YouTube模块不能连接 #20

Open nocease opened 5 years ago

nocease commented 5 years ago

YouTube Vanced magisk版

nocease commented 5 years ago

好像对系统软件玄学失效。今天发现谷歌商店不能连,其他的都没事

whyou commented 5 years ago

发配置和使用步骤看看?

nocease commented 5 years ago

发配置和使用步骤看看? 感觉配置大致没问题。具体的我也不会。谷歌浏览器YouTube都可以了,只有谷歌商店这样的系统软件不能。也可能是谷歌服务不能? appid.list里面写了个0, config.json里面:

// Config file of V2Ray. This file follows standard JSON format, with comments support. // Uncomment entries below to satisfy your needs. Also read our manual for more detail at // https://www.v2ray.com/ { "log": { // By default, V2Ray writes access log to stdout. // "access": "/path/to/access/log/file",

// By default, V2Ray write error log to stdout.
// "error": "/path/to/error/log/file",
"error": "/data/v2ray/run/error.log",

// Log level, one of "debug", "info", "warning", "error", "none"
"loglevel": "warning"

}, // List of inbound proxy configurations. "inbounds": [{ // Just listen for DNS proxy. "port": 65534,

// Tag of the inbound for DNS proxy routing.
"tag": "dns-in",

// DNS proxy protocol must be dokodemo-door.
"protocol": "dokodemo-door",

// Setting of DNS proxy.
"settings": {
  "port": 53,
  "address": "1.1.1.1",
  "network": "tcp,udp"
}

},{ // Port to listen on. You may need root access if the value is less than 1024. "port": 65535,

// IP address to listen on. Change to "0.0.0.0" to listen on all network interfaces.
"listen": "0.0.0.0",

// Tag of the inbound proxy. May be used for routing.
"tag": "proxy-inbound",

// Protocol name of inbound proxy.
"protocol": "dokodemo-door",

// Settings of the protocol. Varies based on protocol.
"settings": {
  // Disable timeout setting for keeping persistent connection. Such as FCM.   
  //  "timeout": 10,
  "network": "tcp,udp",
  "followRedirect": true
},

// Enable sniffing on TCP connection.
"sniffing": {
  "enabled": true,
  // Target domain will be overriden to the one carried by the connection, if the connection is HTTP or HTTPS.
  "destOverride": ["http", "tls"]
}

}], // List of outbound proxy configurations. "outbounds": [ { "mux": { "enabled": false }, "protocol": "vmess", "settings": { "vnext": [ { "address": "这里是我的ip", "port": 44591, "users": [ { "alterId": 16, "id": "这里是我的alertid", "level": 8, "security": "auto" } ] } ] }, "streamSettings": { "network": "tcp", "security": "" }, "tag": "proxy" }, { "protocol": "freedom", "settings": {}, "tag": "direct" }, { "protocol": "blackhole", "settings": { "response": { "type": "http" } }, "tag": "block" } ], "policy": { "levels": { "8": { "connIdle": 300, "downlinkOnly": 1, "handshake": 4, "uplinkOnly": 1 } }, "system": { "statsInboundUplink": true, "statsInboundDownlink": true } },

// Transport is for global transport settings. If you have multiple transports with same settings // (say mKCP), you may put it here, instead of in each individual inbound/outbounds. //"transport": {},

// Routing controls how traffic from inbounds are sent to outbounds. "routing": { "domainStrategy": "IPOnDemand", "rules":[ { // Proxy DNS request "type": "field", "inboundTag": ["dns-in"], "outboundTag": "dns-out" }, { // Bypass private IPs. "type": "field", "ip": ["geoip:private"], "outboundTag": "direct" }, { // Bypass all china IPs. "type": "field", "ip": ["geoip:cn"], "outboundTag": "direct" }, { // Bypass all china sites. "type": "field", "domain": ["geosite:cn"], "outboundTag": "direct" }, { // Blocks major ads. "type": "field", "domain": ["geosite:category-ads"], "outboundTag": "blocked" } ] },

// Dns settings for domain resolution. "dns": { // Static hosts, similar to hosts file. "hosts": { // Match v2ray.com to another domain on CloudFlare. This domain will be used when querying IPs for v2ray.com. "domain:v2ray.com": "www.vicemc.net",

  // The following settings help to eliminate DNS poisoning in mainland China.
  // It is safe to comment these out if this is not the case for you.
  "domain:github.io": "pages.github.com",
  "domain:wikipedia.org": "www.wikimedia.org",
  "domain:shadowsocks.org": "electronicsrealm.com"
},
"servers": [
  "1.1.1.1",
  "8.8.8.8",
  "9.9.9.9",
  {
    "address": "114.114.114.114",
    "port": 53,
    // List of domains that use this DNS first.
    "domains": [
      "geosite:cn"
    ]
  },
  "localhost"
]

},

// Policy controls some internal behavior of how V2Ray handles connections. // It may be on connection level by user levels in 'levels', or global settings in 'system.' "policy": { // Connection policys by user levels "levels": { "0": { "uplinkOnly": 0, "downlinkOnly": 0 } }, "system": { "statsInboundUplink": false, "statsInboundDownlink": false } },

// Stats enables internal stats counter. // This setting can be used together with Policy and Api. //"stats":{},

// Api enables gRPC APIs for external programs to communicate with V2Ray instance. //"api": { //"tag": "api", //"services": [ // "HandlerService", // "LoggerService", // "StatsService" //] //},

// You may add other entries to the configuration, but they will not be recognized by V2Ray. "other": {} }

Rakau commented 5 years ago

油管APP打开很久才刷出视频,Google Play页面可以正常加载,无法下载,推特刷推效果比上版本好了一些,但延迟依旧比不上路由器和第三方APP的效果来的好

nocease commented 5 years ago

油管APP打开很久才刷出视频,Google Play页面可以正常加载,无法下载,推特刷推效果比上版本好了一些,但延迟依旧比不上路由器和第三方APP的效果来的好

对对对 一样一样