Hey was trying to solve it but for some reason it was failed, commands used on all 3 app servers - sudo yum install -y iptables iptables-services
sudo iptables -A INPUT -p tcp --dport 5003 -s 10.244.97.169 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 5003 -j REJECT
sudo iptables-save
attaching a screenshots of the load balancer server curl command to stapp01 and jumpserver curl command that’s being blocked
Can you check why?
You have to tell iptables-save where to save the rules to, or it just prints output to the console. For Red Hat/CentOS systems like this, that is /etc/sysconfig/iptables
So
iptables-save > /etc/sysconfig/iptables
