From dba098e9251edaf5e22a7d846e920e1403ec0846 Mon Sep 17 00:00:00 2001 From: nicolae-stroncea <39338488+nicolae-stroncea@users.noreply.github.com> Date: Mon, 14 Mar 2022 08:45:33 -0400 Subject: [PATCH] ufw: use range in deny port example (#7881) --- pages/linux/ufw.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/ufw.md b/pages/linux/ufw.md index 8df2a8bfa9..73a526d30e 100644 --- a/pages/linux/ufw.md +++ b/pages/linux/ufw.md @@ -28,9 +28,9 @@ `ufw deny {{80}}` -- Deny all UDP traffic to port 22: +- Deny all UDP traffic to ports in range 8412:8500: -`ufw deny proto {{udp}} from {{any}} to {{any}} port {{22}}` +`ufw deny proto {{udp}} from {{any}} to {{any}} port {{8412:8500}}` - Delete a particular rule. The rule number can be retrieved from the `ufw status numbered` command: