Hi,
You can use your own BASH script to force your rules to the iptables firewall.
to verify what are the current rules you can use this command:
iptables -nL
If you want to wipe all of your rules, use this command:
iptables -F
if the rules are good enough for you and you want to save them, use this command:
iptables-save > /etc/sysconfig/iptables
Just another precaution:
If you are not sure at your commands, make sure that you can login to your server via the Linux console.
Thank you,
Daniel Friedman
Trixton LTD.