LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-11-2004, 09:21 AM   #1
matt1982
Member
 
Registered: Nov 2004
Location: ontario, canada
Distribution: debian
Posts: 52

Rep: Reputation: 15
Question stop/start firewall




hey all,

i am a new linux user, and i'm just trying to find out how to start&stop the firewall, i need to stop the firewall because i have to perform a serv.pck.2 upgrade on one of the windows XP boxes, i am using debian vers 2.4.19... can anyone help?

thanks in advance
 
Old 11-11-2004, 09:30 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
As root, running "service firewall stop" should stop it. Then "service firewall start" to start it.
 
Old 11-11-2004, 09:33 AM   #3
matt1982
Member
 
Registered: Nov 2004
Location: ontario, canada
Distribution: debian
Posts: 52

Original Poster
Rep: Reputation: 15
Thumbs up

thanks Ranger Nemo, i'll give it a try...
 
Old 11-11-2004, 10:03 AM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
In Debian you'd use "invoke-rc.d" instead of "service". First look into /etc/init.d/ to see what services you've got available. If you've got there a service called "firewall", you can do (as root) "invoke-rc.d firewall stop" to stop it, and "invoke-rc.d firewall start" to make your "firewall" service start again. (If the service refuses to stop, you can use "invoke-rc.d firewall force-stop".)
 
Old 11-11-2004, 10:20 AM   #5
matt1982
Member
 
Registered: Nov 2004
Location: ontario, canada
Distribution: debian
Posts: 52

Original Poster
Rep: Reputation: 15
thanks dead parrot.... but i do not see firewall as a running process, i beleive there are running apache server, now i am new, not sure if apache is the firewall running.... if so then would it be "invoke-rc.d apache stop"...

if i'm wrong isn't there somewhere that would list what is running as my firewall...

thanks again in advance.
 
Old 11-11-2004, 04:45 PM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
No, Apache is not a firewall. Apache is a "versatile, high-performance HTTP server". http://packages.debian.org/testing/web/apache

The list of popular Linux firewalls includes Guarddog (for KDE), Firestarter (for Gnome), Lokkit, Shorewall, and FireHOL. You should look for one of these among the init scripts (instead of "firewall" service, which I just used as a generic example).

You want to "perform a serv.pck.2 upgrade on one of the windows XP boxes", which means that you have a Debian box as a router or firewall between your LAN and the Internet, right? It sounds a bit strange that you don't know what firewall you are using. Anyway, take a look at /etc/inittab in your Debian firewall box and you should find in the first few lines the default runlevel number. Then take a look at /etc/rcX.d/ (where X is the default runlevel number). All the files in this directory are symbolic links to the actual scripts in /etc/init.d/, but there are considerably fewer of them than in /etc/init.d/. Now, your task is to find the service that configures your firewall. After you've figured this out, you can stop the firewall service with "invoke-rc.d service_name stop" and start it again with "invoke-rc.d service_name start". But first you need to have access to the firewall machine that is between your windows XP boxes and the Internet and, also, to figure out the name of the service that configures your firewall.

Does this make any sense to you?
 
Old 11-12-2004, 07:17 AM   #7
matt1982
Member
 
Registered: Nov 2004
Location: ontario, canada
Distribution: debian
Posts: 52

Original Poster
Rep: Reputation: 15
Talking

does make sense, thanks dead parrot,

not knowing this myself is because i juste started this job fresh out of college, and they didn't teach enough of linux, juste the basics, and then programming... :P

does make sense, thanks... i'll manage from here on... forums do work

Last edited by matt1982; 11-12-2004 at 07:19 AM.
 
  


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 to stop firewall logging to terminal screen ozymandias Linux - Security 10 10-01-2005 04:32 AM
start stop daemons aizkorri Linux - Newbie 4 05-06-2004 06:26 AM
Start/stop services on start-up koyi Slackware 5 08-04-2003 08:20 AM
cupsd won't stop, won't start ?! jkcunningham Linux - General 0 06-19-2003 08:14 AM
script: stop firewall allelopath Linux - Software 1 04-30-2003 06:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration