Added a brief explanation about ufw limit

This commit is contained in:
Miquel TA
2026-03-04 18:28:30 +01:00
committed by GitHub
parent e0f0e874f9
commit a01b455d04

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. 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: 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'