Block an IPv4 IP Address using firewalld on Linux

sudo firewall-cmd --add-rich-rule='rule family=ipv4 source address=192.168.18.188 reject' --permanent

success

sudo firewall-cmd --reload

success

Comments