for example I want to block these IP's: 184.108.40.206 ~ 220.127.116.11
So I put on the form 111.111.111.*
which is translated into Nginx rules: 111.111.111.[0-9]+;
unfortunately Nginx won't accept that: ...[emerg] invalid parameter "111.111.111.[0-9]+" in ...
I Googled a bit and found that 18.104.22.168/24; worked
for a better rules I use these IP calculator: http://www.ipaddressguide.com/cidr#range