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:

$ 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

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

Predict, compare, and reduce costs with our S3 cost calculator

Previously I have written about how useful public cloud storage can be when starting a…

1 day ago

One Thread to Poll Them All: How a Single Pipe Made WaterDrop 50% Faster

This is Part 2 of the "Karafka to Async Journey" series. Part 1 covered WaterDrop's…

1 day ago

A year of documentation-driven development

For many software teams, documentation is written after features are built and design decisions have…

2 days ago

Announcing FIPS 140-3 for Ubuntu Core22

With the release of the FIPS 140-3 certified cryptographic modules for Ubuntu 22.04 LTS, Canonical…

3 days ago

The foundations of software: open source libraries and their maintainers

Open source libraries are repositories of code that developers can use and, depending on the…

6 days ago

From inspiration to impact: design students from Regent’s University London explore open design for their dissertation projects

Last year, we had the opportunity to speak at Regent’s UX Conference (Regent’s University London’s…

1 week ago