If you haven't yet, have a look at Alien Bob's Slackware adaptation of Easy Firewall Generator for IPTables.
Even if you don't use its output unaltered, it might give you useful guidance.
It includes notes about what it is and what it isn't.
It contains links to other useful resources.
http://www.slackware.com/~alien/efg/