Recently I needed to load test an application that sat behind Cloudflare. I tried Google and didn’t find much beyond a thread on the Cloudflare forum’s titled “How to whitelist load testing IPs”.
The thread concludes with sandro suggesting using an “access rule”.
But what is an access rule?
At first it seemed it was something you’d configure via the “Access” link in the Cloudflare dashboard.
However, when I read the description of Cloudflare Access I became skeptical as to whether or not I was in the right place…
Access protects internal resources by authenticating against identity providers you already use. With Access, you can control which users and groups can reach sensitive materials without a VPN or making code changes to your site.
Fortunately some more careful Googling brought me to the “Configuring IP Access Rules” Cloudflare Support article.
I can confirm that I was able to load test the site successfully by configuring a “Whitelist” access rule as instructed in that support article.
Hi, I'm Max!
If you'd like to get in touch with me the best way is on Twitter.