Auto update CloudFlare IP addresses for nginx IP Ranges Thanks Marek Bosman for inspiration INSTALL ( root user ) Clone repo cd /opt && git clone https://github.com/exploitfate/cfip.git chmod +x /opt/cfip/update.sh Run script /opt/cfip/update.sh Add cron task ( root user ) 0 0 * * * test -x /opt/cfip/update.sh && /opt/cfip/update.sh