I tried task for IPtables Installation And Configuration and failed it.
“Rule was not added permanently on App server 1”
Following are the steps that i did.
yum install iptables-services
systemctl start iptables
systemctl enable iptables
ADDED BELOW line to Iptables
iptables -I INPUT ! --src 172.16.238.14 -m tcp -p tcp --dport 5000 -j DROP
Removed one rule from both app02 and app03 since it was blocking all protocols
iptables -D INPUT 5
service iptables save
Below are the screen shorts
I was able to ping app server from loadbalancer server by using
What did i do wrong?