|
1 year ago | |
---|---|---|
LICENSE | 1 year ago | |
README.md | 2 years ago | |
cloudflare-vmmanager.sh | 1 year ago | |
cloudflare.sh | 1 year ago | |
tcpshield.sh | 1 year ago |
README.md
Firewall IPWhitelist
Whitelist CloudFlare/TCPShield IPs on port your selection of ports
The scripts support Fedora, RHEL, CentOS, Debian,and Ubuntu.
Whitelist Cloudflare on your firewall (generic):
bash <(curl -sSL https://raw.githubusercontent.com/tommytran732/Firewall-IPWhitelist/master/cloudflare.sh)
Whitelist Cloudflare for VMmanager:
bash <(curl -sSL https://raw.githubusercontent.com/tommytran732/Firewall-IPWhitelist/master/cloudflare-vmmanager.sh)
Whitelist TCPShield on your firewall:
bash <(curl -sSL https://raw.githubusercontent.com/tommytran732/Firewall-IPWhitelist/master/tcpshield.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.