Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions by-spectreq/xray-core/example-hysteria2-gecko.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"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"
}
]
}
}
8 changes: 7 additions & 1 deletion xray-core-templates-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@
"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"
}
]
}