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