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,43 +1,48 @@
{ {
"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, "listen": "127.0.0.1",
"port": "1080",
"protocol": "socks", "protocol": "socks",
"settings": { "settings": {
"auth": "noauth", "auth": "noauth",
"clients": null, "udp": "true",
"ip": "127.0.0.1", "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
}, },
{
"listen": "127.0.0.1",
"port": "1081",
"protocol": "http"
}
],
"outbounds": [
{
"protocol": "vmess", "protocol": "vmess",
"settings": { "settings": {
"vnext": [ "vnext": [
{ {
"address": "example.domain", "address": "",
"port": 443, "port": 1234,
"users": [ "user": [
{ {
"alterId": 64, "id": "",
"id": "0cdf8a45-303d-4fed-9780-29aa7f54175e", "alterId": 4,
"security": "none" "security": "none"
} }
] ]
@ -45,62 +50,18 @@
] ]
}, },
"streamSettings": { "streamSettings": {
"kcpSettings": null,
"network": "tcp", "network": "tcp",
"security": "tls", "security": "tls",
"tcpSettings": null, "tlsSettings": {
"tlsSettings": {}, "serverName": "example.domain",
"wsSettings": null "allowInsecure": false
}
}, },
"tag": "agentout" "tag": "proxy"
}, },
"outboundDetour": [
{ {
"protocol": "freedom", "protocol": "freedom",
"settings": {
"response": null
},
"tag": "direct" "tag": "direct"
},
{
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
},
"tag": "blockout"
}
],
"routing": {
"settings": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"domain": null,
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"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",
"::1/128",
"fc00::/7",
"fe80::/10"
],
"outboundTag": "direct",
"port": null,
"type": "field"
} }
] ]
},
"strategy": "rules"
}
} }