Skip to main content

Posts

Showing posts from January, 2025

My Fail2Ban crash course

Fail2Ban protects servers from brute force attacks. Install: sudo apt install fail2ban Check status: sudo systemctl status fail2ban Default configuration is usually sufficient for SSH. To view banned IPs: sudo fail2ban-client status sshd Configuration files are in: /etc/fail2ban/ Fail2Ban adds a layer of automated protection to your server. Security should be proactive. Disclaimer: If you follow the information here, there is no warranty , I am not liable if it deletes your data, gets you hacked, burns your house down or anything else. If you follow the information contained here you do so entirely at your own risk . My views and opinions are my own and not necessarily represent the views of my employer. © Raheel Hameed and www.raheelhameed.com, 2017. Unauthorized use and/or duplication of this material without express and written permission from this site’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and ...