Hi there, my forum got spammed by indian people and it was hopeless no captcha helped, no antispam questions.
So the solution is this, blocking whole countries by adding whole IP blocks into .htaccess file.
Go there: http://ipinfodb.com/ip_country_block.php OR https://www.countryipblocks.net/country_selection.php
and there you can select if you want to geenrate pure IPs (simple list) or allow or denny list for .htaccess file. Or format for iptables linux firewall.
I have selected htaccess deny format and selected countries to block, i have choosen: Bangladesh, Botswana, India, Pakistan, Thailand, Vietnam, China
//Edit: This country list is probably better (forum, guestbook spam): # Chile, China, HongKong, Hungary, Pakistan, Russia, Thailand, Ukraine, Vietnam
#COUNTRY_BLOCK_START - Bangladesh, Botswana, India, Pakistan, Thailand, Vietnam, China
# http://ipinfodb.com/ip_country_block.php#blocklist
<Limit GET HEAD POST>
order allow,deny
deny from 27.131.12.0/22
deny from 27.147.128.0/17
deny from 49.0.32.0/19
...................
allow from all
</Limit>
#COUNTRY_BLOCK_END
So i pasted this code into my .htaccess file (located on your website folder, same location like yoursite.com/index.php , so you create yoursite.com/.htaccess
And paste generated data + save