Hello,
i had also problems to configure the firewall.
so i wrote a config file (iptables.ipt) with entries like:
iptables -A INPUT -i eth0 -m state --state NEW -p tcp --dport 32400 -j ACCEPT
and then i have put the line
/where/the/file_is/iptables.ipt
into my /etc/rc.local
it is not really lmce style, sorry and you probably already know this but otherwise i didn`t know how to get it working.