Skip to main content
$Training4Linux
  • Learning paths
  • Start here
  • Reference
  • My learning
  1. Home
  2. Firewall & Security

Firewall & Security

Filter traffic and manage host-level security controls.

Networking & DNS 6 Mail Servers (Exim, Postfix) 6 File & Directory Management 16 Permissions & Ownership 6 Process & Job Management 6 Package Management 9 User & Group Management 8 System Monitoring & Logs 6 Text Processing & Editors 6 Disk & Storage 6 Systemd & Services 6 Firewall & Security 6 Shell & Environment Basics 8 System & Hardware Info 6 Scheduling & Automation 4 Archiving & Compression 6 Remote Access & File Transfer 5

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]
$Training4Linux

Build practical Linux confidence, one useful skill at a time. Structured lessons, your own lab and a reference that stays close.

Build your skills

  • Learning paths
  • Set up your lab
  • My learning & privacy

Find an answer

  • Command reference
  • Browse distributions
  • Search lessons & commands
  • About Training4Linux
© 2026 Training4Linux.co.uk · Learn with purpose. Practise with care.