Update config_client.json

pull/1/head
Clarence Gui 4 years ago committed by GitHub
parent 66b1c349b6
commit 1391a1d490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,65 +3,53 @@
"loglevel": "warning" "loglevel": "warning"
}, },
"routing": { "routing": {
"domainStratedy": "AsIs", "domainStrategy": "AsIs",
"rules": [ "rules": [
{ {
"type": "field", "type": "field",
"ip": [ "ip": [
"geoip:private" "geoip:private"
], ],
"tag": "direct" "outboundTag": "block"
} }
] ]
}, },
"inbounds": [ "inbounds": [
{ {
"listen": "127.0.0.1", "listen": "0.0.0.0",
"port": "1080", "port": 1234,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": "true",
"ip": "127.0.0.1"
}
},
{
"listen": "127.0.0.1",
"port": "1081",
"protocol": "http"
}
],
"outbounds": [
{
"protocol": "vmess", "protocol": "vmess",
"settings": { "settings": {
"vnext": [ "clients": [
{
"address": "",
"port": 1234,
"user": [
{ {
"id": "", "id": "",
"alterId": 4, "alterId": 4
"security": "none"
}
]
} }
] ],
"disableInsecureEncryption": false
}, },
"streamSettings": { "streamSettings": {
"network": "tcp", "network": "tcp",
"security": "tls", "security": "tls",
"tlsSettings": { "tlsSettings": {
"serverName": "example.domain", "certificates": [
"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"
} }
] ]
} }

Loading…
Cancel
Save