myunix.org/security/
security

Linux Security

Hardening, VPNs, firewalls, and encryption. Keep your Unix systems locked down.

29 articles
best
Best VPN for Linux in 2025
We tested 8 VPNs on Debian, Arch, and RHEL. Here are the best Linux VPNs for 2025 with real CLI setups, WireGuard configs, and kill switch verification.
$ read →
guide
How to Harden Your SSH Server
Step-by-step SSH server hardening for sysadmins: disable root login, enforce key auth, configure AllowUsers, set up Fail2ban, and audit with ssh-audit.
$ read →
guide
SSH Key Authentication Setup: Step by Step
Set up SSH key authentication on Linux in 2026. Real commands, Ed25519 keys, authorized_keys hardening, and sshd_config tuning for sysadmins.
$ read →
guide
Linux Server Security Checklist 2025
A practical Linux server security checklist for sysadmins: SSH hardening, firewall rules, audit tools, and patch management with real commands.
$ read →
comparison
OpenVPN vs WireGuard: Which Should You Use
OpenVPN vs WireGuard compared for sysadmins: speed benchmarks, codebase size, kernel integration, and which protocol wins for specific workloads.
$ read →
guide
How to Set Up a VPN Server on Linux
Set up a WireGuard or OpenVPN server on Linux in 2026. Real commands, configs, and hardening steps for sysadmins and DevOps engineers.
$ read →
guide
WireGuard Setup on Linux: Step-by-Step Guide
Configure WireGuard VPN on Linux in under 15 minutes. Real commands for Ubuntu, Debian, and RHEL. Covers keys, peers, routing, and persistent tunnels.
$ read →
guide
How to Set Up Fail2ban on Linux
Set up Fail2ban on Linux in 2026: real config examples, custom jails, SSH hardening, and tuning tips for sysadmins. Tested on Ubuntu 24.04 and RHEL 9.
$ read →
guide
Certbot and Let's Encrypt on Nginx: Full Guide
Install and configure Certbot with Let's Encrypt on Nginx in 2026. Real commands, automation, renewal, wildcard certs, and troubleshooting for sysadmins.
$ read →
guide
SSL/TLS Setup on Nginx: Full Guide
Configure SSL/TLS on Nginx with real commands, cipher tuning, OCSP stapling, and A+ ratings. Step-by-step for sysadmins in 2026.
$ read →
best
Best Password Manager for Linux CLI in 2025
Top CLI password managers for Linux sysadmins in 2025. Real commands, GPG setup, team sync, and a direct recommendation for DevOps workflows.
$ read →
guide
Linux Firewall: iptables Guide for Beginners
Master iptables on Linux: real commands, chain logic, NAT, stateful rules, and persistence. Tested on Debian 12 and RHEL 9. No fluff, just working configs.
$ read →
guide
How to Audit a Linux Server
Audit a Linux server with real commands: user accounts, open ports, SUID files, cron jobs, kernel params, and log review. Step-by-step for sysadmins.
$ read →
guide
Linux iptables Tutorial: Rules and Chains
Master iptables rules and chains on Linux. Real commands, tested configs, and packet flow diagrams for sysadmins managing firewall policy in 2026.
$ read →
best
Best VPN for Developers in 2025
NordVPN and four other VPNs tested on Linux CLI, split tunneling, and API access. Real benchmarks for sysadmins and DevOps engineers.
$ read →
guide
Linux SSH Tunneling: Port Forwarding Guide
Master SSH local, remote, and dynamic tunneling on Linux. Real commands, sshd configs, and use cases for sysadmins and DevOps engineers.
$ read →
best
Best Linux Security Tools in 2025
The 10 best Linux security tools in 2025, tested by sysadmins: real commands, version numbers, benchmark data, and direct recommendations.
$ read →
guide
Two-Factor Authentication on a Linux Server
Set up 2FA on Linux with Google Authenticator PAM or TOTP. Real commands, SSH config, sudo hardening, and tested edge cases for production servers.
$ read →
guide
GPG Encryption Tutorial for Linux
GPG encryption on Linux from key generation to automated signing pipelines. Real commands, real configs, tested on GnuPG 2.4.x in 2026.
$ read →
guide
Privacy-First AI Applications on Linux
Run AI tools locally on Linux with zero data leakage. Ollama, llama.cpp, and Open WebUI setup with network isolation, auditd, and real config examples.
$ read →
guide
Best Linux VPN Server Setup: WireGuard Guide
Set up WireGuard VPN on Linux in under 20 minutes. Real commands, kernel config, peer management, and hardening for sysadmins and DevOps teams.
$ read →
guide
Linux Disk Encryption with LUKS
Set up LUKS disk encryption on Linux from scratch. Real commands for cryptsetup 2.x, keyfiles, LUKS2 headers, and automated unlocking in production.
$ read →
guide
Linux Log Management: Finding and Reading Logs
Find, read, and analyze Linux logs with real commands. Covers journald, rsyslog, logrotate, and grep patterns for sysadmins and DevOps engineers.
$ read →
guide
Intrusion Detection on Linux: Practical Setup
Set up real intrusion detection on Linux with AIDE, Suricata, and auditd. Practical commands, configs, and alert tuning for sysadmins in 2026.
$ read →
comparison
AppArmor vs SELinux: Which MAC System to Use
AppArmor vs SELinux compared on policy complexity, distro support, container security, and real-world enforcement. We tested both on Ubuntu 24.04 and RHEL 9.
$ read →
best
Best Linux Security Audit Tools in 2025
The 8 best Linux security audit tools tested by sysadmins: Lynis, OpenSCAP, Trivy, Falco, and more. Real commands, real output, direct recommendations.
$ read →
guide
Fail2ban Advanced Configuration Guide
Go beyond default Fail2ban setup: custom jails, regex filters, multi-port bans, recidive jail, and action scripts tested on Ubuntu 24.04 and RHEL 9.
$ read →
comparison
OSSEC vs Wazuh: Which HIDS to Choose
OSSEC vs Wazuh compared on architecture, rules, scalability, and ops cost. Real configs, benchmarks, and a direct recommendation for sysadmins.
$ read →
guide
Snort IDS Setup on Linux
Install and configure Snort 3 IDS on Linux in 2026. Real commands, rule tuning, pflog integration, and performance benchmarks from our test server.
$ read →