Find (View) Default Zone for Firewalld on CentOS 7
Pre-Flight Check
- These instructions are intended for finding (viewing) the default zone in Firewalld on CentOS 7 via the command line.
- I’ll be working from a Liquid Web Core Managed CentOS 7 server, and I’ll be logged in as root.
Zones enhance an administrator’s capability to define trusts and restrict network traffic. On installation and without any configuration, the default zone for firewalld is set to the public zone.
Find (View) Default Zone for Firewalld
firewall-cmd --get-default-zone
public
In this case the default zone is the public zone. The default trust level of this zone is to not trust the other servers on the network. Only chosen incoming connections are accepted.
Related Articles:
![Avatar for J. Mays](/static/b9bfb850e038ebe4b3c49dd278744eee/9ca7a/b0da076b6e8552394da33fe3381a19fc.png)
About the Author: J. Mays
As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
Latest Articles
Useful Features in cPanel for Your Sites
Read ArticleUseful Features in cPanel for Your Sites
Read ArticleHow to Clone a Drupal Site to Another Domain
Read ArticleAccessing Man Pages on Ubuntu 16.04 LTS
Read ArticleWhat is VMware Fusion?
Read Article