L
Luis Pena
Guest
Hello all, i have recently gotten into server security and i was wondering if anyone of you fellow GNUser's (Gnu/Linux Users) knows how to block a range of ip's from a txt file.
for example, i want to have iptables read a list of ip's from a txt file ex: /etc/somthing/blockips.txt and block them.
the reason i was to do this is because there have been 10,000+ failed root logins (via ssh) from other regions of the world (china, russia, etc). is it even possible to do this via iptables? or should i have to write a script?
i have to maintain an ssh server, i have disabled root log in and changed the default 22 port. Should i have done this?
i am running a fedora server.
for example, i want to have iptables read a list of ip's from a txt file ex: /etc/somthing/blockips.txt and block them.
the reason i was to do this is because there have been 10,000+ failed root logins (via ssh) from other regions of the world (china, russia, etc). is it even possible to do this via iptables? or should i have to write a script?
i have to maintain an ssh server, i have disabled root log in and changed the default 22 port. Should i have done this?
i am running a fedora server.