Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-30-2010, 12:31 PM   #1
Registered: Oct 2005
Location: Bangladesh
Posts: 497

Rep: Reputation: 30
can't ssh to linux server without using "iptables -F" !

Dear Friends ,

I am using RHEL 5 . After installing the O/s ,I want to try to access from another machine using SSH . But when I ssh to that Linux server I cannot access it But I can ping it .
In this moment I check some iptables rules using 'iptables -L', but there is no rule.

After then , when I give the command 'iptables -F' then I can ssh to that server .

Now my question , since there is no rule (I check the rules from iptable -L ) in the firewall , but why I am not ssh to my server .

Here I also mention that I make "SELINUX=disabled" .

Would anybody plz clear me regarding this issue and also tell me plz, How I can run any application without flush the firewall(iptables rules) .

Waiting for kind reply ... ...

Last edited by shipon_97; 03-30-2010 at 12:48 PM.
Old 03-30-2010, 12:43 PM   #2
Registered: Jan 2008
Location: Poland
Distribution: Slackware, Arch
Posts: 38

Rep: Reputation: 17
Originally Posted by shipon_97
In this moment I see some iptables rules using 'iptables -L', but there is no rule.
There is or not, decide. Specify "some iptables rules".


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
SSH issue ""Server unexpectedly closed network connection" Errsta_Fonzarelli Linux - Software 12 05-24-2010 03:35 PM
IPTABLES: interface on "" won't route clients from "" zivota Linux - Networking 2 06-09-2008 02:35 PM
problem with command "modprobe iptables" in the debian server rdr129 Linux - Networking 1 04-22-2006 09:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:24 AM.

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