-   Linux - Newbie (
-   -   How to disable firewall completely (

zyzyis 09-21-2004 07:30 AM

How to disable firewall completely
Can someone tell me how to disable firewall compeletly and how to

detect whether the firewall is closed?


MartinN 09-21-2004 07:53 AM


To see all firewall rules, use:
/sbin/iptables -L

To shut down the firewall, use:
/sbin/iptables --flush

(Only root is allowed to do this)

Edit: Sorry, didn't see that you use Debian. The iptables command only works for 2.4 and 2.6 kernels. The 2.2 kernel that some Debians still have uses ipchains instead. The command:
uname -r
should tell you what kernel version you use.


scuzzman 09-21-2004 08:23 AM

or: as root

# service iptables stop

All times are GMT -5. The time now is 11:17 PM.