Are you running Shorewall as a system service? Under Debian I ran once:
systemctl enable shorewall Shorewall then starts at boot, and can be managed as a service. To check status: systemctl status shorewall You also have a range of other commands, e.g.: systemctl stop shorewall systemctl start shorewall Etc. Adjust as required for Centos. I’m not sure what that distribution uses to manage services. Kind regards, Bruce > On 11 Jan 2022, at 11:10 pm, Damjan Hajsek <dam...@povej.net> wrote: > > I did that. I have that on all my servers. > Problem is because there is no way to check if shorewall is running so if > not I can get some message over email to start firewall. And sometimes > firewall is not started for days because of this problem. > I also put in cron when server start it start shorewall also and that also > doesn't work. > Now I have setup to restart shorewall everyday at midnight. > regards > > -----Original Message----- > From: Justin Pryzby [mailto:pry...@telsasoft.com] > Sent: Saturday, January 1, 2022 11:06 PM > To: shorewall-users@lists.sourceforge.net > Subject: Re: [Shorewall-users] shorewall startup > >> On Sat, Jan 01, 2022 at 10:59:36PM +0100, Damjan Hajsek wrote: >> Is there a way to make shorewall start when centos server starts boot up? > > You maybe need to enable it with systemctl. > > Or set STARTUP_ENABLED=Yes > > https://shorewall.org/FAQ.htm > > -- > Justin > > > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users > > > > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users