UFW stands for Uncomplicated Firewall, and is a program for managing a netfilter firewall. It provides a command line interface and aims to be uncomplicated and easy to use.
UFW can be found in the testing repository. Read Alpine_Linux_package_management#Repository_pinning to enable the testing repository.
Once the testing repository has been enabled, UFW can be installed by issuing the following command: