How to setup a UFW firewall on Ubuntu 16.04 LTS server


#1

Originally published at: https://www.cyberciti.biz/faq/howto-configure-setup-firewall-with-ufw-on-ubuntu-linux/

How do I setup a firewall with UFW (uncomplicated firewall) on an Ubuntu Linux 16.04 LTS server to restrict traffic on my personal web-server that hosts my pictures and blogs for my family members?


#2

First you must understand how UFW works, and avoid problems.

Check this:
https://www.linux.com/learn/introduction-uncomplicated-firewall-ufw