LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

Rep: Reputation: Disabled
Deactivate a FirewallD Zone


Hi,

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
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,237
Blog Entries: 25

Rep: Reputation: 4340Reputation: 4340Reputation: 4340Reputation: 4340Reputation: 4340Reputation: 4340Reputation: 4340Reputation: 4340Reputation: 4340Reputation: 4340Reputation: 4340
This article looks like it might help: https://www.linuxjournal.com/content...configurations

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

Rep: Reputation: 89
Hi,

You can just make the zone inactive by removing any interfaces and sources from it.
 
Old 08-16-2019, 09:01 AM   #4
rdill
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
 
Old 08-23-2019, 03:12 AM   #5
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 468

Rep: Reputation: 89
Hi Bob,

I am sorry that we couldn't provide advices that suit you.

Personnally, firewalld gives me total satisfaction. I just had once to rely on its iptables backend to solve a problem related to KVM networking.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:30 AM.

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