redhat 8.0 firewall issue

Reply

Join Date: Jul 2003
Posts: 106
Reputation: spikes is an unknown quantity at this point 
Solved Threads: 0
spikes's Avatar
spikes spikes is offline Offline
Junior Poster

redhat 8.0 firewall issue

 
0
  #1
Jul 17th, 2003
Hey All,
It seems that when ever i install redhat, i get to the firewall section and tell it 'no firewall' but every time without fail i login and there it is firewall set to 'high'. can anyone help me disable this thing, whenever i use the gui security program in kde or gnome it still is set to high, i've tryed medium and filled in all the ports i want open, and i've tryed no firewall and still its on 'high'.

any ideas?

spikes
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: redhat 8.0 firewall issue

 
0
  #2
Jul 17th, 2003
When you configure the firewall section of the redhat setup, you're setting up the firewall configuration files with your settings. Gnome and KDE also come with software to edit this same file. Take a look at the file manually (ipchains) and see what the settings are. Afterall, everything else is just a GUI to edit this file. Otherwise, just test it out!! Can you not access ports you specifically set to leave open??
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 106
Reputation: spikes is an unknown quantity at this point 
Solved Threads: 0
spikes's Avatar
spikes spikes is offline Offline
Junior Poster

Re: redhat 8.0 firewall issue

 
0
  #3
Jul 17th, 2003
Hey dani,
Thanks for gettin back so fast, see thats the problem right there, i understand the gui thing but, i dont know the file name or location of the firewall file to edit any chance you could drop me the name or path

cheers

spikes
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: redhat 8.0 firewall issue

 
0
  #4
Jul 17th, 2003
I know the name of the file/s are something like "ipchains" and "iptables" but I'm not exactly sure the difference between the two or where they're located.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 19
Reputation: deanpence is an unknown quantity at this point 
Solved Threads: 0
deanpence deanpence is offline Offline
Newbie Poster

Re: redhat 8.0 firewall issue

 
0
  #5
Jul 17th, 2003
I?m only using RedHat 7.3, but it?s probably /etc/sysconfig/ipchains or /etc/sysconfig/iptables. It?ll probably look like gibberish to you, but if you really don?t want a firewall (not a good idea if the machine is connected directly to the internet), I?d simply do this (as root):

chkconfig --level 0123456 iptables off
chkconfig --level 0123456 ipchains off
service iptables off
service ipchains off

I have a firewall script I?m working on that is a lot easier (I think) than standard stuff to configure. You can download it at http://apt7.com/dr-firewall-dist.tar.bz2, but it?s probably not ready for production. And although it has some simple instructions, but they may not be thorough enough for a novice.
deanpence
Mean sumbitch

http://deanpence.com
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 106
Reputation: spikes is an unknown quantity at this point 
Solved Threads: 0
spikes's Avatar
spikes spikes is offline Offline
Junior Poster

Re: redhat 8.0 firewall issue

 
0
  #6
Jul 18th, 2003
happly i'm tucked away behind an enerprise class firewall, so i'm not to fussed about the software firewalls on indiviual machines. but even so i'd be interested to see your script, you can never have to much security.

cheers for your help

spikes
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 106
Reputation: spikes is an unknown quantity at this point 
Solved Threads: 0
spikes's Avatar
spikes spikes is offline Offline
Junior Poster

Re: redhat 8.0 firewall issue

 
0
  #7
Jul 18th, 2003
sadly stopping the ipchains and iptables did not help the firewall is still set to high, has anyone else had this problem with the firewall setup?, cuz it seems to happen to me every time i do an install

Spikes
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 19
Reputation: deanpence is an unknown quantity at this point 
Solved Threads: 0
deanpence deanpence is offline Offline
Newbie Poster

Re: redhat 8.0 firewall issue

 
0
  #8
Jul 31st, 2003
You may just need to set up the firewall to allow everything by default:

iptables -P INPUT ACCEPT
iptables -F INPUT
iptables -P OUTPUT ACCEPT
iptables -F OUTPUT
iptables -P FORWARD ACCEPT
iptables -F FORWARD
iptables -F -t nat
deanpence
Mean sumbitch

http://deanpence.com
Reply With Quote Quick reply to this message  
Join Date: Aug 2003
Posts: 372
Reputation: TheOgre is a jewel in the rough TheOgre is a jewel in the rough TheOgre is a jewel in the rough 
Solved Threads: 6
TheOgre's Avatar
TheOgre TheOgre is offline Offline
Posting Whiz

Re: redhat 8.0 firewall issue

 
0
  #9
Aug 2nd, 2003
The name of the firewall script is usually called rc.firewall, and located in /etc or /etc/rc.d/

IPTABLES is the current program (IPCHAINS I think was last in RH 6.3, but I could be wrong, since I don't use RH)

There are some good examples of a firewall script for IPTABLES that can be found on google.com (use keyword "rc.firewall")
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC