Firewalld scripting to allow Amazon Web Service IPs

Posted by & filed under Uncategorized.

Firewalld replaces iptables in Redhat/Centos version 7. I needed to allow ssh from all US based Amazon Web Service IPs, and block all of the nonsense hacking attempts. Below is a quick script that generates the needed firewall rules. It requires jq and wget. “yum -y install jq wget” But first… Having ssh in the… Read more »