sudo nano /etc/hosts.deny
add the following line at the end of the file to block the particular IP address
ALL: 192.168.0.10
https://youtu.be/Kv5IsvA90oU