Application Security Task

I believe that I have saved the iptables successfully, but the error message is saying that “Either firewall rule was not added for Nginx port (8097) or rule was not permanently added on Backup server.”

The screen shot iptables command shows that 8097 port is added into the iptables.
@Inderpreet

To test your configuration you can restart the iptables service and run iptable -L and check the config.

To save iptables configuration run
iptables-save > /etc/sysconfig/iptables

Thank you very much for the reponse.