:: Re: [DNG] Starting shorewall.
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Arnt Karlsen
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] Starting shorewall.
On 24 Nov 2025 12:34:59 -0700, Peter wrote in message
<20251124203507.8A4DA22A939@???>:

> Arnt & anyone else interested,
>
> Progress, but from the last message and the following, a little more
> puzzled. Probably work on it again Wednesday.
>
> Thx,                      ... P.

>
> # cat /etc/de*n
> 12.11
> daedalus
>
> # uname -a
> Linux imager 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1
> (2025-11-09) x86_64 GNU/Linux
>
> From:    Arnt Karlsen <arnt@???>
> Date:    Mon, 24 Nov 2025 19:13:30 +0100
> > ...aaand I missed the fact /etc/rc.local should be a symlink 
> > to /etc/init.d/rc.local and /etc/rc?.d/rc.local.  

>
> # ls -ld /etc/rc.local
> -rwxr-xr-x 1 root root 314 Apr 17 2023 /etc/rc.local
>
> # cat /etc/rc.local
> #!/bin/sh -e
> #
> # rc.local
> #
> # This script is executed at the end of each multiuser runlevel.
> # Make sure that the script will "exit 0" on success or any other
> # value on error.
> #
> # In order to enable or disable this script just change the execution
> # bits.
>
> if test -d /etc/boot.d ; then
>         run-parts /etc/boot.d
> fi

>


..as Nick wrote in message
<3d3394a0-94d2-4763-8866-4e25bf87435d@???>, try:

update-rc.d shorewall defaults
update-rc.d shorewall enable

For more information
see*//*https://www.systutorials.com/docs/linux/man/8-update-rc.d/

..if Nick's proper way above fails, append your interactive shorewall
start-up command to your /etc/init.d/rc.local and chock that all your
/etc/rc?.d/rc.local points back to it.

--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.