This script will create an initrd for firewall/router appliance that expects 2 standard ethernet devices, one facing the DSL router going to the internet and one facing the internal network. It uses udhcp to assign internal addresses to machines on the internal network. The creation script prompts if you want to install dansguardian (filtering) and dropbear (ssh server). if installed, dansguardian is pre setup and initialized on boot. To be able to log into the ssh server from a different machine, you will need to set a password on the router and back up /etc/shadow. Edit the variables at the top of the script if you have different device names or need different net settings than the default.
The resulting initrd can be found in /tmp. Place if in the /tce directory or in a remaster, and if loaded during boot it should boot up and just work with the preconfigured settings.