I have been an e-smith user since pretty close to the beginning. We were working on a similar project and got permission from Charlie to include the 3.x template system in our project. Now we are running several pure e-smith boxes (albeit customized), and I have not had many complaints that havent been fixed. This is one problem that I just have not been able to figure out.
We are using the 4.1.2 templates and for some reason I cannot port forward any port under 1000. Currently, I call this portforwarding script from the last part of the masq script, but for some reason, if I have disabled the ftp/pop/http/smtp daemons on the e-smith box it will not allow me to forward that port to an internal server. The only "work-around" I have is to use another binary rediretor (redir), or turn on the services locally and then use port forwarding. My question is where are the other settings that keep those ports from being used unless the daemons are running? I know this doesnt happen on plain-jane redhat boxes, so I assume this is an e-smith setting. Any suggestions? Here is an excerpt from my /etc/rc.d/init.d/portforwarding script so you know the three commands I run on any port I plan to use. Thanks in advance!
# Forward ports for ftp server
ipchains --append output ! -y -p tcp -d 0/0 -s $OUTERNET 21 -j ACCEPT
ipchains --append input -p tcp -d $OUTERNET 21 -j ACCEPT
ipmasqadm portfw -a -P tcp -L $OUTERNET 21 -R $LOCALIP 21