Blocking Ip address ranges

Robert Slade fedora at
Tue Jan 25 17:27:28 UTC 2005


I'm using FC2 and my Web Server keeps getting attacked by from a number
of sources (Korea, China, France) which is filling the logs up with
rubbish. I have been adding the IP addresses to IPtables, but it is a
bit of a pain to keep doing this as there are quite a few attacks from
different IPs. Is there an easy way of doing this? I'm thinking of
setting up a rule in Iptables to point to a file which I can easily add
the IP addresses that I need to block. Is this possible and what would
be the syntax?



More information about the users mailing list