You can either put the commands into a file...
text file:
Code:
#!/bin/bash
iptables -I input blah
blah blah
Make sure the file has execute permissions and then put into /etc/init.d/filename
then chkconfig on filename
this method makes it easier to change and set iptable entries how you want them
DONE
OR
i beleive you can do iptables-save > /path/filename or something similar and it saves the current ip tables config to a file which then
then i beleive restore is possible by doing
iptables-restore < /path/filename
and then get that command to run on boot by entering it into the network set-up file or /etc/rc.d/rc.local
or something similar, rc.local method is better if you can't find it run a
find /etc/* -name 'rc.local'
hope this helps