[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Firewalling



Hi Craig,

I'm fairly sure that this is "debian-illegal" way to do it, but I created 
a "firewall" script in /etc/init.d, and then the correct symlinks to that 
script from the RC directories.  The files are:
-rwxr-xr-x    387 Nov  7 22:43 init.d/firewall*
lrwxrwxrwx     18 Oct  7 23:36 rc2.d/S21firewall -> ../init.d/firewall*
lrwxrwxrwx     18 Oct  7 23:36 rc6.d/K21firewall -> ../init.d/firewall*

I expect that debian policy describes a script that will do this 
automagically, but it's a heck of a lot quicker to just create the files 
than it is to find the right tool.  :-)

	--- Wade

On Tue, 13 Mar 2001 09:15:20 +0200, "Craig" writes:
>Hi All
>
>Have created a file which contains all my ipchains rules and I would like
>it to start when the machine loads. Not sure where the best place is for
>this. I used to use rc.local on RH but was told that this is a bush job 
and
>very sloppy as for debian, well used to use the network file on slink.
>
>Any suggestions or assistance would be appreciated :) Thanks
>Craig

-- 
 /"\  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
 \ /   ASCII Ribbon Campaign    | Wade Richards --- wrichard@direct.ca 
  X   - NO HTML/RTF in e-mail   | Fight SPAM!  Join CAUCE.
 / \  - NO Word docs in e-mail  | See http://www.cauce.org/ for details.




Reply to: