Happ and INCY directives
Wrabbit follows the Happ and INCY app-management directives under the same names: what you set up for them works in Wrabbit too, nothing to change. This page covers what each directive does, which values it accepts and which license feature it needs.
#How directives work
- A directive arrives as a response header or a
#name: valuebody line; the header wins. Where to set it in Remnawave — All headers. - Each group of directives is a paid
wrab-licensefeature. Without the feature the group's directives are not saved, and “Subscription check” lists them under “Unconfirmed directives”. - Directives are recalculated on every subscription update. When the license is lost they reset on the next update — except
hide-settingsandhide-url: only an explicit0with a valid license lifts them. - An invalid value is ignored; the other directives still apply.
- Almost all directives work in 2.2.0. What 2.1.0 follows is marked with a badge; the full list is in Versions.
#Brandingbrand
Logo, announcement, buttons and banners in the subscription card. If both the Happ and INCY variants of a banner are set, Happ wins.
| Directive | Value | What it does | Version |
|---|---|---|---|
announce | Text or base64: | Announcement in the subscription card | 2.1.0 2.2.0 |
announce-url | Link | “Learn more” link under the announcement (INCY) | 2.2.0+ |
support-url | http(s) link (https://t.me/… gives a Telegram button); for email use support-email | “Support” button, “Telegram” for t.me | 2.1.0 2.2.0 |
profile-web-page-url | Link | “Website” button | 2.1.0 2.2.0 |
homepage | Link | INCY name for profile-web-page-url | 2.2.0+ |
premium-url | Link | “Account” button (INCY); “Renew” when expire is 3 days away or less or the subscription is inactive | 2.2.0+ |
support-email | Email address | “Email” button (INCY) | 2.2.0+ |
profile-description | Text or base64:, up to 500 | Description under the title (INCY): three lines, full text on tap | 2.2.0+ |
wrab-logo | Link to a PNG or JPEG | Provider logo — a Wrabbit extension | 2.1.0 2.2.0 |
sub-info-text | Text, up to 300; 0 — no banner | Happ info banner | 2.2.0+ |
sub-info-button-text | Text, up to 40 | Happ banner button label | 2.2.0+ |
sub-info-button-link | Link, tg:, mailto: | Happ banner button link | 2.2.0+ |
sub-info-color | red, blue or green | Happ banner color | 2.2.0+ |
banner-text | Text, up to 300 | INCY info banner | 2.2.0+ |
banner-button-text | Text, up to 40 | INCY banner button label | 2.2.0+ |
banner-button-url | Link; alias banner-url | INCY banner button link | 2.2.0+ |
banner-bg-color | #RRGGBB | INCY banner background | 2.2.0+ |
banner-button-color | #RRGGBB | INCY banner button color | 2.2.0+ |
sub-expire | Flag | Happ expiry banner: from 3 days before expire onwards | 2.2.0+ |
sub-expire-button-link | Link | Happ expiry banner button link | 2.2.0+ |
expiry-banner-text | Text, up to 300 | INCY expiry banner with its own text | 2.2.0+ |
expiry-banner-button-text | Text, up to 40 | Expiry banner button label | 2.2.0+ |
expiry-banner-button-url | Link; alias expiry-banner-url | Expiry banner button link | 2.2.0+ |
expiry-banner-bg-color | #RRGGBB | Expiry banner background | 2.2.0+ |
expiry-banner-button-color | #RRGGBB | Expiry banner button color | 2.2.0+ |
expiry-banner-text-color | #RRGGBB | Expiry banner text color | 2.2.0+ |
expiry-banner-button-text-color | #RRGGBB | Expiry banner button label color | 2.2.0+ |
How branding looks in the app
- Subscription card in the server list:
profile-descriptionunder the title, then the provider banner, below itannouncewith a “Learn more” link and buttons two per row: “Account”, “Website”, “Telegram” or “Support”, “Email”. - One banner: expiry or info. Expiry wins, as in Happ; INCY does the opposite.
- Expiry banner: “Subscription ends in N d.”, “…today”, “Subscription has ended” or the provider's text. Its button is
sub-expire-button-linkorexpiry-banner-button-url, otherwisepremium-url; default label “Renew”. - Info banner: its button is
sub-info-button-linkorbanner-button-url, otherwisepremium-url; default label “Learn more”. No link — no button; the banner button's link is not repeated in the button grid. - Colors: a Happ name or none — an app-style tint with white text. INCY
#RRGGBB— the provider's colors; without a text color — dark or white, whichever has the higher WCAG contrast. - For an inactive subscription “Renew access” leads to
premium-url, otherwise the website, otherwise support. If the provider banner announces the end of the subscription, the red “Access expired” and “Config is inactive” lines are not shown. - The home screen shows a one-line capsule with the selected subscription's banner; for expiry — “N d. left”.
- Only
http(s)://(in the external browser),mailto:andtg:open.wrabbit://deep links and other apps' schemes do not open from provider buttons.
#Hidinghide
| Directive | Value | What it does | Version |
|---|---|---|---|
hide-settings | Flag | Hides server details: address, SNI, UUID, keys, transport. No copying, QR, sharing or editing | 2.1.0 2.2.0 |
hide-url | Flag | The subscription link is not shown, copied, exported, put into a QR or into the “Subscription check” report; the host shows as •••, including in log lines already written | 2.2.0+ |
hide-check | Flag | Hides the “Subscription check” screen for this subscription: in the “⋯” menu and in Settings | 2.2.0+ |
#Routingrouting
| Directive | Value | What it does | Version |
|---|---|---|---|
routing | happ://routing/…, incy://routing/…, bare base64 or off; 2.1.0 accepts only happ://routing/onadd|add/<base64> and happ://routing/off | Happ routing profile of the subscription | 2.1.0 2.2.0 |
routing-enable | 2.2.0: 1 or true — on, anything else — off. 2.1.0: only 0, false, no, off turn it off, anything else leaves it on. Do not use yes/on: 2.2.0 treats them as off | Turns the subscription profile on and off, as in Happ | 2.1.0 2.2.0 |
autorouting | An https link; as a body line — ://autorouting/onadd/<url> | INCY profile by a link with auto-update | 2.2.0+ |
routing-geo-update-interval | Hours, 1–8760 | Update schedule for the profile's geo files | 2.2.0+ |
How the subscription profile combines with the user's rule sets, DNS and geo files — Provider routing, DNS and geo.
#App managementapp2.2.0+
Subscription address, auto-connect, measuring, sorting, reminders and network. Works in 2.2.0 only. Tokens issued before 13.11.2026 do not carry the app feature — get a new token from the dashboard.
#Moving and fallback address
| Directive | Value | What it does | Version |
|---|---|---|---|
new-url | An https link | Moves the subscription to a new address. Header only | 2.2.0+ |
new-domain | Bare host, Punycode | Moves to a new domain with the same path. Header only | 2.2.0+ |
fallback-url | An https link | Fallback address if the main one does not answer | 2.2.0+ |
subscription-request-timeout | Seconds, 5–15 | Fetch attempt timeout | 2.2.0+ |
Moving and fallback conditions
new-urlandnew-domainare accepted only from a response header of the main address — not the fallback and not “Subscription check” — and only if the requested host itself answered, without a redirect. The new address must be https, withoutuser:pass@, and the host must be a name, not an IP.- Before saving, the client fetches the new address: the new host itself must answer, with servers and a valid license for the new domain of the same provider (the
subfield of both tokens is non-empty and equal). Issue the license for the new domain in advance. - If the check fails, the address stays and the fetch log gets a
move-*entry. If it passes, the old address stays as an implicit fallback until the new address first answers with a license, for no more than 14 days. The move is skipped if such a subscription is already added. fallback-urlworks as in Happ: the main address gets one attempt (9 s orsubscription-request-timeout, no retries), then the same request — with HWID and bypassing the tunnel when the VPN is on — goes to the fallback.- It switches on network errors, timeout, DNS, TLS, a web page instead of a subscription and any 300–599 response, except responses with
x-hwid-*: an HWID or device-limit refusal is final. The subscription address does not change; the log marks the attempt as “fallback address”. - A fallback response without a license for the host that answered provides servers only: title, traffic, directives, branding and routing profile stay as before.
subscription-request-timeoutis the attempt timeout: 20 s by default, 9 s for the main address withfallback-url; a/jsonfetch — no longer than 15 s.
#App behavior
| Directive | Value | What it does | Version |
|---|---|---|---|
subscription-autoconnect | Flag | Connect a server of the subscription when the app starts | 2.2.0+ |
subscription-autoconnect-type | lastused, lowestdelay, random | Which server to connect | 2.2.0+ |
subscription-ping-onopen-enabled | Flag | Measure the subscription's servers when the app opens | 2.2.0+ |
ping-type | proxy, proxy-head, tcp, icmp | Measurement method in the server list | 2.2.0+ |
check-url-via-proxy | An http(s) link | Check address for measuring | 2.2.0+ |
proxy-ping-timeout | Seconds, 5–15 | Measurement timeout (5 by default) | 2.2.0+ |
subscriptions-sort-type | without, ping, alphabet | Server order | 2.2.0+ |
sort-order | none, ping, name | The same, INCY name | 2.2.0+ |
subscription-auto-update-open-enable | Flag | Update the subscription when the app opens | 2.2.0+ |
notification-subs-expire | Flag | Local subscription expiry reminders | 2.2.0+ |
Conditions and defaults
subscription-autoconnectfires once per app launch if the subscription is selected or nothing is selected, the VPN is off, the Wrabbit profile is installed and selected in the system, on-demand is off and the user's last action was not turning the VPN off. It never triggers a system prompt without consent and never takes over another app's VPN.subscription-autoconnect-type:lastused(default) — the previous choice in the subscription, otherwise Auto;lowestdelay— the subscription's Auto;random— a random server without the~mark. A subscription inonlymode always uses Auto. Auto-connect does not change the user's choice.subscription-ping-onopen-enabledmeasures only with the VPN off (measuring bypasses the tunnel), not during auto-connect and no more than once every 10 minutes; connecting interrupts the measurement.ping-type:proxy— GET through the proxy (default),proxy-head— HEAD,tcp— TCP connect time without the proxy;icmpfalls back totcp; Hysteria2 is always measured through the proxy. Auto does not use these directives: it measures with a request through the proxy, and only HTTP 2xx counts as an answer.subscriptions-sort-type:alphabet— by name without the flag,ping— by the last completed measurement; unmeasured ones go after measured ones, unreachable ones last.subscription-auto-update-open-enable— update on every open, but no more than once a minute; auto-update turned off by the user wins.notification-subs-expire: without the directive — 3 days before, a day before and at expiry;1— once a day for 3 days and at expiry, as in Happ;0— no app reminders.
#Network
Network directives apply only to servers of their own subscription and its Auto candidates: standalone servers and other subscriptions do not get them. Changing directives of the selected subscription reconnects the tunnel.
| Directive | What the client does | Version |
|---|---|---|
fragmentation-enable | Freedom fragment fragmentation: the link's fragment= parameter beats the directive, the directive beats the toggle; 0 turns it off even with the toggle on. Parameters fragmentation-packets (tlshello, all, 1-3), -length, -interval, -maxsplit (N-M) replace the tlshello / 100-200 / 10-20 defaults. A full JSON with its own fragment outbound — ours is not added | 2.2.0+ |
noises-enable | Noises only together with fragmentation. noises-packet-type (INCY noises-type): Happ array and str — each noises-packet line as a separate str, hex and base64 — with encoding checks, INCY rand — length N-M. Delay — noises-delay or 10-16 | 2.2.0+ |
mux-enable | Xray mux on VLESS, VMess, Trojan, SS proxies: mux-tcp-connections, mux-xudp-connections (−1…1024), mux-quic (reject, allow, skip). Not set on VLESS Vision, XHTTP and Hysteria2; in a full JSON — only if no template outbound has its own mux | 2.2.0+ |
exclude-routes | IPv4 and IPv6 CIDRs outside the tunnel — for links and for full JSON. IPv4 no wider than /8, four /8 in total at most; global IPv6 no wider than /32, ULA no wider than /16. No 0.0.0.0/0 or ::/0; must not cover the system DNS; together with other direct routes — 80 at most | 2.2.0+ |
include-all-networks-enable | 1 turns on “Kill Switch” (includeAllNetworks) for servers from the selected subscription. Applies on iOS 16+ and in the native app on macOS 13.3+. See availability and disconnection. | 2.2.0+ |
exclude-local-networks-enable | excludeLocalNetworks in the VPN profile for the selected server. Applies on iOS 16+ and in the native app on macOS 13.3+. | 2.2.0+ |
exclude-apns-enable | excludeAPNs in the VPN profile for the selected server. Applies on iOS 16.4+ and in the native app on macOS 13.3+. Changing subscriptions applies the new subscription settings or the defaults. | 2.2.0+ |
dns-from-json-enable | Full JSON: the tunnel's system DNS is the first usable IP from the template's dns.servers; if none — 1.1.1.1 and 1.0.0.1 | 2.2.0+ |
sniffing-enable | Inbound sniffing on top of the template: 0 — off (with FakeDNS only fakedns remains), 1 — on (http,tls,quic if the template has none) | 2.2.0+ |
server-address-resolve-enable | The server name is resolved by a DoH request to server-address-resolve-dns-ip with certificate checking against server-address-resolve-dns-domain (no address — 1.1.1.1). SNI and Host stay the name. 4 s timeout, cached for the TTL; if DoH fails — system resolution | 2.2.0+ |
#Your own Auto checks
wrabbit-service-checks is a Wrabbit extension, feature app, 2.2.0+. A JSON array of services, as is or base64:, up to 8 services. It replaces the default Auto list: YouTube, Instagram, Telegram, ChatGPT, Discord, WhatsApp — to keep them, list them too. Set it in the rule.
[
{
"id": "mysite",
"name": "My Site",
"domains": ["example.com"],
"checks": [
{ "url": "https://example.com/", "method": "HEAD", "expect": "200-399" }
]
}
]
id— lowercase Latin letters, digits,_and-, up to 32 characters;name— up to 40 characters.domains— up to 32 domains of the service;checks— up to 2 checks,urlover http(s).method—HEAD, or GET by default;expect—204,200-399,2xxor a comma-separated list; without it 200–399 passes.- An invalid service is skipped; if none is valid, the default list stays. How Auto uses the checks — Auto mode.
#Pushpush2.2.0+
Push has no directive in the subscription response: the push feature lets the provider send notifications through the Wrab API and Remnawave webhooks. Details — Push notifications.
#Example response
A subscription with links, branding, hiding, routing, a fallback address and auto-connect. All directives are headers.
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
profile-title: base64:RXhhbXBsZSBWUE4=
subscription-userinfo: upload=0; download=0; total=0; expire=1788000000
profile-update-interval: 12
announce: base64:UmVuZXcgd2l0aCAyMCUgb2ZmIHVudGlsIE5vdmVtYmVyIDMw
support-url: https://t.me/example_support
premium-url: https://example.com/account
sub-expire: 1
hide-settings: 1
routing: happ://routing/onadd/<base64-json>
fallback-url: https://backup.example.net/AbCdEf123456
subscription-autoconnect: 1
subscription-autoconnect-type: lowestdelay
wrab-license: <WRAB_LICENSE>
vless://uuid@nl1.example.com:443?type=grpc&security=reality&pbk=KEY&sni=cloudflare.com#NL-1
#Not supported
Absent on iOS and macOS or not applicable to the client — Wrabbit ignores them:
| Directive | Why |
|---|---|
per-app-proxy-* | Android and desktop |
tun-type, tun-enable, tun-mode | Not available on iOS and macOS |
proxy-enable, custom-tunnel-config | Not available on iOS and macOS |
socks-auth-*, http-auth-* | Not available on iOS and macOS |
subscription-alternative-hwid-enabled | Desktop |
app-auto-start | Not available on iOS and macOS |
block-bind-to-tunnel-enable | Android |
hide-vpn-icon | The system shows the VPN icon |
subscription-always-hwid-enable | HWID is sent with every request anyway |
What else sets Wrabbit apart from Happ and INCY and how to switch without breaking old clients — For providers: getting started.