IPTables Install and configuration task

Hi,

I am certain that I saved all the firewall rules on all the app servers but the task came back as failed and claimed that I had not saved them on the app1 server. Also I was going to go back to the app1 server to take a screenshot as it claimed that I had 5 minutes and I could send this to prove my case but the environment went offline right away.

Could someone check this? Thanks

cheers

Hi @GB1972

I just reviewed your answer and found that you saved the rules in /etc/iptables.conf file however you never restored/saved them to the original file i.e /etc/sysconfig/iptables so rules were not considered permanent.

Thanks
Inderpreet

1 Like

ah… ok that makes sense :slight_smile: My mistake.

Thanks

To save the configuration correctly you need to execute:
service iptables save

1 Like