LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-04-2008, 04:30 PM   #1
pofadda
Member
 
Registered: Jan 2005
Location: Bristol, UK
Distribution: Depend on what was loaded yesterday...
Posts: 50

Rep: Reputation: 15
How do I disable/stop iptables/Guarddog?


Simple problem but no help found in manual/searchers: how do I turn my firewall off? I'm currently fiddling with Samba and fear that I maybe killing it with a misconfigured firewall.

I have recently installed (and updated) Sidux, kernel 2.6.23.14 so everything is up-to-date.
 
Old 02-04-2008, 05:23 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
to temporarily turn it off, you can do it through startup scripts, i.e., as root:

/etc/init.d/iptables stop

to stop it permanently, remove the link from your default runlevel. i.e. "rm /etc/rc2.d/S30iptables" - or whatever it's called.
 
Old 02-04-2008, 05:26 PM   #3
sydney-troz
Member
 
Registered: Feb 2007
Distribution: Kubuntu, it's obese barely-usable sibling, Ubuntu
Posts: 142

Rep: Reputation: 15
In Guarddog, go start the firewall configuration manager and go to the Advanced tab. Check Disable Firewall and go OK. To disable it from the command line, although not a persistent solution, use

Code:
$ sudo iptables -F
$ sudo iptables -X
$ sudo iptables -P INPUT ACCEPT
$ sudo iptables -P FORWARD ACCEPT
$ sudo iptables -P OUTPUT ACCEPT
EDIT: beat me to it, had the edit page open too long

Last edited by sydney-troz; 02-04-2008 at 05:27 PM. Reason: beat me to it message
 
Old 02-04-2008, 05:36 PM   #4
pofadda
Member
 
Registered: Jan 2005
Location: Bristol, UK
Distribution: Depend on what was loaded yesterday...
Posts: 50

Original Poster
Rep: Reputation: 15
Thumbs up

Such a rapid response! I stepped away to watch 'Damages' in the box and came back to two (yes, TWO) totally valid answers!

Many thanks BrianK and sydney-troz.
 
  


Reply

Tags
guarddog, iptables


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
Stop all traffic - Guarddog r00ster Linux - Desktop 3 10-24-2007 08:48 AM
iptables + guarddog problem Hammett Linux - Security 2 08-13-2007 10:35 AM
IPtables/Guarddog blocking to much. How do I fix this? M$ISBS Linux - Security 7 11-14-2005 09:42 PM
Failed Dependencies for Guarddog: Iptables Electronkz Linux - Security 1 04-27-2004 03:42 AM
rsync through Guarddog/IPTables on Gentoo Chip D Linux - Security 3 01-05-2004 05:40 PM


All times are GMT -5. The time now is 04:03 AM.

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