firewalld zone
A named set of firewall rules that applies to traffic from given source networks or arriving on given interfaces.
In more detail
A connection uses the zone of its source address if one matches, otherwise the zone of its interface, otherwise the default zone, public on a fresh machine. --get-active-zones shows which zones hold sources or interfaces.
Example
firewall-cmd --permanent --zone=internal --add-source=172.25.250.0/24Related terms
- firewalld — The RHEL firewall daemon, configured with firewall-cmd through zones, services and ports.
- CIDR — A compact way to write a range of IP addresses, such as 10.244.0.0/24, where the number after the slash says how many leading bits are fixed.
Taught in
- The Reboot That Fails You — Red Hat Certified System Administrator (EX200) Exam Prep
- firewalld: Zones, Services And Ports That Stay Open — Red Hat Certified System Administrator (EX200) Exam Prep
- firewalld: Permanent, Immediate And The Reboot — RHCE in Ansible (EX294): Automate Red Hat Systems