Does any one out there know how to build a linux firewall box using Red hat 7.1

I have a 586 Pentium
Red Hat 7.1 Professional
two 10 based NICs
850 MB harddrive
32 megs ram or as much as needed

I need to know how to set one up for dialup networking and another one for cable modem.

Any help would be greatly appreciated.