add firewal rules to public zones code example Example: how to add source ip in firewalld sudo firewall-cmd --zone=<name> --permanent --add-source=<source>