firewalld
The RHEL firewall daemon, configured with firewall-cmd through zones, services and ports.
In more detail
Rules exist in two sets: runtime, which applies now, and permanent, which is loaded at boot and at every reload. Add rules with --permanent and then --reload, or test at runtime and save with --runtime-to-permanent.
Examples
firewall-cmd --permanent --add-service=httpfirewall-cmd --reloadRelated terms
- firewalld zone — A named set of firewall rules that applies to traffic from given source networks or arriving on given interfaces.
- port — A number from 1 to 65535 that picks out one service on a machine, such as 22 for SSH or 80 for plain web traffic.
- SELinux port type — The SELinux type given to a network port number, which decides which confined services may listen on it.
Related guides
Taught in
- The Reboot That Fails You — Red Hat Certified System Administrator (EX200) Exam Prep
- Exam Strategy: Order, Verify, And The Docs You May Use — Red Hat Certified System Administrator (EX200) Exam Prep
- Repositories You Configure By File — Red Hat Certified System Administrator (EX200) Exam Prep
- NFS Client Mounts That Survive The Boot — Red Hat Certified System Administrator (EX200) Exam Prep
- firewalld: Zones, Services And Ports That Stay Open — Red Hat Certified System Administrator (EX200) Exam Prep
- SELinux Modes, And Why setenforce Is Not Enough — Red Hat Certified System Administrator (EX200) Exam Prep
- SELinux Ports And Booleans: The Other Two Refusals — Red Hat Certified System Administrator (EX200) Exam Prep
- Drill: Storage, Then SELinux, Then The Firewall — Red Hat Certified System Administrator (EX200) Exam Prep
- Graded On A Machine You Never Touched — RHCE in Ansible (EX294): Automate Red Hat Systems
- Anatomy Of A Playbook: Plays, Tasks And Modules — RHCE in Ansible (EX294): Automate Red Hat Systems
- Finding Modules In Collections: ansible-doc And navigator — RHCE in Ansible (EX294): Automate Red Hat Systems
- firewalld: Permanent, Immediate And The Reboot — RHCE in Ansible (EX294): Automate Red Hat Systems
- SELinux: Labels, Ports And Booleans That Persist — RHCE in Ansible (EX294): Automate Red Hat Systems
- Drill: A Web Node From A Ticket — RHCE in Ansible (EX294): Automate Red Hat Systems