-
-
Save BurakBoz/78cc7f24a4ddbfa4733276b798be31b0 to your computer and use it in GitHub Desktop.
CSF Allow AND Ignore Cloudflare IP's.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `curl https://www.cloudflare.com/ips-v4`; do csf -a $i; done | |
for i in `curl https://www.cloudflare.com/ips-v6`; do csf -a $i; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `curl https://www.cloudflare.com/ips-v4`; do echo $i >> /etc/csf/csf.ignore; done | |
for i in `curl https://www.cloudflare.com/ips-v6`; do echo $i >> /etc/csf/csf.ignore; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment