How to disable UFW Firewall on ubuntu 22.04 LTS


UFW, or Uncomplicated Firewall, is a simplified firewall administration interface that hides the complexity of lower-level packet filtering applied sciences such as iptables and nftables. If you’re searching to get began securing your network, and you’re now not positive which device to use, UFW can also be the proper desire for you.

In this post, We will disable the UFW firewall on ubuntu 22.04 LTS

Step 1: Disable UFW 

In order to disable the UFW firewall, You need to execute the following command.

sudo ufw disable

Step 2: Verify UFW status

You need to use the given command to check the status of UFW is enabled or not.

sudo ufw status

You will get a warning that says the command may additionally disrupt current SSH connections. We already set up a firewall rule that permits SSH connections, so it must be best to continue. Respond to the instant with y and hit ENTER.

The firewall is now active. Run the sudo ufw status verbose command to see the policies that are set. The relaxation of this tutorial covers how to use UFW in extra detail, like permitting or denying distinct sorts of connections.


Your firewall is now configured to permit (at least) SSH connections. Be positive to enable any different incoming connections that your server needs, whilst limiting any needless connections, so your server will be practical and secure. 

How to disable UFW Firewall on ubuntu 22.04 LTS

One thought on “How to disable UFW Firewall on ubuntu 22.04 LTS

  1. I am a website designer. Recently, I am designing a website template about The boss’s requirements are very strange, which makes me very difficult. I have consulted many websites, and later I discovered your blog, which is the style I hope to need. thank you very much. Would you allow me to use your blog style as a reference? thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top