Now you need to turn UFW on Using the following command:
$ sudo ufw enable
Follow that command with the status command:
$ sudo ufw status verbose
The firewall is now on but in a basic mode – If this is a server you are not serving right now