diff --git a/VMess-TCP-TLS/config_client.json b/VMess-TCP-TLS/config_client.json index 957a3fd..7c6b734 100644 --- a/VMess-TCP-TLS/config_client.json +++ b/VMess-TCP-TLS/config_client.json @@ -1,106 +1,67 @@ { - "dns": { - "servers": [ - "8.8.8.8", - "8.8.4.4", - "localhost" - ] - }, - "inbound": { - "listen": "0.0.0.0", - "port": 1080, - "protocol": "socks", - "settings": { - "auth": "noauth", - "clients": null, - "ip": "127.0.0.1", - "udp": true - }, - "streamSettings": null - }, - "inboundDetour": null, "log": { - "access": "/var/log/v2ray/access.log", - "error": "/var/log/v2ray/error.log", - "loglevel": "info" + "loglevel": "warning" }, - "outbound": { - "mux": { - "enabled": true - }, - "protocol": "vmess", - "settings": { - "vnext": [ - { - "address": "example.domain", - "port": 443, - "users": [ - { - "alterId": 64, - "id": "0cdf8a45-303d-4fed-9780-29aa7f54175e", - "security": "none" - } - ] - } - ] - }, - "streamSettings": { - "kcpSettings": null, - "network": "tcp", - "security": "tls", - "tcpSettings": null, - "tlsSettings": {}, - "wsSettings": null - }, - "tag": "agentout" + "routing": { + "domainStratedy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "tag": "direct" + } + ] }, - "outboundDetour": [ + "inbounds": [ { - "protocol": "freedom", + "listen": "127.0.0.1", + "port": "1080", + "protocol": "socks", "settings": { - "response": null - }, - "tag": "direct" + "auth": "noauth", + "udp": "true", + "ip": "127.0.0.1" + } }, { - "protocol": "blackhole", - "settings": { - "response": { - "type": "http" - } - }, - "tag": "blockout" + "listen": "127.0.0.1", + "port": "1081", + "protocol": "http" } ], - "routing": { - "settings": { - "domainStrategy": "IPIfNonMatch", - "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": "direct", - "port": null, - "type": "field" + "outbounds": [ + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "", + "port": 1234, + "user": [ + { + "id": "", + "alterId": 4, + "security": "none" + } + ] + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "serverName": "example.domain", + "allowInsecure": false } - ] + }, + "tag": "proxy" }, - "strategy": "rules" - } -} \ No newline at end of file + { + "protocol": "freedom", + "tag": "direct" + } + ] +}