How to Set Up a Firewall in Linux

Опубликовано: 13 Май 2026
на канале: TheTechWhiz
247
7

In this guide, you will learn here how to set up a firewall in Linux and how to easily add rules to allow access for other devices in your local network or specific ports.


Install GUFW on Ubuntu

sudo add-apt-repository universe

sudo apt update

sudo apt install gufw -y


After successful installation of GUFW, you can access it on your system by executing the following command:

sudo gufw