LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-16-2004, 07:53 AM   #1
_mu_
LQ Newbie
 
Registered: Jan 2004
Distribution: Debian, Slackware
Posts: 29

Rep: Reputation: 15
Question getting firewall to run when booting


Hi,
I have a bash firewall script to run at boot and I was wondering if anyone can give me some suggestions on where to put it so that it starts during boot (even a link to a doc that show's me how). Thanks.
 
Old 01-16-2004, 08:01 AM   #2
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware
Posts: 262

Rep: Reputation: 30
That's very simple: copy your firewall script in the directory /etc/rc.d/ and give it the name of "rc.firewall". It will be launched automatically when you restart your machine or the inetd/xinetd daemon (to do this, run: "/etc/rc.d/rc.inet1 restart").

There is an "rc.firewall" script already in place in /etc/rc.d/, but you can rename it before copying your own file...
 
Old 01-16-2004, 08:37 AM   #3
_mu_
LQ Newbie
 
Registered: Jan 2004
Distribution: Debian, Slackware
Posts: 29

Original Poster
Rep: Reputation: 15
Thank you for that Noryungi that did the trick.
 
Old 01-16-2004, 09:45 AM   #4
powadha
Member
 
Registered: Nov 2003
Distribution: Debian SID
Posts: 649

Rep: Reputation: 31
If you update your firewall some check if the file is in the standard dir. You can also choose te make a symbolic link to the file. That way you never get any errors.
 
  


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 run something when linux booting lordofring Programming 8 11-11-2005 12:24 PM
Firewall wont run laeeqdesigns Linux - Newbie 2 07-26-2005 09:04 PM
My firewall not run ok ? matthewchin Linux - Security 6 06-13-2004 11:03 PM
Anyway to run DHCP without Shorewall? (Firewall) Psykoral Linux - Security 3 07-11-2003 09:34 AM
How do you run netmeeting behind shorewall firewall cmisip Linux - Networking 6 02-26-2003 11:40 PM


All times are GMT -5. The time now is 06:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration