Ban whole class like 101.XXX.XXX.XXX - Is it a bad idea?

Status
Not open for further replies.

dv8inpp

Member
Jan 5, 2019
52
0
6
34
I notice a lot of attempts from specific ranges such as 106.16.x.x and 49.234.x.x

Fail2ban is adding these to the list but the list is getting bigger and bigger. Can I just ban these domains?

Can I just ban China?
 
Last edited:

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,038
556
113
Yes, there are geoip plugins for iptables that you can use, just google it.
 
Status
Not open for further replies.