I use a .htaccess file to block a particular IP range from accessing a site due to an abusive user.
That one uses the 22.214.171.124 and 1.2.3.* patterns
here is what I use:
allow from all
deny from 126.96.36.199
deny from 1.2.3.
I don’t think you need to use the *
create the text file, upload it as htaccess to the directory you want, then change the NAME of the file to .htaccess on the server once it has been uploaded.
well, that’s what I do. someone else may do it easier.