-   Linux - Software (
-   -   How do I disable/stop iptables/Guarddog? (

pofadda 02-04-2008 05:30 PM

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.

BrianK 02-04-2008 06:23 PM

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.

sydney-troz 02-04-2008 06:26 PM

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 :D

pofadda 02-04-2008 06:36 PM

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.

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