Configure Fail2ban sshd port, if enabled
f-lopes opened this issue · comments
Florian LOPES commented
This role gives the possibility (and encourages) to change SSH port number.
If the SSH port number is customized (not 22), the sshd
Fail2ban jail will not work without providing the ssh port to block through a /etc/fail2ban/jail.local
file.
I will submit a PR to fix this and provide a way to customize jails as well.