ISSUES - Iptables Installation and Configuration

@mmumshad @Inderpreet @kodekloud-support3 @KodeKloud2 @Ayman

Is this validation error OR did I miss something?

=======================================================

Step 1: Connected to all three app servers and elevated privilege as root user using sudo su.

Step 2: Installed Iptables on all 3 App servers. – SUCCESS.

Command used: yum install iptables-services -y

Step 3: Enabled and Started Iptables; later checked status to ensure it is active.

Commands used:
(1) systemctl enable iptables
(2) systemctl enable ip6tables

(3) systemctl start iptables
(4) systemctl start ip6tables

(5) systemctl status iptables -l
(6) systemctl status ip6tables -l

Step 4: Configured IPtables to accept tcp connections from load balancer on port 5004 and drop connections from everyone else on this port.

Commands used:
(1) iptables -A INPUT -p tcp --destination-port 5004 -s 172.16.238.14 -j ACCEPT
(2) iptables -A INPUT -p tcp --destination-port 5004 -j DROP

Step 5: Finally saved the rules to ensure they remain persistent across reboot.

Command used: service iptables save

=============================================================

Result: Task failed.

image

Command used to list rules: iptables -L --line-numbers

App Server 2 and 3 - Connection from Load Balancer is reachable (as per task failure message), and relevant rules that exist are as follows:

App Server 1 - Same steps performed - same rule exists as above (Num 6 and 7).
After task failure, thought of re-run the command one more time and check rules - it appended again as rule Num 8.

image

===============================================================

Can you please assist and point out the mistake?

Thanks.

@mmumshad @Inderpreet @kodekloud-support3

Please assist. Somehow Request review appears not to be working as it complains that Recording not available.

Hello, @arjitn
Logout and relogin again.

Hi Tej, @Tej-Singh-Rana

For Recording not available? Logout - login didn’t help!
Thanks for the response though.

I did the couple of days ago and worked, so suggested you.

Regards,

@kodekloud-support3 @Inderpreet @mmumshad

Can I get a response please?

Thanks.

Hello, @arjitn
Are you still not available to see your recording?

No, can’t see recording and didn’t get any response from KKE Team either. Still waiting for this and moving on to next tasks.

@Inderpreet @mmumshad - Can you please check my work and advise. I haven’t got any feedback.

@arjitn Can you please share your KKE username/email ID ?

@Inderpreet

Hi Inderpreet e-mail is → [email protected]

Can you also review - ISSUES - REQUEST REVIEW - Linux Process Troubleshooting

Similar issue in the second task as well.

Thanks for you help.

@arjitn We are still looking into this and will update you soon. Please bear with us.

1 Like

@Inderpreet -

Hi Inderpreet:

Any update on the 2 tasks - this one and the one mentioned on the link below?

Thanks.

@Inderpreet @mmumshad

Hi Team: I haven’t received any feedback. Can you advise?

@Inderpreet – Any update?

@Inderpreet @mmumshad Thanks for re-assigning the task. Completed it successfully.

1 Like