Giter VIP home page Giter VIP logo

v2ray's People

Contributors

chendefine avatar cyberblood avatar rprx avatar topjohnwu avatar whalechoi avatar whyou avatar yatsuki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

v2ray's Issues

谷歌浏览器

{
"dns": {
"hosts": {
"domain:googleapis.cn": "googleapis.com"
},
"servers": [
"1.1.1.1",
{
"address": "223.5.5.5",
"domains": [
"geosite:cn"
],
"expectIPs": [
"geoip:cn"
],
"port": 53
}
]
},
"log": {
"access": "none",
"error": "/data/v2ray/run/error.log",
"loglevel": "warn"
},
"inbounds": [{
"port": 65535,
"listen": "0.0.0.0",
"tag": "proxy-inbound",
"protocol": "dokodemo-door",
"settings": {"network": "tcp", "followRedirect": true},
"sniffing": {"enabled": true, "destOverride": ["http", "tls"]}
}],
"outbounds": [

],
"routing": {
"domainMatcher": "mph",
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"ip": [
"1.1.1.1"
],
"outboundTag": "proxy",
"port": "53",
"type": "field"
},
{
"ip": [
"223.5.5.5"
],
"outboundTag": "direct",
"port": "53",
"type": "field"
},
{
"domain": [
"domain:googleapis.cn"
],
"outboundTag": "proxy",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "direct",
"type": "field"
},
{
"ip": [
"geoip:cn"
],
"outboundTag": "direct",
"type": "field"
},
{
"domain": [
"geosite:cn"
],
"outboundTag": "direct",
"type": "field"
}
]
}
}

这个配置用wifi就能谷歌浏览器翻墙,用流量就不能

启动报错:failed to set IP_TRANSPARENT > operation not permitted

问题:

启动该模块后,无法上网

发现问题的过程:

将日志等级设为 info 时,看到该报错信息 failed to set IP_TRANSPARENT > operation not permitted

尝试过的解决方案:

Google找到了该解决方案,但是手机里 /system/bin 目录下并没有setcap,于是使用temux安装了该程序,并按照教程执行了 sudo setcap "cap_net_bind_service=+ep cap_net_admin=+ep" /system/bin/v2ray,报错依旧

配置文件:

{
"log": {
"access": "/data/adb/xray/run/access.log",
"loglevel": "info"
},
"inbounds": [
{
"tag": "proxy-in",
"port": 65535,
"protocol": "dokodemo-door",
"settings": {
"network": "tcp,udp",
"followRedirect": true
},
"streamSettings": {
"sockopt": {
"tproxy": "tproxy"
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"fakedns"
],
"metadataOnly": true
}
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "VLESS",
"settings": {
"vnext": [
{
"address": "256.256.256.256",
"port": 80,
"users": [
{
"id": "Excited!",
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "grpc",
"grpcSettings": {
"serviceName": "Angry",
"multiMode": false
}
}
},
{
"tag": "direct",
"protocol": "freedom"
},
{
"tag": "dns-out",
"protocol": "dns"
}
],
"dns": {
"servers": ["fakedns"],
"tag": "dns",
"queryStrategy": "UseIPv4"
},
"routing": {
"domainMatcher": "mph",
"rules":[
{
"port": 53,
"inboundTag": "proxy-in",
"outboundTag": "dns-out",
"type": "field"
}
]
}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.