Files
2021-08-13 05:36:07 -04:00

17 lines
901 B
Markdown

# Firewall IPWhitelist
Whitelist CloudFlare/TCPShield IPs on port your selection of ports <br />
The scripts support Fedora, RHEL, CentOS, Debian,and Ubuntu. <br>
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. <br />
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.