Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 515 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 515 Bytes

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