How to manage range of ports in UFW

If you want to setup firewall rule with UFW use the one of the following procedure