Firewall & Security
Filter traffic and manage host-level security controls.
6 commands in this section.
fail2ban-client
Intermediate
Manage the Fail2Ban intrusion-prevention service.
fail2ban-client [command]
firewall-cmd
Intermediate
Manage firewalld, the default firewall on RHEL-based systems.
firewall-cmd [options]
getenforce / setenforce
Advanced
Check or change the current SELinux mode.
getenforce | setenforce [Enforcing|Permissive]
iptables
Advanced
Directly configure Linux kernel packet-filtering rules.
iptables [options]
ssh-keygen
Beginner
Generate SSH key pairs for passwordless, key-based authentication.
ssh-keygen [options]
ufw
Beginner
Uncomplicated Firewall — simplified iptables management.
ufw [command]