How to Block All Except Cloudflare From Your Webserver

Today I’m going to show you how to quickly whitelist all of Cloudflare’s prefixes so that direct connection to your site is dropped. My goal in this is to make sure no naughty users ever go through my public IP. Please forgive the ugly bash since I usually just stick to Powershell 🙂   First …