DOWNLOAD QUICKTABLES (a BASH SCRIPT TATH GENERATES ALL THINGS U NEED TO BECOME A BOX INTO A ROUTER AND EASY!!!!!!(FOR EXAMPLE: ppp0 to eth0 and wan0 to eth1)
The script ask u a few easy questions and the generates a file rc.firewall (put it in etc/rc.d/ folder and include in rc.local file the line
/etc/rc.d/rc.firewall (With THIS u WILL BE enableing routing for example from ADSL ppp0 to eth0)
Run quicktables again and generate another rc.firewall file (change the name)
Do the same thinbgs as above: like that u will be enabling for example wan0 (wireless conextion) routed to eth1
the dont make dhcpd service to start as a service
in etc/rc.d/rc.local file include:
dhcp eth0 eth1