You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tommy 7c28867469
Update LICENSE
1 year ago
LICENSE Update LICENSE 1 year ago
README.md Update README.md 2 years ago
cloudflare-vmmanager.sh Update cloudflare-vmmanager.sh 1 year ago
cloudflare.sh Update cloudflare.sh 1 year ago
tcpshield.sh Update 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.