LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-02-2007, 03:01 PM   #1
dperryr
Member
 
Registered: Oct 2007
Posts: 30

Rep: Reputation: 15
Redhat 9 Firewall Issue


I installed Redhat 9 and can't get the firewall to accept incoming remote SSH connections. I have the following rules in /etc/sysconfig/iptables but still no luck. If I turn off iptables it works fine. Any ideas?

iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A OUTPUT -p udp --sport 22 -j ACCEPT
 
Old 11-02-2007, 03:18 PM   #2
dperryr
Member
 
Registered: Oct 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dperryr View Post
I installed Redhat 9 and can't get the firewall to accept incoming remote SSH connections. I have the following rules in /etc/sysconfig/iptables but still no luck. If I turn off iptables it works fine. Any ideas?

iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A OUTPUT -p udp --sport 22 -j ACCEPT
I found the answer ..............

However I have another question. I configured the system for the lilo boot loader and it comes up in graphical mode. Is there a way to make the boot loader default to text mode upon boot?
 
Old 11-02-2007, 09:39 PM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
1) What was the answer that you found - please post it here, so that all may benefit.

2) For LILO - check out /etc/lilo.conf. There should be an option there. Make sure to run "lilo" as root after you have edited that file.

3) Are you aware that Redhat 9 is considered legacy? It was released in 2003, and support was discontinued in 2004. I strongly recommend that you upgrade to a more recent, supported distro. RH9 no longer receives security updates.

--Ian
 
Old 11-02-2007, 10:07 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
post the output of iptables -l
 
Old 11-03-2007, 12:19 AM   #5
dperryr
Member
 
Registered: Oct 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by IBall View Post
1) What was the answer that you found - please post it here, so that all may benefit.

2) For LILO - check out /etc/lilo.conf. There should be an option there. Make sure to run "lilo" as root after you have edited that file.

3) Are you aware that Redhat 9 is considered legacy? It was released in 2003, and support was discontinued in 2004. I strongly recommend that you upgrade to a more recent, supported distro. RH9 no longer receives security updates.

--Ian
The answer to my firewall question was simple really. I ran "lokkit" from the command line and it brought up the text based firewall configuration and I simply chose 'ssh" from there.

I am aware Redhat 9 is legacy but wasn't aware there were no updates offered for it so I switched back to Fedora 6 (lucky I didn't delete that). I like Fedora 6 better than Rehat 9 anyway.

Thanks for all your help.
 
  


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
rc.firewall issue smarthouseguy Slackware 1 08-23-2007 09:37 AM
Help with ssh (possible firewall issue) HeadNoodle Linux - Newbie 3 02-15-2005 11:05 AM
Firewall issue myself_rajat Linux - Networking 3 12-21-2004 01:06 AM
Firewall Issue benhalliday Linux - Software 1 08-06-2004 08:52 AM
firewall issue linuxnube Linux - Networking 1 11-04-2003 01:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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