Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-13-2019, 09:21 AM   #1
LQ Newbie
Registered: Jun 2017
Posts: 4

Rep: Reputation: Disabled
Deactivate a FirewallD Zone


Can anyone tell me if there is a way to deactivate a zone in firewalld? I've read through the man pages, and I can't find any option like that.

~ Bob
Old 08-13-2019, 08:14 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,202
Blog Entries: 25

Rep: Reputation: 4331Reputation: 4331Reputation: 4331Reputation: 4331Reputation: 4331Reputation: 4331Reputation: 4331Reputation: 4331Reputation: 4331Reputation: 4331Reputation: 4331
This article looks like it might help:

I don't have any personal experience with this.
Old 08-14-2019, 03:21 AM   #3
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 467

Rep: Reputation: 89

You can just make the zone inactive by removing any interfaces and sources from it.
Old Yesterday, 09:01 AM   #4
LQ Newbie
Registered: Jun 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi Frankbell and Tshikose,

Thank you both for attempting to answer this question. I guess there is not way to deactivate a rule without changing it. I don't like the idea of having to remove all the sources from a zone just to deactivate it. I might have a bunch of IP's listed there. I wonder why they didn't build something like that into firewalld. I would love to be able to switch the firewall configuration to temporarily block almost all traffic except for a few servers and myself while I apply an upgrade, and then switch the configuration back to the way it was.

Most of my experience is with IP tables, and I'm really not enjoying the switch to firewalld.

~ Bob


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Understanding Firewalld in Multi-Zone Configurations LXer Syndicated Linux News 0 02-02-2017 08:40 AM
I find file zone in the slave zone to the do a transfer of zone from Windows Server 2012 as master dns and CentOS as slave DNS. To learn Linux - Newbie 1 09-02-2016 09:36 AM
[SOLVED] Firewalld zone allows source address access. gctaylor1 Red Hat 2 04-13-2016 09:44 AM
[SOLVED] Selecting the correct firewalld zone borgy95 Linux - Networking 1 06-25-2015 05:03 AM
Which zone bind dns work either in forward zone are reverse zone sanjay87 Linux - Server 2 06-05-2012 04:21 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration