From 4035ebc871f8998f39d659656fa2cd0b4c4b71d0 Mon Sep 17 00:00:00 2001 From: yunshu <33997505+hello-yunshu@users.noreply.github.com> Date: Fri, 6 Dec 2024 07:58:55 +0800 Subject: [PATCH] RESLITY Revert "RESLITY" This reverts commit 45e2e1aee1858c956b9fe95010b0a7e8c93df03b. Create config.json Update config.json Update config.json --- VLESS_reality/config.json | 119 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 VLESS_reality/config.json diff --git a/VLESS_reality/config.json b/VLESS_reality/config.json new file mode 100644 index 0000000..28a8141 --- /dev/null +++ b/VLESS_reality/config.json @@ -0,0 +1,119 @@ +{ + "log": { + "access": "/var/log/xray/access.log", + "error": "/var/log/xray/error.log", + "loglevel": "warning" + }, + "inbounds": [ + { + "port": 9443, + "listen": "0.0.0.0", + "protocol": "VLESS", + "tag": "VLESS-XTLS-in", + "settings": { + "clients": [ + { + "id": "UUID", + "flow": "xtls-rprx-vision", + "level": 0, + "email": "me@idleleo.com" + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "tcp", + "security": "reality", + "realitySettings": { + "target": "example.com:443", + "serverNames": ["example.com"], + "privateKey": "privateKey", + "shortIds": ["shortIds"] + } + } + }, + { + "port": 10086, + "listen": "127.0.0.1", + "tag": "VLESS-ws-in", + "protocol": "VLESS", + "settings": { + "clients": [ + { + "id": "UUID", + "level": 0, + "email": "ws@idleleo.com" + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "ws", + "security": "none", + "wsSettings": { + "path": "/websocket" + } + } + }, + { + "port": 10087, + "listen": "127.0.0.1", + "tag": "VLESS-gRPC-in", + "protocol": "VLESS", + "settings": { + "clients": [ + { + "id": "UUID", + "level": 0, + "email": "me@idleleo.com" + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "grpc", + "security": "none", + "grpcSettings": { + "serviceName": "grpc", + "multiMode": true, + "idle_timeout": 20 + } + } + } + ], + "outbounds": [ + { + "protocol": "freedom", + "tag": "direct" + }, + { + "protocol": "blackhole", + "tag": "blocked" + } + ], + "dns": { + "servers": [ + "8.8.8.8", + "8.8.4.4", + "1.1.1.1", + "1.0.0.1", + "localhost", + "https+local://dns.google/dns-query", + "https+local://1.1.1.1/dns-query" + ] + }, + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "inboundTag": [ + "VLESS-XTLS-in", + "VLESS-ws-in", + "VLESS-gRPC-in" + ], + "outboundTag": "direct" + } + ] + } +} \ No newline at end of file