Re: Where to put firewall command for stratup at boot?

Alan Hicks <[email protected]>
Newsgroups gmane.linux.slackware
Message-ID <[email protected]>
On Mon, 26 Mar 2012 08:37:18 +0700
Willy Sudiarto Raharjo <[email protected]> wrote:
> Yes, it's the perfect place where you should the command to be
> executed at startup

In this case, no it's not.

I'm assuming that shorewall is writing your netfilter/iptables ruleset
and loading all relevant modules. In that case the proper thing to do
is place that in rc.firewall. That will ensure the kernel firewall is
activated properly before any network services start.

Putting it in rc.local probably won't harm anything, but it does leave
you without a firewall for some indefinite period while the system is
booting.

-- 
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5

_______________________________________________
slackware mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/slackware
signature.asc (application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJPb9B9AAoJEFjF6cqzLbBIk5MIALNATF/UnJJGaKlWthVAKS7+
AHMwM5GqfMOyd8jgd+ZUo8413ywE3Tnfh0IUmz9P7iPde+lHt+757PGvcBrXBRDO
nito9pUOtgCKVEYyZMHfecQMrcHHFopbe2pd2StTy9U/1f/FtQESTffUbOiVDgwL
qVM8CPIWSyrdcG503rvGJTM0t2JdUGrDjbf8lUwzjnqKZQY2J0TekArtffz52yJV
LJ0oNJnWcBgBTM+MPnSbIO1RHuRNYLOXl6M5UwnDsON5W/JGP/0kjgJU++x2C4Gj
okifQEJ0uM0eFokqq7u/pHD002qJjqwzANUdeXQglkJ6qwjms18MX2QULrlbK94=
=3K8A
-----END PGP SIGNATURE-----
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.