Categories: TutorialsUbuntu

How to Fix Inactive UFW Status

At times, when you launch your system, you might find out that your system’s Firewall is currently not working. This can prove to be an alarming situation especially if you are dealing with some critical data. This calls for fixing the Firewall status immediately. Therefore, today, we will show you how you can fix the inactive UFW status.

Method of Fixing the Inactive UFW Status

To fix the inactive UFW status, you have to follow the following steps described:

Step 1: Check the Current UFW Status

First, you need to check the current UFW status. For that, you have to execute the command that follows:

$

Sponsored
sudo ufw status

You can easily confirm from the following image that the current UFW status is “inactive”.

Step 2: Activate UFW

Now, you can activate UFW conveniently by running the following command:

$ sudo ufw enable

Sponsored

The output shown in the following image implies that the inactive status of UFW has been fixed.

Step 3: Recheck the UFW Status

To confirm if the Firewall is active now, you can run the following command again:

$ sudo ufw status

The following image confirms the current status of UFW.

Conclusion

By going through the simple steps explained in this guide, you can easily activate the Firewall status and protect your system from almost all the potential threats and attacks.

Ubuntu Server Admin

Recent Posts

Canonical Releases Ubuntu 25.04 Plucky Puffin

The latest interim release of Ubuntu introduces “devpacks” for popular frameworks like Spring, along with…

2 days ago

Ubuntu 25.04 (Plucky Puffin) Released

Ubuntu 25.04, codenamed “Plucky Puffin”, is here. This release continues Ubuntu’s proud tradition of integrating…

3 days ago

Extended Security Maintenance for Ubuntu 20.04 (Focal Fossa) begins May 29, 2025

Ubuntu released its 20.04 (Focal Fossa) release 5 years ago, on March 23, 2020. As…

3 days ago

Ubuntu 20.04 LTS End Of Life – activate ESM to keep your fleet of devices secure and operational

Focal Fossa will reach the End of Standard Support in May 2025, also known as…

4 days ago

Ubuntu MATE 25.04 Release Notes

Ubuntu MATE 25.04 is ready to soar! 🪽 Celebrating our 10th anniversary as an official…

4 days ago

Ubuntu Weekly Newsletter Issue 887

Welcome to the Ubuntu Weekly Newsletter, Issue 887 for the week of April 6 –…

6 days ago