LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-07-2009, 04:33 PM   #61
rhel5
Member
 
Registered: Mar 2009
Location: Bay Area, CA
Distribution: Redhat Enterprise Linux
Posts: 59

Original Poster
Rep: Reputation: 15

Thanks C!

descarte's blog is awesome...I will spend more time reading it.

I think I just answered my own question. You cannot use the GUI Firewall tool and the iptables command at the same time because it conflicts. I tested the sshd by enabling it in the GUI Firewall by checking the SSH Service. Then I used the command iptables -t filter -A INPUT -s 192.168.0.25 -p tcp --dport 22 -j REJECT. The sshd is still accepting the ssh connection from the machine 192.168.0.25

I get the message "ssh: connect to host 192.168.0.15 port 22: no route to host" after disabling it from the Firewall GUI and then using only the iptables command.

Is that the correct message I should be getting with the REJECT action from iptables?

Also, after entering the iptables command, do I need to do service iptables restart? Because I am doing a service iptables save, and then the service iptables restart command. I heard that you have to use the save function in order to make the iptables changes persistent.
 
Old 04-15-2009, 09:12 AM   #62
StormWarden
LQ Newbie
 
Registered: Apr 2009
Posts: 4

Rep: Reputation: 0
Quote:

FWIW, I used Jang's book along with with the Prep Guide and the Red Hat documentation http://www.amazon.com/Certified-Engi...6972703&sr=8-1

But the best advice that was given to me was...

* READ all the directions before you start
* read ALL the directions before you start
* read all THE directions before you start
* read all the DIRECTIONS before you start
* read all the directions BEFORE you start
* read all the directions before YOU start
* read all the directions before you START
* READ ALL THE DIRECTIONS BEFORE YOU START

Sage advice indeed for anyone else looking to take these exams. I nearly blew the first portion of the RHCT - the simplest part - because I did not read the directions thoroughly.
 
  


Reply


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
Bind9: NDC command failed : rndc: connect failed: connection refused Boudewijn Linux - Networking 19 01-02-2014 07:19 AM
i need tools to practice for RHCE exams like rhce-config was for RHEL4 ashu.wifi Linux - Certification 16 12-10-2008 04:48 PM
No internet (no ethernet plug) - ppp0 failed and Audio CD - host failed new2 Linux - Laptop and Netbook 9 09-19-2008 12:18 PM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM
unpacking of archive failed: cpio: read failed-input/output error rafc Linux - Newbie 0 04-21-2004 09:03 AM

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

All times are GMT -5. The time now is 11:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration