Update config_client.json

This commit is contained in:
Clarence Gui 2020-08-01 21:38:40 +08:00 committed by GitHub
parent 08c55ea4bb
commit 74de6626e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,111 +1,73 @@
{ {
"outbound": { "log": {
"streamSettings": { "loglevel": "warning"
"network": "ws",
"kcpSettings": null,
"wsSettings": {
"headers": {
"host": "example.domain"
}, },
"path": "" "routing": {
"domainStratedy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"tag": "direct"
}
]
}, },
"tcpSettings": null, "inbounds": [
"tlsSettings": {}, {
"security": "tls" "listen": "127.0.0.1",
"port": "1080",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": "true",
"ip": "127.0.0.1"
}
}, },
"tag": "agentout", {
"listen": "127.0.0.1",
"port": "1081",
"protocol": "http"
}
],
"outbounds": [
{
"protocol": "vmess", "protocol": "vmess",
"mux": {
"enabled": true
},
"settings": { "settings": {
"vnext": [ "vnext": [
{ {
"users": [ "address": "",
"port": 1234,
"user": [
{ {
"alterId": 100, "id": "",
"security": "aes-128-gcm", "alterId": 4,
"id": "0cdf8a45-303d-4fed-9780-29aa7f54175e" "security": "none"
}
],
"port": 443,
"address": "example.domain"
} }
] ]
} }
]
}, },
"log": { "streamSettings": {
"access": "", "network": "ws",
"loglevel": "info", "wsSettings": {
"error": "" "path": "",
"headers": {
"Host": "example.domain"
}
},
"security": "tls",
"tlsSettings": {
"serverName": "example.domain",
"allowInsecure": false
}
},
"tag": "proxy"
}, },
"outboundDetour": [
{ {
"tag": "direct",
"protocol": "freedom", "protocol": "freedom",
"settings": { "tag": "direct"
"response": null
} }
},
{
"tag": "blockout",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
}
],
"inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
}
],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
] ]
}
} }