From 1391a1d4908f46bb72ca1ced9c11f5a33617da0c Mon Sep 17 00:00:00 2001 From: Clarence Gui <55305469+Sanczzg@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:34:07 +0800 Subject: [PATCH] Update config_client.json --- VMess-TCP-TLS/config_client.json | 58 +++++++++++++------------------- 1 file changed, 23 insertions(+), 35 deletions(-) diff --git a/VMess-TCP-TLS/config_client.json b/VMess-TCP-TLS/config_client.json index 7c6b734..5c7390f 100644 --- a/VMess-TCP-TLS/config_client.json +++ b/VMess-TCP-TLS/config_client.json @@ -3,65 +3,53 @@ "loglevel": "warning" }, "routing": { - "domainStratedy": "AsIs", + "domainStrategy": "AsIs", "rules": [ { "type": "field", "ip": [ "geoip:private" ], - "tag": "direct" + "outboundTag": "block" } ] }, "inbounds": [ { - "listen": "127.0.0.1", - "port": "1080", - "protocol": "socks", - "settings": { - "auth": "noauth", - "udp": "true", - "ip": "127.0.0.1" - } - }, - { - "listen": "127.0.0.1", - "port": "1081", - "protocol": "http" - } - ], - "outbounds": [ - { + "listen": "0.0.0.0", + "port": 1234, "protocol": "vmess", "settings": { - "vnext": [ + "clients": [ { - "address": "", - "port": 1234, - "user": [ - { - "id": "", - "alterId": 4, - "security": "none" - } - ] + "id": "", + "alterId": 4 } - ] + ], + "disableInsecureEncryption": false }, "streamSettings": { "network": "tcp", "security": "tls", "tlsSettings": { - "serverName": "example.domain", - "allowInsecure": false + "certificates": [ + { + "certificateFile": "/path/to/certificate.crt", + "keyFile": "/path/to/key.key" + } + ] } - }, - "tag": "proxy" - }, + } + } + ], + "outbounds": [ { "protocol": "freedom", "tag": "direct" + }, + { + "protocol": "blackhole", + "tag": "block" } ] }