Application Security - Error Validation

  • Either firewall rule was not added for Nginx port ‘8092’ or rule was not permanently added on Backup server

  • This error message is not correct , I have run the below command and i did the checks. I dont know what i have missed as its working in validation.

firewall-cmd --zone=public --permanent --add-port=8092/tcp
firewall-cmd --zone=public --permanent --remove-port=5004/tcp
firewall-cmd --reload

Note: Before I have tested the port from jump server and it was not working. after relaod its started working. Always high value experience tasks are getting failed without any reasons and its creating unnecessary stress also.

Regards
Arun B

I have the same resolve response - failed.
I mention that I accept only ports 22 and 8091 for both ip4 and ip6 and reject all other ports, as you can see from /etc/sysconfig/iptables and …/ip6tables.
It’s a wrong solution?

@dumitru.dinca I think you also had to add rule for Apache port as per question which you missed so task was supposed to fail.

@Inderpreet - Can you please check and feedback as I have missed step to get this tasks fail ?

firewall-cmd --zone=public --permanent --add-port=8092/tcp
firewall-cmd --zone=public --permanent --remove-port=5004/tcp
firewall-cmd --reload

@arunbalajil thanks for details, marked it Success for you.