On 12/21/20 5:37 PM, Mauricio Tavares wrote:
So I created a zone so I could put apply the same rules in a set of networks firewall-cmd --permanent --new-zone=pickles firewall-cmd --permanent --zone=ldap --add-source=192.168.102.0/24 firewall-cmd --permanent --zone=ldap --add-source=192.168.10.0/24 firewall-cmd --permanent --zone=ldap --add-source=192.168.3.0/24 firewall-cmd --permanent --zone=ldap --add-service=pickles firewall-cmd --reload Let's say I want to temporarily disable it. How can I do that? RIght now best I can do is completely delete it firewall-cmd --permanent --delete-zone=pickles firewall-cmd --reload which seems to be a bit harsh (good thing I documented my zone creation so I can just past the above commands and be done)
According to: https://fedoraproject.org/wiki/Firewalld?rd=FirewallD#System_configuration_settings_in_.2Fetc.2Ffirewalld Configuration files are in: /etc/firewalld/zones You might make a copy of a configuration file for later use. _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos