From 23282ec6858a655cfb844861e6844d8841f2cfa6 Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:35:55 +0800 Subject: [PATCH] Update config_server.json --- VMess-TCP-TLS/config_server.json | 125 ++++++++++++------------------- 1 file changed, 47 insertions(+), 78 deletions(-) diff --git a/VMess-TCP-TLS/config_server.json b/VMess-TCP-TLS/config_server.json index 673edf3..5c7390f 100644 --- a/VMess-TCP-TLS/config_server.json +++ b/VMess-TCP-TLS/config_server.json @@ -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": { - "access": "/var/log/v2ray/access.log", - "error": "/var/log/v2ray/error.log", - "loglevel": "info" + "loglevel": "warning" }, - "outbound": { - "mux": null, - "protocol": "freedom", - "settings": null, - "streamSettings": null, - "tag": null + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "outboundTag": "block" + } + ] }, - "outboundDetour": [ + "inbounds": [ { - "protocol": "blackhole", - "settings": null, - "tag": "blocked" + "listen": "0.0.0.0", + "port": 1234, + "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": { - "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" - } - ] + "outbounds": [ + { + "protocol": "freedom", + "tag": "direct" }, - "strategy": "rules" - } -} \ No newline at end of file + { + "protocol": "blackhole", + "tag": "block" + } + ] +}