If you are not familure with IPtables, and do not want to learn the commands, you can use the free, and very hand APF wich links into IPtables for you, giving you a couple text files to edit to set it up, and to view the IPs that are being blocked, very usefull for the command line hater!
Just google APF!