954,193 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

redhat 8.0 firewall issue

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

spikes
Junior Poster
106 posts since Jul 2003
Reputation Points: 11
Solved Threads: 2
 

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??

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

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

spikes
Junior Poster
106 posts since Jul 2003
Reputation Points: 11
Solved Threads: 2
 

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.

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

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
Newbie Poster
19 posts since Jul 2003
Reputation Points: 14
Solved Threads: 0
 

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

spikes
Junior Poster
106 posts since Jul 2003
Reputation Points: 11
Solved Threads: 2
 

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

spikes
Junior Poster
106 posts since Jul 2003
Reputation Points: 11
Solved Threads: 2
 

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
Newbie Poster
19 posts since Jul 2003
Reputation Points: 14
Solved Threads: 0
 

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")

TheOgre
Posting Whiz
393 posts since Aug 2003
Reputation Points: 128
Solved Threads: 9
 

I am totally new to Linux so please bear with me. I just installed Red Hat on a clean I then ran the update agent and has received and installed all the updates including the most recent

princealway
Newbie Poster
4 posts since Aug 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: