Skip to content
On this page
On this page

Remnawave recipes

For providers2.2.02.1.0Updated

Ten ready scenarios for the Remnawave panel. Each one says when you need it, which panel versions and license features it requires, gives blocks to copy, shows what subscribers see in 2.2.0 and 2.1.0, and how to check it. The base setup — the Wrabbit rule and the license — is in Remnawave setup; the recipes build on it.

#Before you start

Remnawave picks the response by walking Response Rules top to bottom: the first matching rule wins. Wrabbit 2.2.0 sends User-Agent: Wrabbit/2.2.0 and matches the ^Wrabbit/ rule. Wrabbit 2.1.0 sends just Wrabbit: it does not match that rule and gets the response of the default Fallback Base64 rule — links. That is why almost every recipe has two parts: the rule for 2.2.0 and lines in the subscription settings for 2.1.0.

Three places for headers in Remnawave
PlaceWho gets itSubstitutions {{…}}
Wrabbit rule, responseModifications.headersOnly requests matching the rule's condition, i.e. 2.2.0No: the value is sent as is
Subscription Settings → customResponseHeadersAll subscribers of all clients, including Happ and 2.1.0Yes: {{USERNAME}}, {{SHORT_UUID}}, {{SUBSCRIPTION_URL}} and others
External SquadSquad subscribersYes. In 2.x the squad's responseHeaders fully replace customResponseHeaders; in 3.x responseHeadersAdd appends and responseHeadersRemove removes
  • `applyHeadersToEnd: true` in the rule sets its headers last: they override same-named ones from the settings and the squad. Without the flag the settings overwrite the rule's headers.
  • ASCII only in values. Cyrillic in a header makes the panel answer 500, and the subscription comes back empty for every subscriber. In customResponseHeaders and squads on Remnawave 2.8+ write rwEncodeBase64:Text: the panel turns it into base64:… itself. The prefix does not work in a rule — encode base64 by hand.
  • No more than 2 KB for all Wrabbit headers: nginx in front of the panel holds 4 KB of response headers by default; more gives 502.
  • The full list of keys, their license features and client versions is in the Header reference.

#Checking without a phone

The requests below look like requests from 2.2.0 and 2.1.0. Every recipe refers to their output: headers are printed to the terminal, the body is saved to /tmp/wrabbit-sub.body and /tmp/wrabbit-sub-210.body.

Terminalbash
# 2.2.0: the Wrabbit rule should fire
curl -sS -D - -o /tmp/wrabbit-sub.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' \
  -H 'Cache-Control: no-cache' \
  'https://YOUR-DOMAIN/<SHORT_UUID>'

# 2.1.0: the same request, User-Agent without a slash
curl -sS -D - -o /tmp/wrabbit-sub-210.body -A 'Wrabbit' \
  -H 'x-hwid: wrabbit-test-0002' 'https://YOUR-DOMAIN/<SHORT_UUID>'

On a phone with 2.2.0 the same check is “⋯” on the subscription → “Subscription check”, or “Settings” → “Subscription check”. The screen shows the response format, license status, enabled features, device limit and fallback address.

#1. Minimum: full Xray JSON for 2.2.0Free2.2.0

When: Wrabbit 2.2.0 should get full Xray JSON — balancers, the routing and dns of your template — and captions under servers. No branding, no license needed. Remnawave: 2.7.4 and later.

Response Rules → editor. Add the object as the second element of the `rules` array, right after Browser Subscription. Leave the other rules alone and do not replace the whole config.

Remnawave → Response Rules → rules elementJSON
{
  "name": "Wrabbit",
  "description": "Wrabbit 2.2+: full Xray JSON and server captions",
  "enabled": true,
  "operator": "AND",
  "conditions": [
    { "headerName": "user-agent", "operator": "REGEX", "value": "^Wrabbit/", "caseSensitive": true }
  ],
  "responseType": "XRAY_JSON",
  "responseModifications": {
    "headers": [
      { "key": "x-wrabbit-rule", "value": "v1;rule=open;mode=compat" }
    ],
    "applyHeadersToEnd": true,
    "additionalExtendedClientsRegex": ["^Wrabbit/"]
  }
}
  • conditions — the REGEX operator, like the default rules, but case-sensitive (caseSensitive: true). Neither Happ, INCY nor 2.1.0 match ^Wrabbit/.
  • responseType: XRAY_JSON — full JSON from the template. The client runs it as is: outbounds, balancers, routing.rules, dns.
  • additionalExtendedClientsRegex — without it the panel does not put the host description into meta.serverDescription: only Happ and INCY count as “extended” by default. A host description in Remnawave is up to 30 characters; the client shows it as a caption under the server.
  • x-wrabbit-rule — a service marker: it tells “Subscription check” that the Wrabbit rule fired. Format v1;rule=<open|age>;mode=<compat|strict>.
  • applyHeadersToEnd — for later: once the license is added to the rule (recipe 2), an old token in the settings will not overwrite it.
XRAY_JSON template: what to remove and how to give Wrabbit its own
  • Remove the api, metrics and reverse sections from templates. 2.2.0 strips them itself, 2.1.0 does not.
  • If a shared XRAY_JSON template also goes to Happ or v2rayNG and Wrabbit needs its own, add "subscriptionTemplate": "<template name>" to responseModifications.
  • 2.2.0: servers from the full JSON, captions under servers, name, traffic and expiry. Auto and manual selection are available.
  • 2.1.0: the rule does not catch it. It gets links from Fallback Base64 and, as before, fetches <link>/json itself for balancers.

Check. curl 2.2.0: the headers contain x-wrabbit-rule: v1;rule=open;mode=compat and subscription-userinfo, the body is JSON; jq '.[0].meta' /tmp/wrabbit-sub.body shows serverDescription if the host has one. curl 2.1.0 has no marker and the body is base64. In “Subscription check” “Format” is xray-json and the “/json” row says “not needed (response is already xray-json)”.

#2. License and branding for 2.2.0 and 2.1.0brand

When: subscribers see the provider logo, an announcement, and “Support” and “Website” buttons. Testers are on 2.2.0, everyone else on 2.1.0 from the App Store. Remnawave: 2.7.4 and later. License: a token from the provider dashboard; how to get it is in License.

A. The Wrabbit rule — recipe 1 plus the license and logo:

Remnawave → Response Rules → rules elementJSON
{
  "name": "Wrabbit",
  "description": "Wrabbit 2.2+: full Xray JSON, license, branding",
  "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/"]
  }
}

B. Subscription settings — a copy for 2.1.0 and headers shared with Happ:

Remnawave 3.x

Subscription Settings → customResponseHeaderstext
wrab-license: <WRAB_LICENSE>
wrab-logo: https://YOUR-DOMAIN/wrabbit-logo-v1.png
announce: rwEncodeBase64:Your announcement text
support-url: https://t.me/YOUR_SUPPORT
profile-web-page-url: https://YOUR-SITE/

Remnawave 2.7.4–2.8

support-url and announce come from the subscription settings fields “Support link” and “Happ announce”: the panel sends them to all clients and encodes the announcement into base64: itself. The “Profile webpage URL” flag points to the subscription page; your own website goes as a line in customResponseHeaders, which overrides the field.

Subscription Settings → customResponseHeaderstext
wrab-license: <WRAB_LICENSE>
wrab-logo: https://YOUR-DOMAIN/wrabbit-logo-v1.png
profile-web-page-url: https://YOUR-SITE/

C. Squads. If a squad has its own headers: on 2.x copy all lines from B into the squad's responseHeaders — they fully replace the settings; on 3.x — into responseHeadersAdd.

  • Why the token is in two places. 2.2.0 gets both the settings and the rule; the rule with applyHeadersToEnd overrides same-named headers. 2.1.0 only sees the settings. The values must match.
  • Do not put `announce` in the rule. With applyHeadersToEnd it would override the panel's device-limit announcement — the panel writes it into the same announce.
  • `wrab-logo` — PNG or JPEG by direct link. The client caches the logo by link: publish a new one at a new address.
  • `profile-web-page-url` (alias homepage) and support-url are read by both versions. Happ banners sub-info-*, sub-expire* and INCY banner-* are shown by 2.2.0 under brand too; 2.1.0 does not know them.
  • The token is checked for the host that answered. 2.2.0 matches the license domain against the host after redirects, 2.1.0 against the requested one. Redirects and CDN are in recipe 7.
  • 2.2.0: logo, an announcement of up to 300 characters, “Support” (“Telegram” for t.me) and “Website” buttons. For an inactive subscription “Website” becomes “Renew access”.
  • 2.1.0: logo, announcement, “Support” and “Website” from the subscription settings.
  • Without a valid license (expired, wrong domain) branding disappears until the next response with a valid token: it is recalculated on every refresh.

Check. curl 2.2.0: wrab-license with the token from the rule, wrab-logo, announce: base64:…. curl 2.1.0: the same token from the settings, no x-wrabbit-rule marker. “Subscription check”: “Status” is “Verified”, “Domain” is yours, “Branding” is ticked, no “Unverified directives” row. The status “Token present but failed verification” shows the reason: expiry, “issued for X, subscription answers from Y”, revocation.

#3. Hiding server detailshide

When: subscribers must not see server addresses, keys and QR codes, and in 2.2.0 not even the subscription link itself. Remnawave: 2.7.4 and later.

Wrabbit rule → responseModifications.headers (add)JSON
{ "key": "hide-settings", "value": "1" },
{ "key": "hide-url", "value": "1" }
Subscription Settings → customResponseHeaders (for 2.1.0)text
hide-settings: 1
  • `hide-settings` — a flag: 1, true, yes or on. `hide-url` 2.2.0 — the subscription link cannot be viewed, copied or exported; the import window hides the domain.
  • 2.2.0: removing the line does not unhide. While there is no license with hide or no directive, hiding is kept. It is lifted only by an explicit hide-settings: 0 with a valid license.
  • 2.1.0: the opposite. Without the header or the license, hiding is lifted. If the line is already in the subscription settings, keep it while 2.1.0 is in the App Store.
  • Hiding works only if the link's own host answered, without a redirect to another host or path. The exception is a fallback address with its own license (recipe 7).
  • `hide-check` hides the “Subscription check” screen. Do not set it during testing: without the screen there is nothing to diagnose with.

What subscribers see. 2.2.0: servers have no address, keys or QR; with hide-url: 1 there is no subscription link either. 2.1.0: server details are hidden by hide-settings from the settings; it does not know hide-url. Check. curl 2.2.0: hide-settings: 1 and hide-url: 1; “Subscription check”: “Hidden settings” is ticked. If the address is visible on the phone, look at the “Domain” and “Reason” rows: another host may have answered.

#4. Subscriber login, traffic and expiryFree

When: the subscriber's login with the provider shows under the subscription name, the card shows traffic and expiry, and a “renew” banner appears 3 days before the end. Remnawave: 2.7.4 and later. Login, traffic and expiry are Free, the expiry banner needs brand.

The lines below go only into the subscription settings or a squad, not into the rule: in the rule {{USERNAME}} is not substituted and is sent literally.

Remnawave 3.x

Subscription Settings → customResponseHeaderstext
wrabbit-account: {{USERNAME}}
profile-title: rwEncodeBase64:YOUR-BRAND
profile-update-interval: 12

Remnawave 2.7.4–2.8

Subscription Settings → customResponseHeaderstext
wrabbit-account: {{USERNAME}}
profile-update-interval: 12

Set the name in the “Profile title” settings field: the panel encodes it into base64 itself. 2.7.4 has no rwEncodeBase64: prefix — the client would show it literally. A Latin name also works as a line profile-title: YOUR-BRAND.

The expiry banner. No substitutions, so it can go into the rule too:

customResponseHeaders or the Wrabbit ruletext
sub-expire: 1
sub-expire-button-link: https://YOUR-SITE/renew
  • `wrabbit-account` 2.2.0 — our header; Remnawave has no standard one. One line, up to 64 characters on screen. A Remnawave username is Latin letters, digits, _ and -, so the header is always ASCII.
  • Do not use `{{EMAIL}}`: anyone with the subscription link can see the header.
  • `subscription-userinfo` is set by the panel: upload=0; download=<used>; total=<limit>; expire=<unix>. A “never expiring” user has expire=0.
  • `profile-update-interval` — hours, minimum 1.
  • The banner shows 3 days before expire and after it. It is turned on by sub-expire: 1 (button — sub-expire-button-link) or INCY expiry-banner-text.
  • A fallback address response without its own license does not change the login, name or traffic.

What subscribers see. 2.2.0: the login under the subscription name and in the add window, traffic and expiry in the header, and a banner with a button 3 days before the end. 2.1.0: name, traffic and expiry; no login and no banner. Check. curl: wrabbit-account: <test user's login> and subscription-userinfo. Set the test user to expire “in 2 days” and refresh the subscription — the banner appears.

#5. Whitelists: WL hosts and AutoFree

When: you have servers for the whitelist zone (usually a CDN front), and Auto should switch to them only when regular ones are blocked. How the client picks the zone and what Auto does is in Server zones; here is how to mark hosts in Remnawave.

#Option A: a label in the host name (any version)

Remnawave → Hosts → Remarktext
DE Frankfurt WL
NL CDN [БС-2]
PL LTE

Labels are separate words, case-insensitive: WL, whitelist, white list, white zone, LTE, БС (Cyrillic). The Latin BS in a name is not a label: it only works as a host tag. Both 2.1.0 and 2.2.0 understand this option.

#Option B: host tags and Host Mapper (Remnawave 3.4.8)2.2.0

  1. Hosts → the host → Tags: WL. Several are allowed: WL, NO_AUTO. Host tags exist since Remnawave 2.8: uppercase Latin, digits, _ and :, up to 10.
  2. Hosts → every host → Mapper — the same JSON below. Mapper is a host field, not a panel setting. A bulk host update is handy here.
Remnawave → Hosts → Mapper (on every host)JSON
{
  "base64": [
    { "op": "copy", "from": "$host.metadata.tags", "to": "wrabbit-tags" }
  ],
  "xrayJson": [
    { "op": "copy", "from": "$host.metadata.tags", "to": "wrabbit.tags" }
  ]
}
  • In base64 the to field is a link query parameter name (wrabbit-tags=WL,NO_AUTO); in xrayJson it is a path inside the outbound (wrabbit.tags). The client reads both and strips the field before the core.
  • Tag vocabulary: WL, BS, WHITELIST, LTE — the whitelist zone; NO_AUTO — manual selection only; ONLY_MOBILE, ONLY_WIFI — show only on cellular or only on Wi‑Fi.
  • ss:// and vmess:// links in Remnawave have no query string — name labels remain for them.
  • Host Mapper exists in Remnawave 3.4.8 and not in 3.0.0. We have not checked the 3.x versions in between.
Zone via the wrab-zone link parameter

The client understands the wrab-zone=wl parameter only in vless:// links (direct explicitly clears the zone). Both 2.1.0 and 2.2.0 read it. You cannot append it to the host address: Remnawave encodes the query itself, and & turns into %26. In Remnawave 3.4.8 the host Mapper sets it:

Remnawave → Hosts → MapperJSON
{
  "base64": [
    { "op": "set", "to": "wrab-zone", "value": "wl" }
  ]
}

The parameter exists only in links (base64), so 2.2.0 does not get it through the XRAY_JSON rule — use tags for it. On 2.x and 3.0.0 you cannot add your own parameter to the link: the name label is what remains.

What subscribers see. 2.2.0: WL servers in the list; Auto uses them only when regular servers are blocked and comes back when they work again. 2.1.0 understands only name labels. Optionally hide service hosts from other clients with excludeHostsByTags in their rules (Remnawave 2.8+).

Check after curlbash
# 2.2.0, Xray JSON: tags on outbounds (the Wrabbit rule)
jq '.[] | .outbounds[]? | select(.wrabbit) | {tag, wrabbit}' /tmp/wrabbit-sub.body

# Links (Fallback Base64): the Mapper added wrabbit-tags; 2.1.0 ignores it
base64 -d < /tmp/wrabbit-sub-210.body | grep -o 'wrabbit-tags=[^&#]*'

#6. Custom Auto checks and Auto-only mode2.2.0

When: Auto should check your services instead of the default list, or the subscriber should see only Auto without a server list. Remnawave: 2.7.4 and later. wrabbit-service-checks needs app, wrabbit-auto-mode is Free.

#Custom service checksapp

Source JSON: up to 8 services, up to 2 checks and 32 domains per service.

Service listJSON
[
  {"id":"youtube","name":"YouTube","domains":["youtube.com","googlevideo.com","ytimg.com"],
   "checks":[{"url":"https://www.youtube.com/generate_204","expect":"204"}]},
  {"id":"telegram","name":"Telegram","domains":["telegram.org","t.me"],
   "checks":["https://web.telegram.org/"]},
  {"id":"mysite","name":"My Site","domains":["example.com"],
   "checks":[{"url":"https://example.com/","method":"HEAD","expect":"200-399"}]}
]

Encode it to base64 on one line — then quotes in the rule JSON need no escaping:

Terminalbash
# macOS; on Linux use base64 -w0
printf '%s' '<JSON_ON_ONE_LINE>' | base64 | tr -d '\n'
Wrabbit rule → responseModifications.headers (add)JSON
{ "key": "wrabbit-service-checks", "value": "base64:W3siaWQiOiJ5b3V0dWJlIiwibmFtZSI6IllvdVR1YmUiLCJkb21haW5zIjpbInlvdXR1YmUuY29tIiwiZ29vZ2xldmlkZW8uY29tIiwieXRpbWcuY29tIl0sImNoZWNrcyI6W3sidXJsIjoiaHR0cHM6Ly93d3cueW91dHViZS5jb20vZ2VuZXJhdGVfMjA0IiwiZXhwZWN0IjoiMjA0In1dfSx7ImlkIjoidGVsZWdyYW0iLCJuYW1lIjoiVGVsZWdyYW0iLCJkb21haW5zIjpbInRlbGVncmFtLm9yZyIsInQubWUiXSwiY2hlY2tzIjpbImh0dHBzOi8vd2ViLnRlbGVncmFtLm9yZy8iXX0seyJpZCI6Im15c2l0ZSIsIm5hbWUiOiJNeSBTaXRlIiwiZG9tYWlucyI6WyJleGFtcGxlLmNvbSJdLCJjaGVja3MiOlt7InVybCI6Imh0dHBzOi8vZXhhbXBsZS5jb20vIiwibWV0aG9kIjoiSEVBRCIsImV4cGVjdCI6IjIwMC0zOTkifV19XQ==" }
  • The list replaces the default one, it does not extend it. The default is YouTube, Instagram, Telegram, ChatGPT, Discord, WhatsApp; to keep them, list them yourself.
  • Value format: a JSON array, an object {"services":[…]}, or base64 with or without the base64: prefix, URL-safe included. Up to 16,384 characters, but mind the 2 KB budget for all headers.
  • Fields: id — 1–32 characters [a-z0-9_-]; name — up to 40 characters; domains — how the core recognises the service's traffic; checks — a URL string or an object {url, method: GET|HEAD, expect}.
  • `expect`: 204, 200-399, 2xx, 200,204,301; default 200–399. Check timeout is 5 s. An invalid service is skipped; if none is valid, the default list stays.
  • It can also go into customResponseHeaders: there are no substitutions, and 2.1.0 ignores the header.

#Auto-only modeFree

Wrabbit rule → responseModifications.headers (add)JSON
{ "key": "wrabbit-auto-mode", "value": "only" }
customResponseHeaders — the old name for 2.1.0text
wrab-mode: auto-only
  • wrabbit-auto-mode values: on (auto, default), only (auto-only, autoonly), off (manual, manual-only). off means the subscription has no Auto row, manual selection only.
  • 2.2.0 reads wrabbit-auto-mode first, then wrab-mode. If the rule says on and the settings say wrab-mode: auto-only, 2.2.0 shows normal mode and 2.1.0 shows Auto only. Keep the values consistent.
  • 2.1.0 understands only wrab-mode: auto-only.

What subscribers see. 2.2.0 with only: a single Auto row, the server list and server details are hidden; with custom checks Auto leaves a server where your service does not work. 2.1.0: Auto only via wrab-mode, default checks. How Auto works is in Auto mode.

Check: decode the list from the responsebash
curl -sS -D - -o /dev/null -A 'Wrabbit/2.2.0' -H 'x-hwid: wrabbit-test-0001' \
  'https://YOUR-DOMAIN/<SHORT_UUID>' \
  | grep -i '^wrabbit-service-checks:' | tr -d '\r ' | cut -d: -f3 | base64 -d | jq .

In “Subscription check” “App management” should be ticked. If you see “Unverified directives: app” instead, the token lacks app: tokens issued before 13.11.2026 carried only brand, hide, routing. Issue a new one in the dashboard.

#7. Fallback domain, CDN and mirrorsapp2.2.0

When: the main subscription domain gets blocked or goes down; the subscription is served through a CDN or a mirror on another host. Remnawave: 2.7.4 and later. License: app on the main domain and a separate token for every other host — otherwise it delivers servers only. The dashboard issues a license for one domain; request a token for a fallback domain via Support.

customResponseHeaders or a squad — needs substitutiontext
fallback-url: https://YOUR-FALLBACK-DOMAIN/{{SHORT_UUID}}

If SUB_PUBLIC_DOMAIN has a path (for example YOUR-DOMAIN/sub), repeat it: https://YOUR-FALLBACK-DOMAIN/sub/{{SHORT_UUID}}. Tokens for other hosts go into the rule, up to 4, comma-separated:

Wrabbit rule → responseModifications.headers (add)JSON
{ "key": "wrab-license-alt", "value": "<WRAB_LICENSE_FALLBACK>,<WRAB_LICENSE_CDN>" }
  • `fallback-url` — https only. The client goes to the fallback if the main address did not answer (network, timeout, DNS, TLS), answered 3xx–5xx, or answered with an HTML stub with code 200. It does not go there on a response with x-hwid-* headers (the device limit is a final answer), without internet, or on cancel.
  • Timing: with fallback-url the main address gets one attempt of 9 s, the fallback gets a regular load with retries and a 20 s timeout. If subscription-request-timeout (5–15 s) is set, it replaces both values.
  • A fallback response without its own license gives servers only: branding, directives, name and traffic stay as before. Hiding on the fallback works only with its own license.
  • `wrab-license-alt` — header only. The client takes the token valid for the host that answered: wrab-license first, then the alternates.
  • Do not duplicate `wrab-license` with a line carrying another token: a repeated header gets joined with a comma and breaks the license in 2.1.0.
Moving while the old address still responds: new-domain
Response header of the main addresstext
new-domain: YOUR-NEW-DOMAIN
  • Needs app. The client first does a trial load of the new address. The move happens if the new host itself answered, has servers and holds a valid license of the same provider.
  • The old address stays as a fallback until the first successful response from the new one, for no more than 14 days. Remove the line once all subscribers have moved.
  • Where to put it: Happ and INCY read new-domain and new-url too. From customResponseHeaders their subscribers move as well; if only Wrabbit 2.2.0 should move, put it in the rule.
  • 2.1.0 does not understand new-url or new-domain.
If the old domain is already down: move it from the dashboard

Build 586 of 2.2.0 supports dashboard moves after the subscriber signs in to Wrabbit with Apple. Both domains need active app licenses under the same provider and TXT confirmations from the past 30 days.

  1. Set up HTTPS on port 443 of the new domain. It must serve the subscription directly, without redirects, and return its own app license. Wrabbit changes only the hostname and keeps the existing path and query parameters.
  2. Sign in to the dashboard as the organization owner and open Connection («Подключение») → Domain move («Перенос домена»). Pick the old domain («Старый домен») and the new domain («Новый домен»). If DNS confirmation needs renewing, click «Проверить DNS» for that domain, add the TXT record shown to its DNS, and check again.
  3. Click «Опубликовать перенос» (Publish move) and check the destination and expiry. The catalogue shows both names and the expiry, up to seven days. «Отозвать перенос» (Revoke move) stops further distribution. Addresses already changed stay in use.

Ask the subscriber to sign in with Apple and tap Refresh on the subscription. If the library has no saved proof of the provider’s license for the old domain, send the subscriber their full new link privately. They can enter it through “⋯” → “Replace link” if available, or add it using Import.

What subscribers see. 2.2.0: when the main address fails, the subscription refreshes from the fallback; in “Subscription check” the “Fallback address (fallback-url)” row says “used: the main address didn’t respond”. 2.1.0 knows neither fallback-url nor wrab-license-alt: if the main domain fails, the refresh simply fails.

Checkbash
# The fallback domain serves the same subscription and its own license
curl -sS -D - -o /dev/null -A 'Wrabbit/2.2.0' -H 'x-hwid: wrabbit-test-0001' \
  'https://YOUR-FALLBACK-DOMAIN/<SHORT_UUID>' | grep -iE 'wrab-license|subscription-userinfo|x-wrabbit-rule'

# The main domain serves fallback-url with the shortUuid filled in
curl -sS -D - -o /dev/null -A 'Wrabbit/2.2.0' -H 'x-hwid: wrabbit-test-0001' \
  'https://YOUR-DOMAIN/<SHORT_UUID>' | grep -i fallback-url

On the phone, temporarily break the main address for a test user (for example, the DNS of a test domain) and refresh the subscription. The full plan is in Testing 2.2.0.

#8. Russian services directrouting

When: Russian websites and banks go direct, everything else through the VPN. Remnawave: any version. License: rules inside XRAY_JSON are your template, no license needed; the Happ profile in the routing header needs routing. Routing, DNS and geo in detail — Provider routing.

#XRAY_JSON template (2.2.0, Happ, v2rayNG)

Template fragments. The direct rules go right after the private-networks rule, before the catch-all rule. The domain and network lists are an example — use your own.

Remnawave → Templates → XRAY_JSON (fragments)JSON
{
  "inbounds": [
    { "tag": "socks", "protocol": "socks", "port": 10808, "listen": "127.0.0.1",
      "settings": { "udp": true },
      "sniffing": { "enabled": true, "destOverride": ["http", "tls", "quic"], "routeOnly": true } }
  ],
  "dns": {
    "servers": [
      { "address": "https://dns.google/dns-query" },
      { "address": "https://common.dot.dns.yandex.net/dns-query",
        "domains": ["domain:ru", "domain:xn--p1ai", "domain:yandex.net", "domain:vk.com"] }
    ],
    "queryStrategy": "UseIPv4"
  },
  "routing": {
    "rules": [
      { "type": "field", "outboundTag": "direct",
        "domain": ["domain:ru", "domain:xn--p1ai", "domain:yandex.net", "domain:vk.com", "domain:ozon.com"] },
      { "type": "field", "outboundTag": "direct",
        "ip": ["77.88.0.0/18", "87.250.224.0/19"] }
    ]
  }
}
  • iPhone always sets `domainStrategy: AsIs` because of the VPN extension memory limit: domains are not resolved for routing.
  • `routeOnly: true` — a sniffed domain is used only for domain rules, while the connection goes to the original IP. Then IP rules also work for HTTPS. The client takes sniffing from the first client inbound of the template.
  • `UseIPv4` — the built-in resolver returns no AAAA records. An app can still connect to a known IPv6 address if the selected outbound supports IPv6. Without dns in the template, the client sets a minimal 1.1.1.1/1.0.0.1 cache with UseIPv4 and no split DNS.
  • Geo codes. On iPhone the limit is up to 1 MiB per geoip code and 512 KiB per geosite code. geoip:ru and geosite:category-ru fit; heavier codes (geosite:ru-blocked, category-ads-all) are replaced or stripped. Explicit domain: entries and CIDRs do not depend on geo files.

#Happ profile in a header (2.1.0 and link servers)

customResponseHeaderstext
routing: happ://routing/onadd/<BASE64_PROFILE>

Remnawave 3.x

If the “Happ routing” field was set before, the line is already in customResponseHeaders: the panel upgrade moved it there for all clients.

Remnawave 2.7.4–2.8

The panel sends the “Happ routing” field to Happ only. For Wrabbit 2.1.0 duplicate the routing: happ://routing/… line in customResponseHeaders.

To turn the profile off — routing: off or routing-enable: 0. A profile by link with auto-update — INCY autorouting: https://… and routing-geo-update-interval.

Check after curlbash
jq '.[0].routing.rules, .[0].inbounds[0].sniffing' /tmp/wrabbit-sub.body

Check. The direct rules are in place and sniffing has routeOnly: true. On the phone with the VPN on, open a service that shows your IP (a Russian one and a foreign one): the Russian one should show your home IP. If something is off, send the log (“Settings” → “Logs” → “Share”), the “Subscription check” report and the template without keys.

#9. Expiry and traffic push via webhookspush2.2.0

When: a subscriber gets a notification “subscription expires soon”, “has expired” or “traffic used up”. Remnawave: 3.0+ — webhooks straight to Wrab; 2.7.4 and 2.8 — through the API or a forwarder. Domain verification, the key, texts and all options are on Push notifications; here is a ready configuration for Remnawave 3.x.

  1. Provider dashboard (in Russian) → «Пуши» (Push) → «Автоматические» (Automatic) → «Настроить» (Set up): choose the events and save. The dashboard shows the secret (once), the webhook address and the ready blocks below.
  2. Put the blocks into the panel's .env and notifications-config.yml and restart the container: both files are read only at startup.
Remnawave panel .envbash
WEBHOOK_ENABLED=true
WEBHOOK_URL=https://YOUR-BOT.example/remnawave-webhook
WEBHOOK_SECRET_HEADER=<WEBHOOK_SECRET>
EXPIRATION_NOTIFICATIONS_ENABLED=true
EXPIRATION_NOTIFICATIONS=[-72,-24]
Panel notifications-config.ymlYAML
events:
  user.expiration:
    telegram: true
    webhook: true
    additionalWebhookUrls:
      - https://api.wrab.club/v1/provider/remnawave/webhook/<WEBHOOK_ID>
  user.expired:
    telegram: true
    webhook: true
    additionalWebhookUrls:
      - https://api.wrab.club/v1/provider/remnawave/webhook/<WEBHOOK_ID>
  user.limited:
    telegram: true
    webhook: true
    additionalWebhookUrls:
      - https://api.wrab.club/v1/provider/remnawave/webhook/<WEBHOOK_ID>

Check. A test iPhone with 2.2.0 has added the subscription and allowed notifications → set the test user to expire “in 2 days” → the user.expiration event arrives on the panel's schedule. The dashboard setting shows the last event, and the push log shows the delivery. All check steps are on Push notifications.

#10. Moving from Happ or INCY without breaking anything

When: Happ and INCY are already set up — rules, customResponseHeaders, the subscription page — and Wrabbit must be added without breaking anything. Remnawave: any version. License: for the features you need: Happ and INCY directives work in Wrabbit 2.2.0 only with a license.

  1. #Add the Wrabbit rule second

    Right after Browser Subscription — recipe 1 or recipe 2. Leave the ^Happ/, ^INCY/ and other rules alone: the case-sensitive ^Wrabbit/ condition does not touch them, and their conditions do not touch Wrabbit.

  2. #Do not change customResponseHeaders without need

    2.2.0 reads Happ and INCY headers from the same place; no need to duplicate them. By feature: announce, support-url, profile-web-page-url, sub-info-*, sub-expire*, banner-*, premium-url — brand; hide-settings — hide; routing — routing; fallback-url, subscription-autoconnect*, ping-type, fragmentation-*, mux-*, exclude-routes, include-all-networks-enable and others — app. The full table is in Happ and INCY directives.

    Add only what is not there yet:

    customResponseHeaderstext
    wrab-license: <WRAB_LICENSE>
    wrab-logo: https://YOUR-DOMAIN/wrabbit-logo-v1.png
    wrabbit-account: {{USERNAME}}
    
  3. #Check what the app license turns on

    Everything you already have for Happ starts working in Wrabbit 2.2.0 with the app license. Especially include-all-networks-enable: 1: every subscriber on iPhone and iPad gets “Kill Switch” turned on and cannot turn it off. Use it only on a test subscription or squad. fragmentation-*, mux-* and exclude-routes apply to the subscription's servers.

  4. #Do not add hide-settings for Wrabbit

    Happ reads it too. For Wrabbit 2.2.0 the line in the rule is enough — recipe 3.

  5. #Button on the subscription page

    The link wrabbit://import?sub={{SUBSCRIPTION_LINK}} works in both versions. 2.1.0 does not understand the short wrabbit://add/…. A ready block for the subscription page is in Remnawave setup.

    • 2.2.0 recognises happ://add/<url>, incy://add/<url>, incy://import/<url> and happ://routing/… when pasted or scanned from QR. The app does not register the happ:// and incy:// schemes, so such links will not open from a browser.
    • Wrabbit cannot open encrypted happ://crypt* and incy://crypt* — there is no key. Give Wrabbit subscribers an open link or wrabbit://crypt4/….
    • The server labels only Mobile, only Wi-Fi and the dont-use-filter: 1 directive work as in Happ, for free.

What subscribers see. Happ and INCY — nothing changes, except new shared headers in customResponseHeaders that they also read. 2.2.0 — branding, banners and directives already set up for Happ, plus what the Wrabbit rule adds. 2.1.0 — logo, announce, support-url, profile-web-page-url, hide-settings, routing and wrab-mode from the settings; no Happ or INCY banners and no app directives.

Check: three clients in a rowbash
for ua in 'Happ/3.0.0' 'Wrabbit/2.2.0' 'Wrabbit'; do
  echo "== $ua"
  curl -sS -D - -o /dev/null -A "$ua" -H 'x-hwid: wrabbit-test-0001' \
    'https://YOUR-DOMAIN/<SHORT_UUID>' \
    | grep -iE '^(content-type|x-wrabbit-rule|wrab-|hide-|announce|routing|include-all)'
done
  • Happ/… — the same response as before, without x-wrabbit-rule. Use the Happ version your subscribers have.
  • Wrabbit/2.2.0 — x-wrabbit-rule and JSON.
  • Wrabbit — base64 and headers from the settings.

Updated November 27, 2026 · Found a mistake? →