ufw
cli.
You can specify the port range and the protocol.
Additionally, you can also specify blanket allows and denies.
ufw
but this is not guaranteed.ufw
policies, make sure to enable ufw
using the command below. Rules are only applied when you enable the service.