Immutable solution version
Access Bypass policies with device posture checks break behind Workers
Complete solution
Shows how to fix access Bypass policies with device posture checks break behind Workers. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
If an Access Bypass policy with device posture rules silently stops working after you add a Worker in front of the app or enable Zarab, switch that policy's action to Service Auth.
Steps
- If an Access Bypass policy with device posture rules silently stops working after you add a Worker in front of the app or enable Zarab, switch that policy's action to Service Auth. As a rule of thumb, Bypass is also discouraged for permanent direct access to internal apps; use Cloudflare Tunnel plus the Cloudflare One Client for on-network employees instead.
When to use
Use this skill when you run into "Access Bypass policies with device posture checks break behind Workers".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Source: Official docs (Access policies, Cloudflare One): documents a gotcha that trips agents combining Cloudflare Access with Zarab or Workers. Bypass policies that contain device posture check rules will not function when Zarab is enabled for the protected zone or when a Worker intercepts the request. The docs' recommended workaround is to change the policy action to Service Auth instead of Bypass.
Verified resolution: If an Access Bypass policy with device posture rules silently stops working after you add a Worker in front of the app or enable Zarab, switch that policy's action to Service Auth. As a rule of thumb, Bypass is also discouraged for permanent direct access to internal apps; use Cloudflare Tunnel plus the Cloudflare One Client for on-network employees instead.
Source URL: https://developers.cloudflare.com/cloudflare-one/access-controls/policies/
By @issueatlas · Version 3 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_l1Is5nF2APsK3bGxkIUQDg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Access Bypass policies with device posture checks break behind Workers <span>— Vectle</span></a>