From ce541866861c55b6bf1b81ddf0b796493b03beba Mon Sep 17 00:00:00 2001 From: OnlyCharacter <49280615+OnlyCharacter@users.noreply.github.com> Date: Tue, 12 Jan 2021 23:32:00 +0800 Subject: [PATCH] Create config_client.json --- Trojan-TCP-XTLS/config_client.json | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Trojan-TCP-XTLS/config_client.json diff --git a/Trojan-TCP-XTLS/config_client.json b/Trojan-TCP-XTLS/config_client.json new file mode 100644 index 0000000..c11f671 --- /dev/null +++ b/Trojan-TCP-XTLS/config_client.json @@ -0,0 +1,48 @@ +{ + "log": { + "loglevel": "debug" + }, + "inbounds": [ + { + "port": 1080, + "listen": "127.0.0.1", + "protocol": "socks", + "settings": { + "udp": true + } + }, + { + "port": 1081, + "protocol": "http", + "sniffing": { + "enabled": true, + "destOverride": ["http", "tls"] + }, + "settings": { + "auth": "noauth" + } + } + ], + "outbounds": [ + { + "protocol": "trojan", + "settings": { + "servers": [ + { + "address": "example.com", //你的域名或服务器IP + "flow": "xtls-rprx-direct", //Linux或安卓可改为"xtls-rprx-splice" + "port": 443, + "password": "your_password" //你的密码 + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "xtls", + "xtlsSettings": { + "serverName": "example.com" //你的域名 + } + } + } + ] +}