How to enable ufw firewall service on boot in ubuntu

Introduction

The Unified Firewall (UFW) is a network firewall technology that allows network administrators to control the incoming and outgoing traffic on their networks. UFW can be used to protect networks from malicious attacks, prevent unauthorized access to systems, and protect data from being stolen.

In this post, You will get information about How to enable ufw firewall service on boot in ubuntu linux.

Step 1: Get UFW status

You need to 1st check your ufw service is status by using given command.

sudo systemctl status ufw.service

Step 2: Enable UFW Firewall

You need to execute the following command in order to enable the ufw service on boot.

sudo systemctl enable ufw.service

Conclusion

We have successfully enable ufw firewall service on boot in ubuntu server, Kindly report in case you are facing difficulties with following details.

  • OS name
  • OS version
  • Package name
  • Logs – Error / Warning / failed
How to enable ufw firewall service on boot in ubuntu

Leave a Reply

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

Scroll to top