Can you please check why the task has been marked as failed? I hope I have done the set up and made the rules persistent. I’d be happy to hear your feedback. Thanks!
Login to backup server and added the below two rules
sudo iptables -A INPUT -p tcp --dport 8085 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 8093 -m conntrack --ctstate NEW -j REJECT
Followed by the below command to save the changes
sudo iptables-save > /etc/sysconfig/iptables
And finally checked the below config file for the rules to be present. (Attached snippet)