Update config_server.json

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

View File

@ -1,86 +1,55 @@
{ {
"dns": null,
"inbound": {
"listen": null,
"port": 443,
"protocol": "vmess",
"settings": {
"auth": null,
"clients": [
{
"alterId": 64,
"id": "e2b39869-7e9e-411b-a561-00904419bed9",
"security": "none"
}
],
"ip": null,
"udp": true
},
"streamSettings": {
"kcpSettings": null,
"network": "tcp",
"security": "tls",
"tcpSettings": null,
"tlsSettings": {
"certificates": [
{
"certificateFile": "/path/to/example.domain/fullchain.cer",
"keyFile": "/path/to/example.domain.key"
}
]
},
"wsSettings": null
}
},
"inboundDetour": null,
"log": { "log": {
"access": "/var/log/v2ray/access.log", "loglevel": "warning"
"error": "/var/log/v2ray/error.log",
"loglevel": "info"
}, },
"outbound": { "routing": {
"mux": null, "domainStrategy": "AsIs",
"protocol": "freedom", "rules": [
"settings": null, {
"streamSettings": null, "type": "field",
"tag": null "ip": [
"geoip:private"
],
"outboundTag": "block"
}
]
}, },
"outboundDetour": [ "inbounds": [
{ {
"protocol": "blackhole", "listen": "0.0.0.0",
"settings": null, "port": 1234,
"tag": "blocked" "protocol": "vmess",
"settings": {
"clients": [
{
"id": "",
"alterId": 4
}
],
"disableInsecureEncryption": false
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"certificates": [
{
"certificateFile": "/path/to/certificate.crt",
"keyFile": "/path/to/key.key"
}
]
}
}
} }
], ],
"routing": { "outbounds": [
"settings": { {
"domainStrategy": null, "protocol": "freedom",
"rules": [ "tag": "direct"
{
"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": "blocked",
"port": null,
"type": "field"
}
]
}, },
"strategy": "rules" {
} "protocol": "blackhole",
} "tag": "block"
}
]
}