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