Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


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

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

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, 07:01 AM   #2
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware
Posts: 284

Rep: Reputation: 39
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, 07:37 AM   #3
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, 08:45 AM   #4
Registered: Nov 2003
Location: Utrecht
Distribution: Debian SID
Posts: 651

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.


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

All times are GMT -5. The time now is 09:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration