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/24

Related terms

Taught in

References

Certification courses