Adding a Firewall Rule for blocking Server IP Address

How to Add a Firewall Rule