{"id":18107,"date":"2022-08-13T18:04:01","date_gmt":"2022-08-13T18:04:01","guid":{"rendered":"https:\/\/linuxways.net\/?p=18107"},"modified":"2022-08-17T03:19:40","modified_gmt":"2022-08-17T03:19:40","slug":"fix-inactive-ufw-status","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/fix-inactive-ufw-status\/","title":{"rendered":"How to Fix Inactive UFW Status"},"content":{"rendered":"<p>At times, when you launch your system, you might find out that your system\u2019s 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.<\/p>\n<h2><strong>Method of Fixing the Inactive UFW Status<\/strong><\/h2>\n<p>To fix the inactive UFW status, you have to follow the following steps described:<\/p>\n<h3><strong>Step 1: Check the Current UFW Status<\/strong><\/h3>\n<p>First, you need to check the current UFW status. For that, you have to execute the command that follows:<\/p>\n<pre>\r\n$ sudo ufw status\r\n<\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"352\" height=\"26\" class=\"wp-image-18113\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-1.png 352w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-1-300x22.png 300w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/strong><\/p>\n<p>You can easily confirm from the following image that the current UFW status is \u201cinactive\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"370\" height=\"61\" class=\"wp-image-18114\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-2.png 370w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-2-300x49.png 300w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/p>\n<h3><strong>Step 2: Activate UFW<\/strong><\/h3>\n<p>Now, you can activate UFW conveniently by running the following command:<\/p>\n<pre>\r\n$ sudo ufw enable\r\n<\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"353\" height=\"22\" class=\"wp-image-18115\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-3.png 353w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-3-300x19.png 300w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" \/><\/strong><\/p>\n<p>The output shown in the following image implies that the inactive status of UFW has been fixed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"410\" height=\"59\" class=\"wp-image-18116\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-4.png 410w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-4-300x43.png 300w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/p>\n<h3><strong>Step 3: Recheck the UFW Status<\/strong><\/h3>\n<p>To confirm if the Firewall is active now, you can run the following command again:<\/p>\n<pre>\r\n$ sudo ufw status\r\n<\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"352\" height=\"24\" class=\"wp-image-18117\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-5.png 352w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-5-300x20.png 300w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/strong><\/p>\n<p>The following image confirms the current status of UFW.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"372\" height=\"68\" class=\"wp-image-18118\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-6.png 372w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/08\/word-image-18107-6-300x55.png 300w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>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.<\/p>","protected":false},"excerpt":{"rendered":"<p>Practical tutorial on how to easily activate the Firewall status and protect your system from potential threats and attacks by fixing the inactive UFW status.<\/p>","protected":false},"author":3,"featured_media":18119,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-18107","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/18107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=18107"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/18107\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/18119"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=18107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=18107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=18107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}