ufw: use range in deny port example (#7881)
This commit is contained in:
@@ -28,9 +28,9 @@
|
|||||||
|
|
||||||
`ufw deny {{80}}`
|
`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:
|
- Delete a particular rule. The rule number can be retrieved from the `ufw status numbered` command:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user