I thought this is a nice FREE ebook for understanding IP tables and dealing with them. Hope you like it. Here is the link.