Free Online Tools
.htaccess Ban Generator
Restrict by IP address or Domain
You can use .htaccess to ban or allow access to your web site by IP address or Domain.
Valid IP Addresses
IP addresses are in the form xxx.xxx.xxx.xxx and each of these four numbers is from 0-255
You can enter partial addresses to restrict larger blocks of addresses:
126.96.36.199 -Blocks one specific IP address
1.2.3. -Blocks IP address in the range 188.8.131.52 to 184.108.40.206 (ie.. 1.2.3.xxx)
1.2. -Blocks IP address in the range 1.2.xxx.xxx
1.2 -Blocks IP address in the range 1.2xx.xxx.xxx
or just domain name
Be careful when blocking blocks of IPs as you might be blocking legitimate traffic!