In this tutorial we will learn how to install and use this on Linux Ubuntu. I am not administrator but whatever i learn now days i m describing here.
UFW is the default firewall configuration tool for Ubuntu. UFW helps to iptables firewall configuration like create an IPv4 or IPv6 host-based firewall. By default UFW is disabled and its available as a frontend GUI as well.
How to install UFW:
sudo apt-get install ufw
How to remove UFW:
sudo apt-get remove ufw
If You already have then you can enable and disable ufw:
How to Enable UFW:
sudo ufw enable
How to Disable UFW:
sudo ufw disbale
How to check status UFW:
sudo ufw status
How to allow port:
sudo ufw allow 443
How to deny port:
sudo ufw deny 80
How to delete port rule:
sudo ufw delete deny/allow 80/443