Back to Browse

Make Your VPS Fight Back: Fail2Ban | DevSecOps #4

43 views
May 17, 2026
20:05

This is Episode #4 of my DevSecOps series, where we talk about how to protect the VPS from Brute-force attacks or DDOS attacks or failed auth attempts, using Fail2Ban package. By the end of this video, your VPS will be: ✅ Able to read the logs and protect it self ✅ Block an IP address with malicious intent ⏱️ Chapters: 00:00 – Intro (Prison Analogy Opening) 00:58 – Welcome to the DevSecOps Series 01:08 – What Fail2Ban Is & Why It Matters 02:00 – Log Noise, Resource Protection & Attack Visibility 03:40 – How Fail2Ban Works (Prison Yard Analogy) 05:45 – SSH Into the VPS & Check Ports 07:55 – Reviewing Auth Logs & Seeing Real Attacks 10:04 – Installing Fail2Ban on Ubuntu 11:00 – Understanding Fail2Ban Config Structure 12:57 – Writing jail.local (Default, SSH, Recidive) 15:01 – Recidive Jail Explained (Long‑Term Bans) 16:00 – Reloading & Validating Fail2Ban Config 16:48 – Checking Jail Status & Banned IPs 18:01 – Demo: Failing SSH Login From Another Device 19:17 – Final Thoughts & Next Episode Preview 📌 DevSecOps Series Playlist: [https://www.youtube.com/playlist?list=PLEAUujeKPJjT9GOnOgRZEldzD6O06gi1h] 📌 Previous Episodes: 🔹 #1 —Secure Your CI/CD Pipeline in the Age of Vibe Coding [https://www.youtube.com/watch?v=NLMn_XLG7QA&t] 🔹 #2 — Picking the Right VPS for a Secure Pipeline [https://www.youtube.com/watch?v=6LLGBVybZ14&t] 🔹 #3 — Securing a fresh VPS (SSH daemon, UFW) [https://www.youtube.com/watch?v=WSqJQ7gJETE&t] #DevSecOps #VPSSecurity #fail2ban #SSH #UbuntuServer #CloudSecurity #DevOps #Cybersecurity #InfoSec #SelfHosted #SysAdmin #LinuxAdmin #SSHHardening #UFW #Fail2Ban #SystemAdministration #CICD #AzureDevOps #HomeLab #SecurityEngineering

Download

0 formats

No download links available.

Make Your VPS Fight Back: Fail2Ban | DevSecOps #4 | NatokHD