LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-06-2004, 09:03 PM   #1
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Question slackware's /etc/rc.d/rc.firewall equivalent ||| firewall script startup


in slackware i take my iptables script and put it in /etc/rc.d/rc.firewall and then make it executable and it's good to go...

is there an equivalent for doing this in debian???

what's the "debian way" of setting your firewall script???
 
Old 03-06-2004, 09:15 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: slackware's /etc/rc.d/rc.firewall equivalent ||| firewall script startup

Quote:
Originally posted by win32sux
in slackware i take my iptables script and put it in /etc/rc.d/rc.firewall and then make it executable and it's good to go...

is there an equivalent for doing this in debian???

what's the "debian way" of setting your firewall script???
Put it in the /etc/init.d/ directory make it executable and then:
Code:
update-rc.d rc.firewall start 20 2 3 4 5 . stop 20 0 1 6 .
Will make the proper links in the /etc/rc?.d directories to start and stop properly on boot or shutdown. Note the . in the line they are important.
 
  


Reply



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
Getting firewall script to auto-run at startup lrt2003 Linux - Newbie 2 04-25-2004 02:28 AM
newbie ?, firestarter firewall startup north49er Slackware 2 05-10-2003 05:27 PM
firewall (or equivalent to zone alarm for Windows) jasonhbishop Linux - Networking 4 03-16-2003 02:26 PM
ZoneLabs Firewall Linux Equivalent? faustus Linux - Networking 1 02-07-2002 07:40 PM
Automatic Startup script for Firewall Robertb Linux - General 0 03-27-2001 10:53 AM

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

All times are GMT -5. The time now is 07:36 PM.

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