diff --git a/Trojan-TCP-XTLS/config_server.json b/Trojan-TCP-XTLS/config_server.json new file mode 100644 index 0000000..2774150 --- /dev/null +++ b/Trojan-TCP-XTLS/config_server.json @@ -0,0 +1,62 @@ +{ + "log": { + "loglevel": "warning" + }, + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "outboundTag": "block" + } + ] + }, + "inbounds": [ + { + "port": 443, + "protocol": "trojan", + "settings": { + "clients": [ + { + "password": "", + "flow": "xtls-rprx-direct" + } + ], + "fallbacks": [ + { + "dest": "8001" + }, + { + "alpn": "h2", + "dest": "8002" + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "xtls", + "xtlsSettings": { + "certificates": [ + { + "certificateFile": "", + "keyFile": "" + } + ] + } + } + } + ], + "outbounds": [ + { + "protocol": "freedom", + "tag": "direct" + }, + { + "protocol": "blackhole", + "tag": "block" + } + ] +}