Added example to add a port range (#2712)
I tried to google for this a bit and then figured out how it actually works.
This commit is contained in:
parent
ce6d82e007
commit
61d5fe148c
1 changed files with 3 additions and 0 deletions
|
@ -153,6 +153,9 @@ ufw: rule=allow name=OpenSSH delete=yes
|
|||
# Deny all access to port 53:
|
||||
ufw: rule=deny port=53
|
||||
|
||||
# Allow port range 60000-61000
|
||||
ufw: rule=allow port=60000:61000
|
||||
|
||||
# Allow all access to tcp port 80:
|
||||
ufw: rule=allow port=80 proto=tcp
|
||||
|
||||
|
|
Loading…
Reference in a new issue