Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-27-2001, 10:48 AM   #1
Member (6 bit)
 
Join Date: Apr 2000
Location: Oak Park, MI
Posts: 33
Question Can't telnet or ftp into Redhat 7.1 box

I just discovered the answer to a question that I posted a few weeks ago. I was unable to telnet or ftp into a Redhat 7.1 box after the OS install. I just realized that I selected the medium firewall option that does not allow remote access into any ports below 1023. Does anyone know how to disable a firewall on a Redhat box?
TDub is offline   Reply With Quote
Old 06-30-2001, 07:07 AM   #2
Member (2 bit)
 
Join Date: Jun 2001
Location: UK
Posts: 2
Post

You could disable the firewall script from executing on system startup, it's probably started from a symbolic link in /etc/rc3.d or /etc/rc5.d.



alternatively you could flush the firewall rules using the following as root:



ipchains -F

ipchains -P input ACCEPT

ipchains -P output ACCEPT

ipchains -P forward ACCEPT



thekidda
thekidda is offline   Reply With Quote
Old 06-30-2001, 07:13 AM   #3
Registered User
 
Join Date: Mar 1999
Posts: 355
I've never seen the firewalling choices during 7.1's installation....but, I still haven't done the graphical install. however, it's most likely starting in one of your init scripts, so you might want to poke around in there looking for any references to ipchains. hmmmm, Red Hat uses a SysV-style init process, but I think it keeps the scripts in /etc/rc.d/init.d/, instead of the usual /etc/init.d/.....but I wouldn't suggest you rm anything in that directory, you can just remove the link in the /etc/rc.d/rc*.d directory to prevent it from being loaded....or if it's part of a larger script, just comment out the offending portions.


the odds are that won't let you connect, though...you're probably going to have to add an entry or two to your /etc/hosts.allow , in order to telnet or ftp in....ummm, could I suggest openssh and sftp?
WickedLittleSlaveBoy is offline   Reply With Quote
Old 06-30-2001, 07:14 AM   #4
Registered User
 
Join Date: Mar 1999
Posts: 355
ya beat me, kidda. 8-/
WickedLittleSlaveBoy is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:12 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2