Day 13: IPtables Installation And Configuration - task failed

Hi KodeKloud Team,
Greetings of the day!

I’m reaching out regarding the Iptables Installation and Configuration task. I’ve attempted it more than twice, but I’m still unable to find the correct solution. It seems I might be missing something or going wrong at a certain step.

Could you please assist me in resolving this issue?

Looking forward to your guidance.

CMD USED:

sudo yum install -y iptables-services
sudo iptables -A INPUT -p tcp --dport 3004 -j DROP
sudo iptables -I INPUT 2 -p tcp -s 172.16.238.14 --dport 3004 -j ACCEPT
sudo service iptables save

BR,
SK Gupta

Hi @iamgupta

Did you apply this to all app servers or only to app01? The task says to block incoming port 3004 on all apps, except for the LBR host.

Yes, I have applied on the all servers.