Advertisement

Disable firewall via console

Started by October 18, 2005 03:30 PM
5 comments, last by GameDev.net 18 years, 11 months ago
Okay I opened up "Security Level" in Fedora Core 4 and turned on my firewall. Now I need to turn it off... However every time I try and open the "Security Level" it asks for the root password, I enter it fine, then it shows I have authorized root access but the bloody Security Level app NEVER EVER opens. I need to back into it so I can turn off the bloody firewall.
/sbin/chkconfig iptables off
/sbin/service iptables stop

That will properly stop ur firewall in Fedora Core 4.
I found it out myself.
Advertisement
I'm sure fedora has an init.rd script somewhere, or did you do this manually I have no idea.
You should have an init.rd script that start and stops the firewall.
"It's such a useful tool for living in the city!"
Would it be in the HOME dir?
Nope, it will be somewhere in /etc, most likely an /etc/init.d/. Linux usually has
6 run levels, they are not standard to each distro: rc1.d, rc2.d, ... rc6.d

usually 1 and 6 are special, 2 is usually a graphical boot up for gdm.
"It's such a useful tool for living in the city!"
Okay I've seen those files in the boot logs.
I have also seen that term "run level" lots while playing around with Linux. I suppose its time I google the topic and improve my understanding.

Thanks for your tips.
Advertisement
iptables -F will turn off the firewall...

This topic is closed to new replies.

Advertisement