ufw: use range in deny port example (#7881)

This commit is contained in:
nicolae-stroncea
2022-03-14 08:45:33 -04:00
committed by GitHub
parent 413c75950f
commit dba098e925

View File

@@ -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: