Disabling a firewalld zone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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)
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux