ipset and Cloudflare
While setting up the server for this blog I stumbled across the problem to whitelist cloudflare’s ip ranges in iptables. After a quick search I realized a smart and efficient way to do this is using ipset. Thus I created a script to download the latest Cloudfare’s IPv4 ranges and create an ipset list out of it. ipset-cloudflare.sh #!/bin/bash # Created by antipatico (antipatico.ml) # Download the latest cloudflare's IPv4 ranges and create an ipset # named "cloudflare" you can later use in your iptables rules....