Files
Firewall-IPWhitelist/README.md
T
2020-05-13 06:17:04 -04:00

545 B

Cloudflare IPWhitelist

Whitelist CloudFlare's IPs on port your selection of ports
This script supports Fedora, RHEL, CentOS, Debian,and Ubuntu.
bash <(curl -sSL https://raw.githubusercontent.com/tommytran732/Cloudflare-IPWhitelist/master/cloudflare.sh)

Notes

Before you run the script, makes sure you have not opened those ports to all IPs as it will make this script useless.
If you run SSHD on a port different from 22, make sure you have it opened or just change the command ufw allow 22 to your appropriate port.