UFWarrow-up-right: UFW (Uncomplicated Firewall) is a firewallarrow-up-right that uses the command line to set up iptablesarrow-up-right with simple, easy-to-understand commands.
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.
y
Enable the firewall: Once the installation is complete, we need to enable UFW:
This command will activate the firewall. You should see a message confirming that the firewall is active.
Last updated 9 months ago
sudo ufw enable