From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Use firewalld rich rules

Use firewalld rich rules

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Use firewalld rich rules

- [Instructor] Let's talk for a moment about Rich Rules. Before we start you might want to check out the Man page for Rich Rules by typing in man space five space firewalld.richlanguage. Adding services and ports to zones is the easiest way of configuring your firewall and satisfies most firewall needs, however if you're used to using IP tables and having complete control over which packet goes where, you might want the granularity of firewall D Rich Rules. For example, if you want to accept all traffic from all but one host in a zone, you could do so with a Rich Rule. You could also have granular filters for ports as well. You can rate limit connections and log. This were normal IP tables functions that didn't fit within the standard add service and add port functions in Firewall D. A Rich Rule specifies a condition the packet must match, as well as an action on the packet if it does. The format to have a Rich Rule looks like this. First we have the name rule, then we have the family…

Contents