Re: shorewall startup

Bruce Bannerman <[email protected]>
Newsgroups gmane.comp.security.shorewall
Message-ID <[email protected]>
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 <[email protected]> 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:[email protected]] 
> Sent: Saturday, January 1, 2022 11:06 PM
> To: [email protected]
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shorewall-users
> 
> 
> 
> _______________________________________________
> Shorewall-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shorewall-users


_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.