Basic protection against online threats for a public facing server. (CentOS)

CSF

FirewallD

CLI for allowances

Standard Ports

How blocking works.

Mod Security for Apache2 / Litespeed / nginx

SlowDOS

etc