How To Forge has a great two-part article on using ipcop to set up a linux firewall. IPCop is a Stateful firewall built on the Linux netfilter framework.
The Perfect Linux Firewall, and Part 2 of that article go through examples of installing and configuring this GNU application including securing different zones, using DNS, SSH, […]