From 609ec59cdbddb745be026c42f9c14514ef4007c3 Mon Sep 17 00:00:00 2001 From: spectreq666 Date: Tue, 7 Jul 2026 01:56:23 +0300 Subject: [PATCH 1/5] feat(hy2-gecko): add template for hy2 gecko obfuscation --- .../xray-core/example-hysteria2-gecko.json | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 by-spectreq/xray-core/example-hysteria2-gecko.json diff --git a/by-spectreq/xray-core/example-hysteria2-gecko.json b/by-spectreq/xray-core/example-hysteria2-gecko.json new file mode 100644 index 0000000..d820cd2 --- /dev/null +++ b/by-spectreq/xray-core/example-hysteria2-gecko.json @@ -0,0 +1,75 @@ +{ + "log": { + "loglevel": "warning" + }, + "inbounds": [ + { + "tag": "HYSTERIA_GECKO", + "port": 443, + "listen": "0.0.0.0", + "protocol": "hysteria", + "settings": { + "clients": [], + "version": 2 + }, + "streamSettings": { + "network": "hysteria", + "security": "tls", + "finalmask": { + "udp": [ + { + "type": "salamander", + "settings": { + "password": "#REPLACE WITH YOUR PASSWORD. ANY PASSPHRASE", + "packetSize": "900-1400" + } + } + ], + "quicParams": { + "debug": false, + "congestion": "bbr" + } + }, + "tlsSettings": { + "alpn": ["h3"], + "serverName": "#REPLACE WITH YOUR SERVER NAME, EXAMPLE: example.com", + "certificates": [ + { + "keyFile": "#PLACE YOUR SSL CERTIFICATE KEY FILE INSIDE REMNAWAVE PANEL, EXAMPLE: /var/lib/remnawave/configs/xray/ssl/cert.key", + "certificateFile": "#PLACE YOUR SSL CERTIFICATE FILE INSIDE REMNAWAVE PANEL, EXAMPLE: /var/lib/remnawave/configs/xray/ssl/cert.pem" + } + ] + }, + "hysteriaSettings": { + "version": 2 + } + } + } + ], + "outbounds": [ + { + "tag": "DIRECT", + "protocol": "freedom" + }, + { + "tag": "BLOCK", + "protocol": "blackhole" + } + ], + "routing": { + "rules": [ + { + "ip": ["geoip:private"], + "outboundTag": "BLOCK" + }, + { + "domain": ["geosite:private"], + "outboundTag": "BLOCK" + }, + { + "protocol": ["bittorrent"], + "outboundTag": "BLOCK" + } + ] + } +} From b462dd3f514e68054f0f93c31e33acf8269df0e5 Mon Sep 17 00:00:00 2001 From: spectreq666 Date: Tue, 7 Jul 2026 02:09:18 +0300 Subject: [PATCH 2/5] feat(hy2-gecko): update templates list --- xray-core-templates-list.json | 132 ++++++++++++++++++---------------- 1 file changed, 69 insertions(+), 63 deletions(-) diff --git a/xray-core-templates-list.json b/xray-core-templates-list.json index 9b528f7..407280e 100644 --- a/xray-core-templates-list.json +++ b/xray-core-templates-list.json @@ -1,65 +1,71 @@ { - "$schema": "./templates-list.schema.json", - "templates": [ - { - "name": "Default Xray Core config", - "author": "remnawave", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/remnawave-default/xray-core/config.json" - }, - { - "name": "Example VLESS-TCP-REALITY config", - "author": "unknown", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-tcp-reality.json" - }, - { - "name": "Example VLESS-SELFSTEAL-WITH-NGINX config", - "author": "unknown", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-selfsteal-with-nginx.json" - }, - { - "name": "Example Server Routing: VLESS IN → VLESS OUT", - "author": "ikitkatt", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-vless-to-vless-with-server-routing.json" - }, - { - "name": "Example Vless Encryption", - "author": "ikitkatt", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-vless-tcp-enc.json" - }, - { - "name": "Example Hysteria-BBR config (2.7.0+)", - "author": "ikitkatt", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-hysteria-bbr.json" - }, - { - "name": "Example Shadowsocks-2022 config (2.7.0+)", - "author": "ikitkatt", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-shadowsocks-2022.json" - }, - { - "name": "Example Server Routing: VLESS IN → SS OUT", - "author": "unknown", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-to-ss-with-server-routing.json" - }, - { - "name": "Example VLESS-TCP-TLS config", - "author": "unknown", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-tcp-tls.json" - }, - { - "name": "Example VLESS TLS AND HY2 config", - "author": "x1roko", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-x1roko/xray-core/example-vless-tls-hy2-443-combo.json" - } - ] + "$schema": "./templates-list.schema.json", + "templates": [ + { + "name": "Default Xray Core config", + "author": "remnawave", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/remnawave-default/xray-core/config.json" + }, + { + "name": "Example VLESS-TCP-REALITY config", + "author": "unknown", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-tcp-reality.json" + }, + { + "name": "Example VLESS-SELFSTEAL-WITH-NGINX config", + "author": "unknown", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-selfsteal-with-nginx.json" + }, + { + "name": "Example Server Routing: VLESS IN → VLESS OUT", + "author": "ikitkatt", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-vless-to-vless-with-server-routing.json" + }, + { + "name": "Example Vless Encryption", + "author": "ikitkatt", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-vless-tcp-enc.json" + }, + { + "name": "Example Hysteria-BBR config (2.7.0+)", + "author": "ikitkatt", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-hysteria-bbr.json" + }, + { + "name": "Example Shadowsocks-2022 config (2.7.0+)", + "author": "ikitkatt", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-shadowsocks-2022.json" + }, + { + "name": "Example Server Routing: VLESS IN → SS OUT", + "author": "unknown", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-to-ss-with-server-routing.json" + }, + { + "name": "Example VLESS-TCP-TLS config", + "author": "unknown", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-tcp-tls.json" + }, + { + "name": "Example VLESS TLS AND HY2 config", + "author": "x1roko", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-x1roko/xray-core/example-vless-tls-hy2-443-combo.json" + }, + { + "name": "Example Hysteria2 Gecko", + "author": "spectreq", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-spectreq/xray-core/example-hysteria2-gecko.json" + } + ] } From b567cf7f2a1cb9bff9e8d1f17dcf669dc96a7767 Mon Sep 17 00:00:00 2001 From: spectreq666 Date: Tue, 7 Jul 2026 02:14:33 +0300 Subject: [PATCH 3/5] fix(template-list): fix json --- xray-core-templates-list.json | 138 +++++++++++++++++----------------- 1 file changed, 69 insertions(+), 69 deletions(-) diff --git a/xray-core-templates-list.json b/xray-core-templates-list.json index 407280e..30eea41 100644 --- a/xray-core-templates-list.json +++ b/xray-core-templates-list.json @@ -1,71 +1,71 @@ { - "$schema": "./templates-list.schema.json", - "templates": [ - { - "name": "Default Xray Core config", - "author": "remnawave", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/remnawave-default/xray-core/config.json" - }, - { - "name": "Example VLESS-TCP-REALITY config", - "author": "unknown", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-tcp-reality.json" - }, - { - "name": "Example VLESS-SELFSTEAL-WITH-NGINX config", - "author": "unknown", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-selfsteal-with-nginx.json" - }, - { - "name": "Example Server Routing: VLESS IN → VLESS OUT", - "author": "ikitkatt", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-vless-to-vless-with-server-routing.json" - }, - { - "name": "Example Vless Encryption", - "author": "ikitkatt", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-vless-tcp-enc.json" - }, - { - "name": "Example Hysteria-BBR config (2.7.0+)", - "author": "ikitkatt", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-hysteria-bbr.json" - }, - { - "name": "Example Shadowsocks-2022 config (2.7.0+)", - "author": "ikitkatt", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-shadowsocks-2022.json" - }, - { - "name": "Example Server Routing: VLESS IN → SS OUT", - "author": "unknown", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-to-ss-with-server-routing.json" - }, - { - "name": "Example VLESS-TCP-TLS config", - "author": "unknown", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-tcp-tls.json" - }, - { - "name": "Example VLESS TLS AND HY2 config", - "author": "x1roko", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-x1roko/xray-core/example-vless-tls-hy2-443-combo.json" - }, - { - "name": "Example Hysteria2 Gecko", - "author": "spectreq", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-spectreq/xray-core/example-hysteria2-gecko.json" - } - ] + "$schema": "./templates-list.schema.json", + "templates": [ + { + "name": "Default Xray Core config", + "author": "remnawave", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/remnawave-default/xray-core/config.json" + }, + { + "name": "Example VLESS-TCP-REALITY config", + "author": "unknown", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-tcp-reality.json" + }, + { + "name": "Example VLESS-SELFSTEAL-WITH-NGINX config", + "author": "unknown", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-selfsteal-with-nginx.json" + }, + { + "name": "Example Server Routing: VLESS IN → VLESS OUT", + "author": "ikitkatt", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-vless-to-vless-with-server-routing.json" + }, + { + "name": "Example Vless Encryption", + "author": "ikitkatt", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-vless-tcp-enc.json" + }, + { + "name": "Example Hysteria-BBR config (2.7.0+)", + "author": "ikitkatt", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-hysteria-bbr.json" + }, + { + "name": "Example Shadowsocks-2022 config (2.7.0+)", + "author": "ikitkatt", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-ikitkatt/xray-core/example-shadowsocks-2022.json" + }, + { + "name": "Example Server Routing: VLESS IN → SS OUT", + "author": "unknown", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-to-ss-with-server-routing.json" + }, + { + "name": "Example VLESS-TCP-TLS config", + "author": "unknown", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-unknown/xray-core/example-vless-tcp-tls.json" + }, + { + "name": "Example VLESS TLS AND HY2 config", + "author": "x1roko", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-x1roko/xray-core/example-vless-tls-hy2-443-combo.json" + }, + { + "name": "Example Hysteria2 Gecko", + "author": "spectreq", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-spectreq/xray-core/example-hysteria2-gecko.json" + } + ] } From 4bf039fb254ac5e80a9c58066e6e8bef2137f036 Mon Sep 17 00:00:00 2001 From: Alexey Malinin <47284109+spectreq666@users.noreply.github.com> Date: Tue, 7 Jul 2026 02:16:50 +0300 Subject: [PATCH 4/5] fix(template-list): fix json --- xray-core-templates-list.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xray-core-templates-list.json b/xray-core-templates-list.json index 30eea41..05cabff 100644 --- a/xray-core-templates-list.json +++ b/xray-core-templates-list.json @@ -61,11 +61,11 @@ "type": "XRAY_JSON", "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-x1roko/xray-core/example-vless-tls-hy2-443-combo.json" }, - { - "name": "Example Hysteria2 Gecko", - "author": "spectreq", - "type": "XRAY_JSON", - "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-spectreq/xray-core/example-hysteria2-gecko.json" - } + { + "name": "Example Hysteria2 Gecko", + "author": "spectreq", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-spectreq/xray-core/example-hysteria2-gecko.json" + } ] } From 5d395ed466a6f897e006976ba09dd55ff7b8a6da Mon Sep 17 00:00:00 2001 From: Alexey Malinin <47284109+spectreq666@users.noreply.github.com> Date: Tue, 7 Jul 2026 02:18:58 +0300 Subject: [PATCH 5/5] fix(template-json): correct json routing syntax --- by-spectreq/xray-core/example-hysteria2-gecko.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/by-spectreq/xray-core/example-hysteria2-gecko.json b/by-spectreq/xray-core/example-hysteria2-gecko.json index d820cd2..0e37d2d 100644 --- a/by-spectreq/xray-core/example-hysteria2-gecko.json +++ b/by-spectreq/xray-core/example-hysteria2-gecko.json @@ -59,15 +59,21 @@ "routing": { "rules": [ { - "ip": ["geoip:private"], + "ip": [ + "geoip:private" + ], "outboundTag": "BLOCK" }, { - "domain": ["geosite:private"], + "domain": [ + "geosite:private" + ], "outboundTag": "BLOCK" }, { - "protocol": ["bittorrent"], + "protocol": [ + "bittorrent" + ], "outboundTag": "BLOCK" } ]