LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-07-2010, 11:12 AM   #1
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Rep: Reputation: 15
RHCE EXAM , iptables question, firewall on or off?


Hi there.


I am going to take RHCE exam, after 2 days.
But today my Teacher confused me.
He told me to disable firewall(i.e iptables) during the exam. and at the same time he wants me to configure iptables for various services on the exam day.

Now i don't know what is the point of configuring iptables when we are not going to use it.

Can you guys please guide me?
yes, i asked him about it but it didnt give me a convincing answer.

are we supposed to keep our iptables on/off during the exam?

any help will be appreciated.....

thank you.
 
Old 09-07-2010, 12:01 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,473

Rep: Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540
Quote:
Originally Posted by aahiqmir View Post
Hi there.
I am going to take RHCE exam, after 2 days.
But today my Teacher confused me.
He told me to disable firewall(i.e iptables) during the exam. and at the same time he wants me to configure iptables for various services on the exam day.

Now i don't know what is the point of configuring iptables when we are not going to use it.

Can you guys please guide me?
yes, i asked him about it but it didnt give me a convincing answer.

are we supposed to keep our iptables on/off during the exam?
any help will be appreciated.....
thank you.
You are supposed to do what the teacher tells you. You don't say where this exam is held, or who's holding it. Different exam centers/teachers=different rules.
 
Old 09-07-2010, 01:01 PM   #3
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TB0ne View Post
You are supposed to do what the teacher tells you. You don't say where this exam is held, or who's holding it. Different exam centers/teachers=different rules.
I am taking the Exam in india. REDHAT will be holding it.

Now during the exam redhat guys mention that say, mydomain.com should have access to certain services and, say, otherdomain.com must not be given access to the services running on my system.

And one more question, Do i Have to mention the Reject rule for "otherdomain.com" if I mention the Accept rule in the iptables for "mydomain.com", keeping in view what REDHAT mentions in the exam?
Or the Accept rule will suffice?

Thank you for your response...
 
Old 09-07-2010, 04:47 PM   #4
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
If you have "reject all" rule, then allow rule for "mydomain.com" should suffice. But if you have "accept all" rule, then you need reject rule for "otherdomain.com".

Take notice that you can not use domain name in iptables rules, iptables only recognizes IP addresses.
 
Old 09-08-2010, 02:37 PM   #5
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by DrLove73 View Post
If you have "reject all" rule, then allow rule for "mydomain.com" should suffice. But if you have "accept all" rule, then you need reject rule for "otherdomain.com".

Take notice that you can not use domain name in iptables rules, iptables only recognizes IP addresses.
Hi there,

Thank You Mr. DrLove I appreciate your help.
I am Highly Grateful to you.....
Thank You again...
 
  


Reply

Tags
firewall, iptables, rhce


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can i disable iptables for rhce exam sudheshpn Linux - Certification 7 03-11-2010 11:38 AM
regarding the rhce exam? kingston Linux - Newbie 7 01-28-2010 05:36 AM
regarding RHCE exam.. niaz_ph Linux - Newbie 8 01-08-2010 02:47 PM
How to get the RHCE Exam, online exam or at college. hocheetiong Linux - Certification 2 08-20-2007 05:24 PM
anybody wants new dump question for the latest rhce exam danykallery Linux - Certification 2 10-07-2006 06:36 AM


All times are GMT -5. The time now is 01:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration