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:
Onni Hakala 2016-08-12 09:01:01 +03:00 committed by René Moser
parent ce6d82e007
commit 61d5fe148c

View file

@ -153,6 +153,9 @@ ufw: rule=allow name=OpenSSH delete=yes
# Deny all access to port 53: # Deny all access to port 53:
ufw: rule=deny 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: # Allow all access to tcp port 80:
ufw: rule=allow port=80 proto=tcp ufw: rule=allow port=80 proto=tcp