I want to block ip ranges of OVH and Leaseweb since I get so many scanning bots from them trying to pry open and test my website security.
The problem is I can't pinpoint a particular ip cause it changes frequently. So I'm down to just blocking the whole ip range.
My question is, what's the effective way to block the ip? CF, iptables or via web server (Apache/Nginx)? I heard its a drain on server's resources with too much ips in the ip list. Should one just use cloudfare?
The problem is I can't pinpoint a particular ip cause it changes frequently. So I'm down to just blocking the whole ip range.
My question is, what's the effective way to block the ip? CF, iptables or via web server (Apache/Nginx)? I heard its a drain on server's resources with too much ips in the ip list. Should one just use cloudfare?