LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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



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
How to get the RHCE Exam, online exam or at college. hocheetiong Linux - Certification 3 03-16-2020 10:17 AM
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
anybody wants new dump question for the latest rhce exam danykallery Linux - Certification 2 10-07-2006 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration