Posted on Sunday March 13, 2016 by Eric PotvinUbuntu has simple firewall you can install. UFW (Uncomplicated Firewall) is a basic firewall that works very well and easy to configure with its Firewall configuration tool. To install UFW and enable it, simply execute this command:sudo apt-get install ufwAllow SSH and Http services. sudo ufw allow ssh sudo ufw allow http sudo ufw deny 23 sudo ufw default denyEnable the firewall. sudo ufw enableCheck the status of the firewall. sudo ufw status verboseYou can see all the changes in the IPTables config: sudo iptables -L