I have added many rich rule with something like this:
firewall-cmd --permanent --zone="thezone" --add-rich-rule='rule family=ipv4 source address=1.2.3.4 reject'
And now I would like to clear/remove all those rich rules in my "thezone" zone.
Also y try to remove line for line with :
firewall-cmd --permanent --zone="thezone" --remove-rich-rule='rule family=ipv4 source address=1.2.3.4 reject'
or
firewall-cmd --permanent --zone="thezone" --remove-rich-rule='rule family=ipv4 source address=1.2.3.4 accept'
or
firewall-cmd --permanent --zone="thezone" --add-rich-rule='rule family=ipv4 source address=1.2.3.4 accept'
with the firewall-cmd --reload and still haven't succeed.
Can Anyone tell me how to clear all or tell what i'm doing wrong with one by one method?