Cloudflare Origin Bypass Verification Test Card

How can a small business verify that visitors cannot bypass Cloudflare and reach its origin?

Test both success and rejection. Confirm that the normal proxied hostname works, then check that direct origin access does not serve the website and that traffic routed through an unauthorised Cloudflare configuration or lacking the expected secret is rejected. Record the time, route, expected result, actual result and any Cloudflare or origin error evidence before approval.

Set the pass condition before testing

A website is not fully protected by Cloudflare when its origin IP address remains directly usable. The protected state is one in which the server accepts web traffic only through Cloudflare or through a private tunnel. Write a pass condition that requires the authorised route to work and each listed bypass route not to serve the website.

Sources: How to Prevent Direct Access to Your Website Origin Server - Libyan Spider Knowledge Base.

Use a structured method to define expected results before testing a live security control.

  • Define success for the normal hostname.
  • Define rejection for each unintended route.
  • Test only infrastructure you own or are authorised to assess.

Check the authorised visitor path first

Check representative public pages and critical business journeys through the normal hostname before testing rejection paths, so an outage is not mistaken for a security success. Record the time, route, expected outcome and actual outcome for each check.

If the authorised path fails, retain the Cloudflare 5xx response evidence needed for investigation before changing further controls.

  • Check representative public pages.
  • Check critical business journeys.
  • Record faults instead of treating them as a pass.

Check that direct origin access is rejected

Using only authorised access methods, check whether the directly reachable origin path serves the website and record the result rather than assuming the proxy closed it. A direct path that still serves the website is a no-go result requiring remediation, not a minor documentation issue.

  • Use an authorised direct-origin check.
  • Do not assume proxy status closes the direct path.
  • Record whether the website is served.

Check the unauthorised Cloudflare route

A Cloudflare IP allowlist can be bypassed by another Cloudflare account that points a domain at the exposed origin IP. A zone-tied secret token blocks that vector because only the authorised Cloudflare configuration knows the secret value. Where the business has an authorised test method, verify that a request without the expected configuration proof is rejected and does not serve the website.

Sources: Protecting your website from direct requests that bypass Cloudflare.

  • Test the separate Cloudflare-routed risk case.
  • Check a route that lacks authorised configuration proof.
  • Never test infrastructure without authorisation.

Record results and make a go-or-no-go decision

Use one result row for each route, recording route, expected result, actual result, time, evidence, owner and recovery action. Approve only when the authorised path works and all listed bypass paths fail; otherwise record remediation or invoke the controlled recovery plan.

Use a process for reviewing misses and false positives, and retain an incident evidence format if an origin restriction causes a service failure.

  • Keep one row per tested route.
  • Record evidence and ownership.
  • Approve only when every required result passes.

Authorised-path and bypass-path result card

Record one row for each authorised or bypass route tested. The card supports a go-or-no-go decision without storing secret values.

Route testedExpected resultActual resultTime and evidenceOwner and recovery action
Normal Cloudflare hostnameWebsite and critical journeys work.Record observed result.Record time and relevant Cloudflare or origin evidence.Name reviewer and action if it fails.
Direct origin pathDoes not serve the website.Record observed result.Record time and relevant evidence.Name reviewer and remediation action.
Unauthorised or unverified routeDoes not serve the website.Record observed result.Record time and relevant evidence.Name reviewer and recovery or remediation action.

Test only infrastructure the business owns or is authorised to assess. A failure of the authorised path is an operational fault to investigate, not proof that origin protection succeeded.

When this is not the right approach: Do not use this card to authorise testing against systems you do not own or administer. It is an acceptance record, not a substitute for current provider documentation or a complete deployment procedure.

What follow-up questions matter most?

Is a working hostname enough to approve origin protection?
No. Confirm the normal hostname first, then separately record whether direct origin access and unauthorised routes are rejected.
What should the test record include?
Keep the route, expected result, actual result, time, evidence, owner and recovery action. Do not record a secret value in the result card.

What steps does this workflow follow?

Run an origin bypass verification test

  1. Set pass and fail results: Define the authorised hostname result and the rejection result expected for each unintended route before testing.
  2. Test authorised access: Check representative public pages and critical business journeys through the normal Cloudflare hostname.
  3. Test bypass paths: Assess only authorised infrastructure and record whether direct and unauthorised routes serve the website.
  4. Decide and document: Approve only when the authorised path works and every listed bypass path fails; otherwise remediate or use the recovery plan.