Ufw status you should see the following output:. If your virtual private server (vps) is configured for ipv6, ensure that ufw is configured to support ipv6 so that it configures both your ipv4 and ipv6 firewall rules. Install firewalld on ubuntu 22.04|20.04|18.04 by running the commands: By default, the service should be started, if not running, start. Sudo apt update sudo apt install ufw if you want to configure ufw with a friendly gui application, install gufw with sudo apt install gufw.