Update config_client.json

This commit is contained in:
Clarence Gui 2020-08-01 21:35:19 +08:00 committed by GitHub
parent 1391a1d490
commit df4db1eae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,53 +3,65 @@
"loglevel": "warning" "loglevel": "warning"
}, },
"routing": { "routing": {
"domainStrategy": "AsIs", "domainStratedy": "AsIs",
"rules": [ "rules": [
{ {
"type": "field", "type": "field",
"ip": [ "ip": [
"geoip:private" "geoip:private"
], ],
"outboundTag": "block" "tag": "direct"
} }
] ]
}, },
"inbounds": [ "inbounds": [
{ {
"listen": "0.0.0.0", "listen": "127.0.0.1",
"port": 1234, "port": "1080",
"protocol": "vmess", "protocol": "socks",
"settings": { "settings": {
"clients": [ "auth": "noauth",
"udp": "true",
"ip": "127.0.0.1"
}
},
{ {
"id": "", "listen": "127.0.0.1",
"alterId": 4 "port": "1081",
"protocol": "http"
} }
], ],
"disableInsecureEncryption": false "outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "",
"port": 1234,
"user": [
{
"id": "",
"alterId": 4,
"security": "none"
}
]
}
]
}, },
"streamSettings": { "streamSettings": {
"network": "tcp", "network": "tcp",
"security": "tls", "security": "tls",
"tlsSettings": { "tlsSettings": {
"certificates": [ "serverName": "example.domain",
{ "allowInsecure": false
"certificateFile": "/path/to/certificate.crt",
"keyFile": "/path/to/key.key"
} }
] },
} "tag": "proxy"
} },
}
],
"outbounds": [
{ {
"protocol": "freedom", "protocol": "freedom",
"tag": "direct" "tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
} }
] ]
} }