๐Ÿ”ฅInstalling & configuring UFW ๐Ÿ”ฅ๐Ÿงฑ Firewall

UFW: UFW (Uncomplicated Firewall) is a firewall that uses the command line to set up iptables with simple, easy-to-understand commands.

Installing UFW

  1. Install UFW package: First, we need to install the UFW package:

sudo apt install ufw

When prompted for confirmation, type y and press Enter. The installation will proceed.

  1. Enable the firewall: Once the installation is complete, we need to enable UFW:

sudo ufw enable

This command will activate the firewall. You should see a message confirming that the firewall is active.

Last updated

Was this helpful?