Update config_client.json

This commit is contained in:
Clarence Gui 2020-08-01 21:33:33 +08:00 committed by GitHub
parent 720efb1933
commit 66b1c349b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,106 +1,67 @@
{ {
"dns": { "log": {
"servers": [ "loglevel": "warning"
"8.8.8.8", },
"8.8.4.4", "routing": {
"localhost" "domainStratedy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"tag": "direct"
}
] ]
}, },
"inbound": { "inbounds": [
"listen": "0.0.0.0",
"port": 1080,
"protocol": "socks",
"settings": {
"auth": "noauth",
"clients": null,
"ip": "127.0.0.1",
"udp": true
},
"streamSettings": null
},
"inboundDetour": null,
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "info"
},
"outbound": {
"mux": {
"enabled": true
},
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "example.domain",
"port": 443,
"users": [
{
"alterId": 64,
"id": "0cdf8a45-303d-4fed-9780-29aa7f54175e",
"security": "none"
}
]
}
]
},
"streamSettings": {
"kcpSettings": null,
"network": "tcp",
"security": "tls",
"tcpSettings": null,
"tlsSettings": {},
"wsSettings": null
},
"tag": "agentout"
},
"outboundDetour": [
{ {
"protocol": "freedom", "listen": "127.0.0.1",
"port": "1080",
"protocol": "socks",
"settings": { "settings": {
"response": null "auth": "noauth",
}, "udp": "true",
"tag": "direct" "ip": "127.0.0.1"
}
}, },
{ {
"protocol": "blackhole", "listen": "127.0.0.1",
"settings": { "port": "1081",
"response": { "protocol": "http"
"type": "http"
}
},
"tag": "blockout"
} }
], ],
"routing": { "outbounds": [
"settings": { {
"domainStrategy": "IPIfNonMatch", "protocol": "vmess",
"rules": [ "settings": {
{ "vnext": [
"domain": null, {
"ip": [ "address": "",
"0.0.0.0/8", "port": 1234,
"10.0.0.0/8", "user": [
"100.64.0.0/10", {
"127.0.0.0/8", "id": "",
"169.254.0.0/16", "alterId": 4,
"172.16.0.0/12", "security": "none"
"192.0.0.0/24", }
"192.0.2.0/24", ]
"192.168.0.0/16", }
"198.18.0.0/15", ]
"198.51.100.0/24", },
"203.0.113.0/24", "streamSettings": {
"::1/128", "network": "tcp",
"fc00::/7", "security": "tls",
"fe80::/10" "tlsSettings": {
], "serverName": "example.domain",
"outboundTag": "direct", "allowInsecure": false
"port": null,
"type": "field"
} }
] },
"tag": "proxy"
}, },
"strategy": "rules" {
} "protocol": "freedom",
} "tag": "direct"
}
]
}