Skip to content

Remnawave Integration

Remnawave supports two ways to apply HTTP response headers to subscription profiles.

In the Remnawave admin panel, open Subscription → Settings → Response Headers. Add any headers there — they will be returned to all clients on every subscription fetch.

For External Squads, headers are configured per squad: Users → External Squads → Headers.

Method 2 — Per-App via Response Rules (Prizrak-Box specific)

Section titled “Method 2 — Per-App via Response Rules (Prizrak-Box specific)”

Response Rules let you apply headers only when the request comes from a specific client, identified by the User-Agent header. This way you can send Prizrak-Box–specific settings without affecting other apps.

Go to Subscription → Response Rules and create a new rule. Place it at the top of the list to ensure priority.

Use the following JSON as a template — it covers all headers supported by Prizrak-Box:

{
"name": "Prizrak-Box",
"description": "Headers for Prizrak-Box clients",
"enabled": true,
"operator": "AND",
"conditions": [
{
"headerName": "user-agent",
"operator": "CONTAINS",
"value": "Clash-Meta/Prizrak-Box (",
"caseSensitive": false
}
],
"responseType": "MIHOMO",
"responseModifications": {
"headers": [
{
"key": "profile-logo",
"value": "https://example.com/logo.png"
},
{
"key": "announce-url",
"value": "https://t.me/your_channel"
},
{
"key": "fallback-domain",
"value": "backup.example.com"
},
{
"key": "pxa-latency-dots",
"value": "1"
},
{
"key": "pxa-simple-mode",
"value": "1"
},
{
"key": "pxa-global-mode-mp",
"value": "1"
},
{
"key": "pxa-conns-view-mp",
"value": "1"
},
{
"key": "pxa-rp-mp",
"value": "1"
}
]
}
}

Remove the headers you don’t need. For a full description of each header see Supported Headers.


To deliver a fully custom Mihomo config to Prizrak-Box clients — for example, one with the Smart proxy group — specify a subscriptionTemplate in the Response Rule:

{
"name": "Prizrak-Box Smart Template",
"description": "Custom Mihomo template with Smart proxy group for Prizrak-Box",
"enabled": true,
"operator": "AND",
"conditions": [
{
"headerName": "user-agent",
"operator": "CONTAINS",
"value": "Clash-Meta/Prizrak-Box (",
"caseSensitive": false
}
],
"responseType": "MIHOMO",
"responseModifications": {
"subscriptionTemplate": "SmartPrizrak"
}
}

The subscriptionTemplate value (SmartPrizrak in the example) must match the name of a template configured in your Remnawave panel.

For details on the Smart proxy group type and its configuration parameters, see Smart Proxy Group.


Remnawave can encrypt the Mihomo config with age before delivering it to Prizrak-Box. Only the client that holds the matching secret key can decrypt and apply the config.

For a complete setup guide — key generation, Remnawave response rule configuration, and Prizrak-Box client setup — see AGE Encryption.


4. Remnawave-Specific Mihomo Keys for Subscription Templates

Section titled “4. Remnawave-Specific Mihomo Keys for Subscription Templates”

Remnawave supports special keys that extend the standard Mihomo configuration and are available inside subscription templates. These keys allow fine-grained control over proxy groups and providers directly from the template.

Full reference: docs.rw/guides/templates/mihomo