Add a UFW deny rule for ?
deny
This runs ufw deny from <ip> to any on the server.
ufw deny from <ip> to any