Files
Firewall-IPWhitelist/README.md
T
2020-01-03 03:45:20 -05:00

532 B

Cloudflare IPWhitelist

Whitelist CloudFlare's IPs on port 80/443
This script supports Fedora, RHEL, CentOS, Debian,and Ubuntu.
curl -sSL https://raw.githubusercontent.com/tommytran732/Cloudflare-IPWhitelist/master/cloudflare.sh | sudo bash

Notes

Before you run the script, makes sure you have not opened port 80/443 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.