Are you wanting to learn IP tables or do you just want security? A
long time ago I was interested in making my own but the more I learned
the more I found out its just too big of a project to mess with. You
might want to look at something like
http://www.shorewall.net/
Im not sure how good firestarter will work with it but its worth a shot.