Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 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?
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.