About UFW:

UFW the Firewall

On Linux you may have the firewall UFW installed along your distro. To activate it, you just write the command; “sudo ufw enable”

That will enable the firewall. But you have to restart it, so now type “sudo ufw reload”.

Type "sudo ufw status" to check if the firewall has being enabled and started up properly.

If you want to let a webserver being enabled you can do it in two ways. First you can write “ufw allow 80”. This will allow port 80 to be opened.

To confirm your new rule, write “sudo ufw status”.

The other way to let UFW allow webtraffic is like so: "sudo ufw allow apache".