RHCE Question: TCP Wrapper or iptables?
Hi Guys,
My friend and I are studying for our coming RHCE(version 5) Exam this month. We have lots of reviewers downloaded from the internet. Also I've been browsing some forums to get tips. Anyway, I have a question regarding TCP wrapper and iptables. There's this sample question i've got from one website.. "User1 should be able to get mails using pop3 within domain.org, other machines from organization.com should not have access to this pop3 service" I know this can be done via TCP wrapper or iptables. My question is, which method should I use in exam? I would like to know the guys who have already passed the RHCE exam on what method they used. |
You should use the one you want to. that's the whole ethos of the exam. You just need to achieve the objective, however you see fit. Personally I wrote my own nic firmware filter module in assembly, and it worked fine. ;-)
|
Quote:
|
I didn't do that.... of course... it was a joke. I'm just trying to stress that it doesn't matter what other people do. do what you find easiest.
|
!) install dovecot package
2) mutt -f pop://user1.domain.org 3) iptables -A INPUT -s organization.com -p tcp --dport 110 -j REJECT [B]use iptables for blocking pop server are imap server[/B] |
Quote:
|
Quote:
|
In my RHCE exam i was done these steps..
|
You can try:
iptables -A INPUT -s ! domain.org -p pop --dport 110 -j REJECT This will reject access to all except domain.org. |
Quote:
|
@gurl4sh25: when you sit down to take the exam, you'll be required to sign an NDA, and you will see why no one (who cares about his/her cert) can help you.
Good luck. |
Thanks guys, Highly appreciate all your response!
Cheers! =) |
Just remember whatever it takes to get the job done... If you can do it wrappers than do it, if you can do it with iptable than do it. If you can do it with mind control then do it. =)
|
All times are GMT -5. The time now is 02:13 PM. |