Update config_client.json

This commit is contained in:
Clarence Gui 2020-08-01 21:43:29 +08:00 committed by GitHub
parent e97438a9d0
commit f586460bd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,28 +2,47 @@
"log": { "log": {
"loglevel": "warning" "loglevel": "warning"
}, },
"inbound": { "routing": {
"port": 6789, "domainStratedy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"tag": "direct"
}
]
},
"inbounds": [
{
"listen": "127.0.0.1", "listen": "127.0.0.1",
"port": "1080",
"protocol": "socks", "protocol": "socks",
"settings": { "settings": {
"auth": "noauth", "auth": "noauth",
"udp": false, "udp": "true",
"ip": "127.0.0.1" "ip": "127.0.0.1"
} }
}, },
"outbound": { {
"listen": "127.0.0.1",
"port": "1081",
"protocol": "http"
}
],
"outbounds": [
{
"protocol": "socks", "protocol": "socks",
"settings": { "settings": {
"servers": [ "server": [
{ {
"address": "you server", "address": "",
"port": 443, "port": 1234,
"users": [ "users": [
{ {
"user": "hello", "user": "",
"pass": "3.1415", "pass": ""
"level": 0
} }
] ]
} }
@ -31,7 +50,17 @@
}, },
"streamSettings": { "streamSettings": {
"network": "tcp", "network": "tcp",
"security": "tls" "security": "tls",
"tlsSettings": {
"serverName": "example.domain",
"allowInsecure": false
} }
},
"tag": "proxy"
},
{
"protocol": "freedom",
"tag": "direct"
} }
]
} }