I have a case where I want to ban specific IP address on my VPS. To ban the IP's I use SSH Access with this code:
iptables -I INPUT -s my-ip-here -j DROP
The case wich I want to ban is as following. Ex:
I have an IP address in following format 18.104.22.168 i.e. The first three octets are always same 84.252.55 and only the last octet changes everytime when I got the spammer.
Can I ban 84.252.55 and how will it reflect on the server?