How to configure firewall in Ubuntu 18.04 - LinuxConfig.org

A properly configured firewall is one of the most important aspects of the overall system security. By default Ubuntu comes with a firewall configuration tool called UFW (Uncomplicated Firewall).
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-configure-firewall-in-ubuntu-18-04