Allows port 22 but limits each source IP to a few connection attempts per minute, automatically refusing faster repeaters. It is a lightweight alternative to fail2ban for SSH protection. Set the rule before enabling ufw so you never lock yourself out.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.