Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CSF Allow AND Ignore Cloudflare IPv4 IP's.
for i in `curl https://www.cloudflare.com/ips-v4`; do csf -a $i; done
for i in `curl https://www.cloudflare.com/ips-v4`; do echo $i >> /etc/csf/csf.ignore; done
@Mteigers

This comment has been minimized.

Copy link
Owner Author

Mteigers commented May 21, 2013

Don't forget to run csf -r after running that command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.