14383 shaares
5331 private links
5331 private links
I know this is an old thread but this is what pops up on a google search for this subject. I didn't see anyone give the most correct answer (imo) so here it is.
To change the Linux named port definition globally go to
/etc/services
ssh 22/tcp
ssh 22/udp
There is no need to change anything in the fail2ban configuration or in any other application that uses Linux named ports.