User Tools

Site Tools


computing:fail2ban

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computing:fail2ban [2023/06/01 17:27] oemb1905computing:fail2ban [2023/12/27 16:08] (current) oemb1905
Line 70: Line 70:
   sudo systemctl restart fail2ban   sudo systemctl restart fail2ban
  
- --- //[[jonathan@haacksnetworking.org|oemb1905]] 2022/09/04 09:22//+Systemd log issues. Change the sshd jail as follows 
 + 
 +  sudo nano /etc/fail2ban/jail.local 
 +  backend = systemd 
 +  #backend = %(sshd_backend)s 
 +   
 +Some recommend adding backend = systemd into jail.conf, but I've found that does nothing. The error over ipv6 not being set and using auto can be removed as follows: 
 +   
 +  sudo nano /etc/fail2ban/fail2ban.conf 
 +  'allowipv6 = auto' 
 + 
 + --- //[[jonathan@haacksnetworking.org|oemb1905]] 2023/12/27 16:01//
computing/fail2ban.txt · Last modified: 2023/12/27 16:08 by oemb1905