Find (View) Default Zone for Firewall on CentOS 7

  • Last Created On Dec 10, 2024
  • 6
0 0

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 AKLWEB Host Core Managed CentOS 7 server, and I’ll be logged in as root.

Note: When network interfaces added to firewalld they are assigned to the default zone.

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.

Note: When network interfaces added to firewalld they are assigned to the default 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.

Views: 6

Recent Articles

  • How to Install JAX with ROCm Acceleratio...
    96
  • Deploy a PyTorch Workspace on a Vultr Cl...
    71
  • Managing Backup Storage
    82
  • Automating FTP Backups in Windows Server
    71
  • Automating FTP Backups in Linux
    75

Popular Articles

  • Our General Terms & Conditions
    2631
  • Our Privacy Policy
    2477
  • Our Cookies Policy
    275
  • Our Terms of Use
    152
  • How to Install JAX with ROCm Acceleratio...
    96