LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > Linux - Certification
User Name
Password
Linux - Certification This forum is for the discussion of all topics relating to Linux certification.

Notices


Reply
  Search this Thread
Old 12-29-2008, 03:53 PM   #1
latinmusic74
Member
 
Registered: Jun 2007
Posts: 118

Rep: Reputation: 16
Questions about IPTABLES and FIREWALL


Hi RHCEs,

Please advice the best and fastest way to manage the firewall during the RHCE exam ?

and

Please advice a good tutorial to learn about iptables?

Can you create iptables using system-config-securitylevel?

Thanks
 
Old 12-29-2008, 05:02 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
I'm somewhat disqualified from answering because my knowledge of RHCE is limited (...limited to zero, as it happens), but I have heard of these firewall thingies before.

Assuming that general information on iptables will help (and not just information on the default way of setting up a firewall under RH) there are many threads on the subject of firewalls, here
http://www.linuxquestions.org/questi...ux-security-4/
and in particular
http://www.linuxquestions.org/questi...erence-691585/
discusses reference materials for iptables.
 
Old 12-29-2008, 06:40 PM   #3
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by latinmusic74 View Post
Hi RHCEs,

Please advice the best and fastest way to manage the firewall during the RHCE exam ?

and

Please advice a good tutorial to learn about iptables?

Can you create iptables using system-config-securitylevel?

Thanks
The "easiest" way to configure the firewall is with system-config-securitylevel. The fastest way is trough the command line using the iptables commands.

You should learn them. But if you are unfamiliar with the commands; the best way is to do it with the system-config-securitylevel tool.

It just depends on your definition of "fastest"...

What's faster to you? Doing:
Code:
root@host# iptables -A INPUT -p tcp --dport 80 -j ACCEPT
Or putting a checkmark in the HTTP box in the system-config-securitylevel tool?

-C

Last edited by custangro; 12-29-2008 at 06:46 PM.
 
Old 12-29-2008, 07:54 PM   #4
latinmusic74
Member
 
Registered: Jun 2007
Posts: 118

Original Poster
Rep: Reputation: 16
So, for RHCE test, I can use "system-config-securitylevel tool" instead of writing a code like

root@host# iptables -A INPUT -p tcp --dport 80 -j ACCEPT.

or still need to learn the code for the test.......
 
Old 12-30-2008, 10:07 AM   #5
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by latinmusic74 View Post
So, for RHCE test, I can use "system-config-securitylevel tool" instead of writing a code like

root@host# iptables -A INPUT -p tcp --dport 80 -j ACCEPT.

or still need to learn the code for the test.......
In the RHCE, it is results that matter...it's not what you do...it's if it gets the job done.

that being said...

It's no guarantee that you will have the GUI during the test. Also, if you've read the prep-guide...

https://www.redhat.com/certification/rhce/prep_guide/

You will note...
Quote:
RHCEs must also be able to:

* configure hands-free installation using Kickstart
* implement logical volumes at install-time
* use iptables to implement packet filtering and/or NAT
* use PAM to implement user-level restrictions

It mentions NAT...and as far as I know; You CANNOT configure NAT with the sytem-config-securitylevel tool.

My advice? Learn how to use both.

Use Jang's book...

http://www.amazon.com/Certified-Engi.../dp/0072264543

...with the prep guide.

Also you should get 2 PCs and start practicing!

Good Luck!!!

-C
 
Old 12-30-2008, 07:10 PM   #6
latinmusic74
Member
 
Registered: Jun 2007
Posts: 118

Original Poster
Rep: Reputation: 16
Thanks custangro............
 
  


Reply



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
Iptables with iptables-firewall.conf arno's matt3333 Slackware 16 06-28-2007 07:20 AM
Firewall with iptables spank Linux - Networking 1 07-06-2006 10:57 AM
IPTABLES firewall Vs rc firewall netguy2000 Linux - Security 7 02-28-2004 04:31 AM
rc.firewall vs iptables dunmarie Linux - Security 2 10-09-2003 02:00 PM
iptables questions: NAT & firewall insanitee Linux - Networking 10 08-24-2003 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > Linux - Certification

All times are GMT -5. The time now is 09:25 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