I was browsing the internet looking for more quality documentation on iptables and I stumbled across this paper entitled "Towards the perfect ruleset" by Jan Engelhardt. It is a great resource for setting up a firewall in Linux.

Towards the perfect ruleset