Whitelisting Your Load Test Server IP at Cloudflare
Published: October 31, 2019
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.