i am using WP and i see that there is one ip that constantely try to acess to my server admin interface…
and it getting blocked after trying to guess password ( i see it with a help of wordfence plugin…)
1 . what is the best way to block it ?
like this ?
iptables -A INPUT -s IP—ADRESS -j DROP
will this stay after reboot ? i don’t remember how to save it forever
Hm, I don’t know if it’s being catched by fail2ban ? But if it is, instead of manually messing with iptables (which is a complicated tool) I would rather recommend enabling the “recidive” jail in fail2ban