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