Fail2ban not using my conf and also not using my rules?
I followed the fail2ban Ubuntu 14 tutorial that started out having me cp jail.conf jail.local but clearly fail2ban is still using jail.conf based on some simple tests. So I have questions:
- Why would I use jail.local instead of jail.conf?
- If I should use the .local then how do I get fail2ban to use it?
- Even when I modify the jail.conf that it is using it still doesn’t ban me after invalid SSH logins. I am using a custom SSH port, so do I need to do something special to tell fail2ban what my SSH port is when not using the default port?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×