LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 03-05-2011, 08:18 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 576

Rep: Reputation: 31
How to disable Linux iptables permanently ?


I am using Fedora. I want to disable Linux iptables permanently. Normally when I reboot my pc the iptable service is on. Kindly guide me how can I disable even I turn reboot the pc.

thanks
garden
 
Old 03-05-2011, 08:20 AM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
You could try:

Code:
chkconfig iptables off
Regards,

Fordeck
 
Old 03-05-2011, 08:22 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
In a terminal type:

Code:
# service iptables save
# service iptables stop
# chkconfig iptables off
Kind regards
 
1 members found this post helpful.
Old 03-05-2011, 08:35 AM   #4
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 576

Original Poster
Rep: Reputation: 31
thanks for the reply. well it means # chkconfig iptables off is the way to stop iptables permanently.
what will be the way to turn on it again ?
thanks for guiding
garden
 
Old 03-05-2011, 08:42 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
Code:
chkconfig iptables on
service iptables start
Kind regards
 
Old 03-07-2011, 04:31 AM   #6
ravikiran189
Member
 
Registered: Mar 2011
Posts: 45

Rep: Reputation: 4
Red face iptables

To disable iptables

service iptables stop ( if it is running, can be checked using " service iptables status " )
chkconfig iptables off
iptables -F
service iptables save

To enable iptables

chkconfig iptables on
service iptables start


Thank You

Last edited by ravikiran189; 03-07-2011 at 05:22 AM.
 
Old 03-07-2011, 05:02 AM   #7
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 576

Original Poster
Rep: Reputation: 31
thanks for the guidance
 
  


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
How to Disable Screen Saver Permanently in KDE script?? linux_newb Linux - General 3 09-30-2009 03:56 PM
Permanently disable powersaver in Linux 10 GNOME desktop fortunec Linux - Desktop 4 05-10-2008 02:36 AM
Annoying default keyboard shortcut... how to permanently disable. ceannfeachd Linux - Desktop 2 02-09-2007 08:50 PM
How do I permanently disable kded media manager? antis Linux - General 0 11-27-2005 10:18 AM
How to disable X security permanently danishmr Linux - Security 15 04-09-2004 02:16 PM


All times are GMT -5. The time now is 07:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration