HWID and device limit
HWID is a device identifier the panel uses to count a subscriber’s devices and limit their number. Wrabbit sends it for free, to any provider and in every subscription request — with the same header names as Happ and INCY. The Remnawave device limit works with Wrabbit without any setup on the app side.
#What goes to the subscription serverFree
GET /<SHORT_UUID> HTTP/1.1
Host: YOUR-DOMAIN
User-Agent: Wrabbit/2.2.0
x-hwid: 3F2504E0-4F89-41D3-9A0C-0305E82C3301
x-device-os: iOS
x-ver-os: 26.0.1
x-device-model: iPhone15,3
Cache-Control: no-cache
Pragma: no-cache
| Header | Value | Example |
|---|---|---|
x-hwid | A random UUID of this installation, 36 characters with hyphens | 3F2504E0-4F89-41D3-9A0C-0305E82C3301 |
x-device-os | iOS on iPhone and iPad, macOS on a Mac. 2.1.0 sends iOS on a Mac | iOS |
x-ver-os | System version “major.minor.patch”; on a Mac — the macOS version | 26.0.1 |
x-device-model | Model: iPhone15,3, iPad13,4; on a Mac — Mac14,2. 2.1.0 sends arm64 on a Mac | iPhone15,3 |
User-Agent | Wrabbit/<version>; 2.1.0 — exactly Wrabbit | Wrabbit/2.2.0 |
- The headers go with every subscription request: the main address,
/json, “Subscription check”, thefallback-urlbackup address and the trial load of a new address during a move. No license is needed — in 2.1.0 as well. - Besides them the client sends
Cache-Control: no-cacheandPragma: no-cache, and builds that decrypt bodies also sendx-wrabbit-decrypt. All request headers — Headers reference. - Only the subscription server receives these headers. HWID never goes to Wrabbit servers — details in Privacy.
#One device — one HWID
- The HWID is created on the first request and stored in this device’s Keychain. It survives reinstalling the app: a subscriber who deletes and reinstalls Wrabbit does not take a second slot in the limit.
- One person’s iPhone, iPad and Mac are three different HWIDs and three slots in the limit.
- All subscriptions on a device send the same HWID.
- In “Subscription check” 2.2.0 shows only the tail —
…3C3301, the last 6 characters. The provider uses it to find the device in the user’s HWID list in the panel.
#Device limit in Remnawave
#Turn on HWID in the subscription settings
In the panel this is the
hwidSettingsblock of the subscription settings:enabledturns the check on,fallbackDeviceLimitis the limit for users without their own,maxDevicesAnnounceis the text for someone who hit the limit (up to 200 characters). By default the check is off andfallbackDeviceLimitis 999. In Remnawave 3.x an external squad’shwidSettingsreplace the global ones entirely: if a squad has its own, enable the check there too.#Set a limit for a useroptional
The user’s
hwidDeviceLimitfield takes precedence overfallbackDeviceLimit.0means no limit: devices are only recorded in the list.#Check the panel response
A request like Wrabbit 2.2.0 makes, without a phone. With Remnawave 2.8.1 and later the response should contain
x-hwid-active: true(2.7.4 sends nox-hwid-*flags in a successful response).x-hwid-limitcomes only in a refusal: when the limit is used up orx-hwidis missing.HWID checkbash curl -sS -D - -o /dev/null \ -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>' | grep -i '^x-hwid'
| What | 2.7.4 | 2.8.1 | 3.0.0 — 3.4.8 |
|---|---|---|---|
x-hwid format check | No: any non-empty value works | No | ^[a-zA-Z0-9=-]{10,64}$, otherwise the header is ignored. The Wrabbit UUID passes |
Truncation of x-device-* and User-Agent | No | No | To 512 characters |
disableHwidCheck in a response rule | No | Yes | Yes |
disableHwidCheck: true in a response rule turns the limit check off for requests that match that rule. Do not put it in the Wrabbit rule: the limit would stop working for every Wrabbit subscriber.
#Panel responses
When a device fails the check, Remnawave answers with status 200, an empty body and x-hwid-* flags. If custom stubs are turned on in the subscription settings (isShowCustomRemarks), stub entries come instead of the empty body.
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
x-hwid-limit: true
x-hwid-active: true
x-hwid-max-devices-reached: true
announce: base64:<base64(maxDevicesAnnounce)>
| Response header | When the panel sends it | What Wrabbit does |
|---|---|---|
x-hwid-limit: true | The limit is on, in every refusal | Shows it in “Subscription check” |
x-hwid-active: true | The limit applies to this user | Shows it in “Subscription check” |
x-hwid-max-devices-reached: true | A new device over the limit | No servers: “The subscription’s device limit has been reached. Remove an old device in your provider’s dashboard.” plus the stub text, if any |
x-hwid-not-supported: true | The request came without x-hwid | “The provider didn’t receive the device ID (HWID). Contact its support.” |
announce | The maxDevicesAnnounce text when the limit is reached | An announcement on the subscription card if the license has brand |
- A refusal with status 200 and no servers makes the subscription inactive: the servers disappear and the card shows the reason. If a proxy in front of the panel turns the refusal into a 4xx response with the same flags, the previous servers stay and the user sees the same reason.
- A stub response — every entry with the address
0.0.0.0,127.0.0.1or::— is not treated as servers: the user sees the entry names as the reason. - An HWID refusal is final: the client neither bypasses it by loading outside the tunnel nor falls back to
fallback-url. x-hwid-not-supportedwhile Wrabbit always sendsx-hwidmeans something on the way stripped the header — a CDN, a proxy or nginx in front of the panel. Let thex-hwid,x-device-os,x-ver-os,x-device-modelheaders through to the panel.
All load error texts and what to do about them — Troubleshooting.
#Loading with the VPN on
Subscriptions are often updated while the tunnel is up, and the node’s exit IP may be blocked by the panel (WAF, geo filter). So the client on iPhone and iPad repeats the request outside the tunnel when needed — with the same headers, HWID included, and the same User-Agent. For the panel this is the same request from the same device; it takes no second slot in the limit.
- The request goes through the tunnel. On a transient error — a dropped connection, 502, 503, 504 — it is retried once through the tunnel.
- If there is no answer within 3 seconds, or a network or TLS error or HTTP 403, 429 or 5xx arrives, the same request starts in parallel outside the tunnel. The first successful answer wins.
- A final panel answer through the tunnel — 404, an HWID refusal, the device limit — becomes the result right away: the bypass does not mask it.
- An answer outside the tunnel is limited to 2 MiB. Larger — “The subscription server’s response is too large.”
/jsonis loaded the same way.
Which path each attempt took — direct, via VPN or outside the VPN — is shown in the “Subscription fetches” log (Settings → Logs) and in the “RESPONSE” section of “Subscription check” — Logs.