centos firewall cmd get all sources and ips code example
Example: how to add source ip in firewalld
sudo firewall-cmd --zone=<name> --permanent --add-source=<source>
sudo firewall-cmd --zone=<name> --permanent --add-source=<source>