Set up Remnawave in 15 minutes
Five steps from license to check. The setup serves both versions at once: 2.2.0 from TestFlight and 2.1.0 from the App Store. Everything uses standard panel features, no forks; checked against Remnawave 2.7.4, 2.8.1, 3.0.0 and 3.4.8.
#What you need
- Remnawave 2.7.3 or later: the rule needs the
applyHeadersToEndandadditionalExtendedClientsRegexfields. 2.2–2.6.0 lack the first one — update the panel. - Access to Subscription Settings (Response Rules and Custom Response Headers) and, if you use squads, to External Squads.
- A license for the subscription domain — step 1. The rule is useful without it too: Wrabbit gets full Xray JSON in one request and server captions.
- For the check —
curland a test user in the panel.
#How Wrabbit gets its response
Response Rules are checked top to bottom, and the first match wins. 2.2.0 identifies itself as Wrabbit/2.2.0: the panel's default rules don't match it, so without its own rule it gets links from “Fallback Base64”. 2.1.0 sends just Wrabbit and doesn't match ^Wrabbit/ — everything it needs to see also has to be in the subscription settings.
| Place | Who gets it | {{…}} substitutions |
|---|---|---|
The Wrabbit rule, responseModifications.headers | Only Wrabbit 2.2.0 and later | No: the value goes out as is |
Subscription Settings → customResponseHeaders | All subscribers on all clients, including Happ | Yes: {{USERNAME}}, {{SHORT_UUID}} and others |
| Squad headers (External Squad) | Subscribers of the squad | Yes |
#Get a license
Sign in to the provider dashboard, add the subscription domain and verify it with a TXT record — how. Once the license is issued, the dashboard's “Подключение” (Connect) section shows a ready Wrabbit rule with your token and the lines for
customResponseHeaders: you can copy them instead of the blocks below.A token issued before 13.11.2026 doesn't include app and push — get a new one.
#Add the Wrabbit rule
Open Subscription Settings → Response Rules → config editor. Insert the object as an element of the `rules` array, second in order — right after “Browser Subscription”. Leave the rest of the config (
version,settings, other rules) unchanged, and don't replace the whole config with this object.Remnawave → Response Rules → rules[1]JSON { "name": "Wrabbit", "description": "Wrabbit: full Xray JSON, license, server captions. Second, right after Browser Subscription.", "enabled": true, "operator": "AND", "conditions": [ { "headerName": "user-agent", "operator": "REGEX", "value": "^Wrabbit/", "caseSensitive": true } ], "responseType": "XRAY_JSON", "responseModifications": { "headers": [ { "key": "wrab-license", "value": "<WRAB_LICENSE>" }, { "key": "wrab-logo", "value": "https://YOUR-DOMAIN/wrabbit-logo-v1.png" }, { "key": "x-wrabbit-rule", "value": "v1;rule=open;mode=compat" } ], "applyHeadersToEnd": true, "additionalExtendedClientsRegex": ["^Wrabbit/"] } }<WRAB_LICENSE>— the token from the dashboard, without a leadingwrab-license:.wrab-logobrand — a direct link to a PNG or JPEG; SVG won't render. The client caches the image by its link, so publish a new logo at a new address. No logo — delete the line.- Leave the other lines as they are.
Optionally, add hiding of server details hide and the Auto mode Free to
headers. Insert the lines below at the start of the array, before thewrab-licenseline: the trailing commas are already there.Extra lines in headersJSON { "key": "hide-settings", "value": "1" }, { "key": "wrabbit-auto-mode", "value": "only" },hide-settings: 1hides server addresses, keys and QR codes. In 2.2.0, deleting the line doesn't unhide them — onlyhide-settings: 0with a valid license does.wrabbit-auto-mode:onis the default,onlyshows only Auto without the server list,offremoves the Auto row.
Don't put in the rule:
announce— withapplyHeadersToEndit overrides the panel's device limit announcement. It belongs incustomResponseHeaders.- Headers with
{{USERNAME}},{{SHORT_UUID}}substitutions — the panel doesn't substitute them in a rule. disableHwidCheck— the device limit stops working for Wrabbit.encryptionwhile the App Store has 2.1.0: it will stop reading the subscription. Details are in Encryption.
What each field of the rule does
conditions—user-agentbyREGEX ^Wrabbit/, case-sensitive: matches 2.2.0 and later and doesn't touch Happ, INCY or other clients.responseType: XRAY_JSON— full Xray JSON in one request. The client runs the template's balancers,routinganddnsas is; no separate/jsonrequest is needed.responseModifications— spelled exactly like this. With a typo (say,modifications) the panel silently saves the rule without headers.applyHeadersToEnd: true— the rule's headers are set last and override same-name headers from the subscription settings and squad, including an old token.additionalExtendedClientsRegex— without it the panel doesn't put server captions (serverDescription, up to 30 characters) into the JSON: by default it gives them only to Happ, INCY and a few Clash clients.x-wrabbit-rule— a service marker: the client and “Subscription check” use it to see that the Wrabbit rule fired. Users don't see it.description— up to 250 characters,name— up to 50.
If the shared XRAY_JSON template is also served to Happ or v2rayNG and Wrabbit needs its own, add
"subscriptionTemplate": "YOUR-TEMPLATE"with the template's name in the panel toresponseModifications.#Duplicate the headers for 2.1.0
2.1.0 isn't matched by the rule and takes headers only from the subscription settings and squad. While it's in the App Store, put the lines from the block below there:
wrab-licenseandwrab-logowith the same values as in the rule. Don't duplicatex-wrabbit-rule: it marks the rule only, and here it would also arrive in responses the rule didn't produce. Forhide-settingsand Auto only, see the list below the block. If you have no 2.1.0 subscribers with branding and are only testing 2.2.0, you can skip this step: all your subscribers, including Happ users, get the subscription settings.Remnawave 3.x
Subscription Settings → Custom Response Headers. If squads have their own headers, add the same lines to the squad's
responseHeadersAdd: in 3.x they're added on top of the shared ones.Remnawave → Subscription Settings → Custom Response Headerstext wrab-license: <WRAB_LICENSE> wrab-logo: https://YOUR-DOMAIN/wrabbit-logo-v1.png wrabbit-account: {{USERNAME}}Remnawave 2.7–2.8
Subscription Settings → Custom Response Headers. In 2.x a squad's `responseHeaders` replaces `customResponseHeaders` entirely: if a squad has its own headers, repeat every header you need there, not just these.
Remnawave → Subscription Settings → Custom Response Headerstext wrab-license: <WRAB_LICENSE> wrab-logo: https://YOUR-DOMAIN/wrabbit-logo-v1.png wrabbit-account: {{USERNAME}}wrabbit-account: {{USERNAME}}Free 2.2.0 — optional: the subscriber's login under the subscription name. Works only from here or a squad. Don't use{{EMAIL}}: anyone with the link can see the header.- Add
hide-settings: 1here only if you're fine with hiding in Happ too: it reads this header from here as well. If the line is already here, keep it: without it 2.1.0 unhides servers for subscribers. - If the rule has
wrabbit-auto-mode: only, addwrab-mode: auto-only: 2.1.0 only understands the old name. - On Remnawave 2.8.1 and later, non-Latin text can be written as
rwEncodeBase64:<text>— the panel encodes it tobase64:itself. 2.7.4 has no such prefix.
Remove the duplicate after 2.2.0 reaches the App Store, once the panel's HWID list shows almost no 2.1.0 devices. We'll notify providers when it's out.
#Add a button to the subscription pageoptional
Since version 7, the Remnawave subscription page takes its app list from a config in the panel (Subscription Page) and no longer reads
app-config.json. Add the object below to the end ofplatforms.ios.appsand the same one to the end ofplatforms.macos.apps: on a Mac the page shows the macOS section, and it's the same app.Remnawave → Subscription Page → platforms.ios.apps and platforms.macos.appsJSON { "name": "Wrabbit", "featured": false, "blocks": [ { "svgIconKey": "DownloadIcon", "svgIconColor": "cyan", "title": { "en": "App Installation", "ru": "Установка приложения" }, "description": { "en": "Open the App Store page and install the app.", "ru": "Откройте страницу в App Store и установите приложение." }, "buttons": [ { "type": "external", "link": "https://apps.apple.com/app/id6762829142", "svgIconKey": "ExternalLink", "text": { "en": "Open in App Store", "ru": "Открыть в App Store" } } ] }, { "svgIconKey": "CloudDownload", "svgIconColor": "cyan", "title": { "en": "Add Subscription", "ru": "Добавление подписки" }, "description": { "en": "Tap the button below — the app will open. If it asks for confirmation, tap Add.", "ru": "Нажмите кнопку ниже — откроется приложение. Если оно попросит подтвердить, нажмите «Добавить»." }, "buttons": [ { "type": "subscriptionLink", "link": "wrabbit://import?sub={{SUBSCRIPTION_LINK}}", "svgIconKey": "Plus", "text": { "en": "Add Subscription", "ru": "Добавить подписку" } } ] }, { "svgIconKey": "Check", "svgIconColor": "teal", "title": { "en": "Connect and use", "ru": "Подключение и использование" }, "description": { "en": "On the main screen, tap Connect and allow adding the VPN configuration the first time. Choose a server from the list or select Auto to let the app pick the fastest one.", "ru": "На главном экране нажмите «Подключить» и при первом подключении разрешите добавление VPN-конфигурации. Выберите сервер из списка или режим «Авто» — приложение само подберёт самый быстрый сервер." }, "buttons": [] } ] }- The button opens
wrabbit://import?sub={{SUBSCRIPTION_LINK}}— both versions understand this form. 2.1.0 doesn't understand the shortwrabbit://add/…, so don't use it in the button. - Texts are needed in every language from your config's
locales: the page has no fallback language, and a missing translation shows as empty text. The example has en and ru; remove extra languages and add the missing ones. - The
DownloadIcon,CloudDownload,ExternalLink,PlusandCheckicons must be in the config'ssvgLibrary. The entry has no icon of its own: the button shows the name. - The page reads configs at startup: restart its container after saving.
2.1.0 adds the subscription right away. 2.2.0 shows an “Add subscription?” dialog with the name, domain and number of servers; tapping again refreshes the subscription already added instead of creating a copy. The App Store button installs 2.1.0 — testers install 2.2.0 from a TestFlight invite.
- The button opens
#Check the result
First without a phone — requests as 2.2.0 and 2.1.0 to a test user. Both requests share one HWID and take one device slot: remove the device from the user in the panel afterwards.
Panel response for 2.2.0 and 2.1.0bash curl -sS -D - -o wrabbit-220.body \ -A 'Wrabbit/2.2.0' \ -H 'x-hwid: wrabbit-test-0001' -H 'x-device-os: iOS' \ -H 'x-ver-os: 26.0' -H 'x-device-model: iPhone15,3' \ 'https://YOUR-DOMAIN/<SHORT_UUID>' curl -sS -D - -o wrabbit-210.body \ -A 'Wrabbit' -H 'x-hwid: wrabbit-test-0001' \ 'https://YOUR-DOMAIN/<SHORT_UUID>'Wrabbit/2.2.0: the headers includex-wrabbit-rule: v1;rule=open;mode=compatandwrab-licensewith the new token; the body is JSON.Wrabbit(how 2.1.0 identifies itself): nox-wrabbit-rulemarker, the body is base64, andwrab-licenseandwrab-logocome fromcustomResponseHeaders.
Then in 2.2.0 on the phone: “⋯” next to the subscription, or “Settings” → “Subscription check”.
Screen row What it should show “Format” xray-json, and “/json” shows “not needed (response is already xray-json)”“Status” “Verified”, and “Domain” is yours Features ✓ next to “Branding”, “Hidden settings”, “Routing”, “App management”, “Provider notifications” “Unverified directives” No such row. If it's there, the token lacks a feature: get a new one “Device limit (HWID)” “on, device accepted” if the limit is on in the panel In 2.1.0 from the App Store, refresh the subscription: the logo and buttons should appear, and with
hide-settings: 1server details should be hidden. Status “Token present but failed verification” — see what the “Reason” means.
#Common mistakes
| Symptom | Cause |
|---|---|
No x-wrabbit-rule, base64 body | The Wrabbit rule is below “Fallback Base64” or another matching rule, disabled, or its condition has a typo |
No x-wrabbit-rule although the rule is on top | modifications instead of responseModifications: the rule was saved without headers |
| 2.2.0 gets an old token | No applyHeadersToEnd: true: an old token from the settings or a squad overrides the new one |
| 2.1.0 lost branding for some subscribers | An old token is left in a squad or in customResponseHeaders |
| 500 on a subscription request | Cyrillic or another non-Latin-1 character in a header value — such as a placeholder in Russian or a substituted {{USERNAME}} |
| “Token present but failed verification”, reason “malformed token” | The <WRAB_LICENSE> placeholder is left in the rule, or the token was pasted with a leading wrab-license: |
| 502 on a subscription request | Headers exceed the limit of the nginx in front of the panel (4 KB for all response headers by default) |
| “issued for X, subscription answers from Y” | A CDN or a redirect to another domain without wrab-license-alt |
| Subscriber login doesn't show | {{USERNAME}} in the rule: substitutions don't work there |
| 2.1.0 gets no servers | Response encryption or strict mode is on while the App Store has 2.1.0 |
Other symptoms are in Troubleshooting.
#Remnawave versions
Which parts of the setup each panel version has. Checked against the sources of 2.7.4, 2.8.1, 3.0.0 and 3.4.8; we haven't checked the versions in between.
| Feature | 2.7.4 | 2.8.1 | 3.0.0 | 3.4.8 |
|---|---|---|---|---|
applyHeadersToEnd, subscriptionTemplate, additionalExtendedClientsRegex | Yes | Yes | Yes | Yes |
| Squad headers | responseHeaders, replaces | responseHeaders, replaces | responseHeadersAdd and responseHeadersRemove | Same |
rwEncodeBase64: prefix | No | Yes | Yes | Yes |
announce, support-url, profile-title | Settings fields | Settings fields | In customResponseHeaders | Same |
routing header from “Happ routing” | Happ only | Happ only | In customResponseHeaders, for everyone | Same |
encryption, disableHwidCheck, excludeHostsByTags | No | Yes | Yes | Yes |
| Host tags | A single tag field | tags | tags | tags |
| Host Mapper | No | No | No | Yes |
Event additionalWebhookUrls | No | No | Yes | Yes |
How this affects routing, zones and pushes — Routing, Zones and Auto, Pushes.