From a45a00b47a500e833a7428e9fd732d99cf8c47f2 Mon Sep 17 00:00:00 2001 From: chika0801 <88967758+chika0801@users.noreply.github.com> Date: Wed, 2 Nov 2022 22:58:18 +0800 Subject: [PATCH] Create config_client.json --- VLESS-TCP-XTLS-Vision/config_client.json | 88 ++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 VLESS-TCP-XTLS-Vision/config_client.json diff --git a/VLESS-TCP-XTLS-Vision/config_client.json b/VLESS-TCP-XTLS-Vision/config_client.json new file mode 100644 index 0000000..65f90d1 --- /dev/null +++ b/VLESS-TCP-XTLS-Vision/config_client.json @@ -0,0 +1,88 @@ +{ + "log": { + "loglevel": "warning" + }, + "routing": { + "domainStrategy": "IPIfNonMatch", + "rules": [ + { + "type": "field", + "domain": [ + "geosite:tld-cn", + "geosite:cn" + ], + "outboundTag": "direct" + }, + { + "type": "field", + "ip": [ + "geoip:cn", + "geoip:private" + ], + "outboundTag": "direct" + } + ] + }, + "inbounds": [ + { + "listen": "127.0.0.1", + "port": 10808, + "protocol": "socks", + "settings": { + "udp": true + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + } + }, + { + "listen": "127.0.0.1", + "port": 10809, + "protocol": "http", + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + } + } + ], + "outbounds": [ + { + "protocol": "vless", + "settings": { + "vnext": [ + { + "address": "", // VPS的IP + "port": 16387, // 端口 + "users": [ + { + "id": "", // 用户ID + "encryption": "none", + "flow": "xtls-rprx-vision" + } + ] + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "serverName": "", // 证书中包含的域名 + "allowInsecure": false + } + }, + "tag": "proxy" + }, + { + "protocol": "freedom", + "tag": "direct" + } + ] +}