LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-28-2015, 10:46 AM   #1
jzoudavy
Member
 
Registered: Apr 2012
Distribution: Ubuntu, SUSE, Redhat
Posts: 188

Rep: Reputation: Disabled
why did my firewall start


hi experts

i got a centos instance that I recently rebooted, after reboot I found the iptable is running. previously i had turned it off but for some reason it started again.

this is the run level for ip table:
Code:
0:off 1:off 2:on 3:on 4:on 5:on 6:off
I am trying to figure out if with this combo, iptable auto starts? because 6 is for system reboot and if it was off then that means it shouldn't be started right?

thanks
 
Old 04-28-2015, 11:09 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141
3 or 5 are the standard run levels. 3 for CLI, 5 for GUI. iptables is on in both cases.

You probably used "service iptables stop" to shut it off. This is only temporary. If you want to disable it permanently you need to use "chkconfig iptables off" as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Start firewall danne123 Slackware 6 03-27-2007 06:42 AM
Firewall Start at Boot canuck_dude Linux - Networking 5 02-01-2007 01:59 AM
stop/start firewall matt1982 Debian 6 11-12-2004 07:17 AM
how to start firewall automatically shanenin Linux - Software 10 10-26-2003 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration