Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-21-2004, 08:30 AM   #1
LQ Newbie
Registered: Nov 2003
Location: ChengDu(China)
Distribution: Debian
Posts: 23

Rep: Reputation: 15
How to disable firewall completely

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

detect whether the firewall is closed?

Old 09-21-2004, 08:53 AM   #2
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30

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.


Last edited by MartinN; 09-21-2004 at 08:56 AM.
Old 09-21-2004, 09:23 AM   #3
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
or: as root
# service iptables stop


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 disable anti-aliasing fonts completely and how to change the default system theme user222 Linux - General 2 10-16-2004 03:03 AM
Disable Firewall dvong3 Linux - Networking 1 04-30-2004 09:27 AM
Firewall still not completely disabled on SuSe 9.0 after shorewall clear driftindutchman Linux - Security 4 02-23-2004 02:07 AM
Cannot disable firewall rnturn Linux - Security 6 03-19-2003 09:55 PM
how do you disable a firewall ? ICEAGE Linux - General 7 01-02-2003 01:58 AM > Forums > Linux Forums > Linux - Newbie

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

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