What's wrong with this picture?? (See Code Below)
iptables -N PBX_CUST
iptables -A PBX_CUST -p tcp -m tcp --dport 5038 -j ACCEPT
iptables -A PBX_CUST -p tcp -m tcp --dport 50000 -j ACCEPT
iptables -A PBX_CUST -p tcp -m tcp --dport 50003 -j ACCEPT
iptables -I INPUT 54 -j PBX_CUST
service iptables save
Although the iptables configuration is saved (and is confirmed still saved to /etc/sysconfig/iptables even after a reboot) this is not the configuration that is loaded on boot. I have checked /etc/rc.d/init.d/iptables and from what I can tell (and I will admit I'm a little lost in that file) it doesn't appear to be trying to load any configuration information from anywhere else. (/etc/init.d is a symlink to /etc/rc.d/init.d just FYI)
It should be mentioned however that iptables is getting populated from somewhere however as the settings configured on the table prior to my edits are what is getting restored on boot up.
What am I doing wrong? I'm literally pulling out my hair over here...
CentOS release 5.5 (Final)