|- Number of jail: 2
`- Jail list: nginx-proxy, sshd
So the jail for nginx and sshd is active.
What I dont understand ( and please be patient, this is the first time I am working with fail2ban)
From the install doc that I used to install ERPNext…
The configuration files created by the bench command are:
Two Nginx configuration files located at /etc/nginx/nginx.conf and /etc/nginx/conf.d/frappe-bench.conf
One Fail2Ban proxy jail located at /etc/fail2ban/jail.d/nginx-proxy.conf and one filter located at /etc/fail2ban/filter.d/nginx-proxy.conf
I can see how they refer to each other, but if I go according to the other reading that I did
about fail2ban, then I am looking for a file “jail.local” where reference is made to
these jails and filters. So I am not sure how fail2ban is referencing the info in these
jail and filter files.
Also, in the jail.conf , the sshd-section refers to port=ssh
Does it pick up the port number for ssh from sshd_config ?