Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-04-2008, 04:30 PM   #1
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 so everything is up-to-date.
Old 02-04-2008, 05:23 PM   #2
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
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

$ 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
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.


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:43 AM.

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