New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX200 Exam - Topic 8 Question 119 Discussion

Actual exam question for RedHat's EX200 exam
Question #: 119
Topic #: 8
[All EX200 Questions]

Configure iptables, there are two domains in the network, the address of local domain is 172.24.0.0/16 other domain is 172.25.0.0/16, now refuse domain 172.25.0.0/16 to access the server.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Ryann
9 hours ago
Seems legit, but are you sure about the order of commands?
upvoted 0 times
...
Alexis
6 days ago
Just a simple iptables rule to block that domain.
upvoted 0 times
...
Stacey
11 days ago
This is a classic iptables question. I'm glad I brushed up on my firewall configuration before the exam.
upvoted 0 times
...
Lenora
16 days ago
Shouldn't we also add a rule to allow the 172.24.0.0/16 network to access the server?
upvoted 0 times
...
Taryn
21 days ago
Haha, I bet the exam question will ask about the difference between REJECT and DROP next!
upvoted 0 times
...
Luisa
26 days ago
The command to save the iptables configuration is important, otherwise the changes won't persist.
upvoted 0 times
...
Jade
1 month ago
I remember something about needing to restart the service after making changes, but I hope I got the syntax right for `service iptables restart`.
upvoted 0 times
...
Goldie
1 month ago
This reminds me of a practice question where we had to block a specific IP range. I think the `-A INPUT` part is crucial for adding the rule.
upvoted 0 times
...
Alysa
1 month ago
I'm a bit unsure about the order of the commands. Do we really need to save the rules twice?
upvoted 0 times
...
Rashida
2 months ago
I think we need to make sure we flush the current rules with `iptables -F` before adding the new one, right?
upvoted 0 times
...
Vincenza
2 months ago
This is a classic iptables question. I'll just follow the steps in the explanation and I should be good to go. Flushing, adding the rule, saving, and restarting - easy peasy.
upvoted 0 times
...
Juan
2 months ago
Wait, I'm a little confused. Do I need to specify the chain (INPUT) in the iptables command, or will it automatically apply to the correct chain? I want to make sure I get this right.
upvoted 0 times
...
Maynard
2 months ago
Looks good, but don't forget to add the rule to the OUTPUT chain as well.
upvoted 0 times
...
Pilar
2 months ago
No problem, I've got this. The key is to first flush the existing rules, then add the new reject rule, save the configuration, and finally restart the iptables service. Shouldn't take more than a minute.
upvoted 0 times
...
Laura
3 months ago
I think the iptables commands are clear.
upvoted 0 times
...
Lauran
3 months ago
Wait, does this really work for all servers in that domain?
upvoted 0 times
...
Yesenia
3 months ago
Hmm, I'm a bit unsure about the order of the steps here. Should I save the rules before adding the new one? And do I need to restart the service after saving?
upvoted 0 times
...
Blossom
3 months ago
Okay, this looks straightforward. I'll start by flushing the iptables rules, then add a rule to reject traffic from the 172.25.0.0/16 network, and finally save and restart the iptables service.
upvoted 0 times
Lura
2 months ago
Sounds like a solid plan!
upvoted 0 times
...
...

Save Cancel