Something like
Code: Select all
firewall-cmd --direct --permanent --add-rule ipv4 filter INPUT_direct 0 -s 67.19.161.0/24 -j DROP
I would like to automate the process, cronjob that looks through the maillog for the highest volume rejects by IP or subnet and just block it for 3 days.
I am not very familiar with firewalld but I was unable to find a switch that makes it a time specified temporary rule. Is there one?
CentOS 7