Merge pull request #131 from Miquel-TA/patch-1

Added a brief explanation about ufw limit
This commit is contained in:
moltenbit
2026-03-05 08:08:05 +01:00
committed by GitHub

View File

@@ -1578,7 +1578,7 @@ You can create rules by explicitly specifying the ports or with application conf
sudo ufw default deny incoming comment 'deny all incoming traffic' sudo ufw default deny incoming comment 'deny all incoming traffic'
``` ```
1. Obviously we want SSH connections in: 1. Obviously we want SSH connections in. Using limit instead of allow will automatically deny connections from an IP address if it attempts to initiate 6 or more connections within a 30-second window:
``` bash ``` bash
sudo ufw limit in ssh comment 'allow SSH connections in' sudo ufw limit in ssh comment 'allow SSH connections in'