tag: iptables

ipset and Cloudflare

9 Sep, 2018 - 1 minutes
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 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 #!