LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 09-21-2004, 07:30 AM   #1
zyzyis
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?


~~Thanks
 
Old 09-21-2004, 07:53 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi!

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.

Martin


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

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


Reply


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 02:03 AM
Disable Firewall dvong3 Linux - Networking 1 04-30-2004 08:27 AM
Firewall still not completely disabled on SuSe 9.0 after shorewall clear driftindutchman Linux - Security 4 02-23-2004 01:07 AM
Cannot disable firewall rnturn Linux - Security 6 03-19-2003 08:55 PM
how do you disable a firewall ? ICEAGE Linux - General 7 01-02-2003 12:58 AM


All times are GMT -5. The time now is 04:37 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