{"id":12598,"date":"2021-12-07T04:14:43","date_gmt":"2021-12-07T04:14:43","guid":{"rendered":"https:\/\/linuxways.net\/?p=12598"},"modified":"2021-12-07T04:14:43","modified_gmt":"2021-12-07T04:14:43","slug":"disable-the-firewall-on-linux-mint-20","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/mint\/disable-the-firewall-on-linux-mint-20\/","title":{"rendered":"Disable the Firewall on Linux Mint 20"},"content":{"rendered":"<h2>Introduction:<\/h2>\n<p>A Firewall is also labeled as the First Line of Defense against all sorts of external threats and attacks on a system. This single statement is enough to realize the importance of a Firewall, especially in networking. However, at times, the strictness of your Firewall rules leads to such situations in which you are unable to perform some important tasks because of having your Firewall enabled. In these situations, you might want to disable your Firewall temporarily. Therefore, in this guide, we will learn the two methods of disabling the Firewall on a Linux Mint 20 system.<\/p>\n<h2>Methods of Disabling the Firewall on Linux Mint 20:<\/h2>\n<p>There are two most commonly used methods for disabling the Firewall on a Linux Mint 20 system which are discussed below:<\/p>\n<h3>Method # 1: By using the Built-in \u201cufw\u201d Utility:<\/h3>\n<p>Your Linux Mint 20 system\u2019s Firewall can easily be disabled by using the built-in \u201cufw\u201d utility on your system in the following manner:<\/p>\n<h4>Step # 1: Check the Current Status of your System\u2019s Firewall:<\/h4>\n<p>Before disabling the Firewall on your system, it must be enabled currently. For ensuring that, you need to check its current status with the command shown below:<\/p>\n<pre><strong>$ sudo ufw status<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"367\" height=\"22\" class=\"wp-image-12599\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-610.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-610.png 367w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-610-300x18.png 300w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/strong><\/p>\n<p>Currently, the Firewall is active on our Linux Mint 20 system as you can see from the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"479\" height=\"162\" class=\"wp-image-12600\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-611.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-611.png 479w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-611-300x101.png 300w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/p>\n<h4>Step # 2: Disable the Firewall on your System:<\/h4>\n<p>To disable the Firewall using this method, you have to execute the command shown below:<\/p>\n<pre><strong>$ sudo ufw disable<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"384\" height=\"25\" class=\"wp-image-12601\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-612.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-612.png 384w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-612-300x20.png 300w\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" \/><\/strong><\/p>\n<p>The following message will indicate that the Firewall has been disabled on your Linux Mint 20 system:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"407\" height=\"72\" class=\"wp-image-12602\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-613.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-613.png 407w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-613-300x53.png 300w\" sizes=\"auto, (max-width: 407px) 100vw, 407px\" \/><\/p>\n<h4>Step # 3: Check the Status of your Firewall again for Confirmation:<\/h4>\n<p>However, you can still check the status of your Firewall to confirm if it has been disabled or not. The current status of our Firewall confirms that it is inactive as shown in the image below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"386\" height=\"57\" class=\"wp-image-12603\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-614.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-614.png 386w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-614-300x44.png 300w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/p>\n<p>Moreover, whenever you feel like re-enabling your Firewall, all you need to do is to execute the following command:<\/p>\n<pre><strong>$ sudo ufw enable<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"370\" height=\"24\" class=\"wp-image-12604\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-615.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-615.png 370w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-615-300x19.png 300w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/strong><\/p>\n<p>The following message shows that the Firewall has been enabled again:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"443\" height=\"56\" class=\"wp-image-12605\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-616.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-616.png 443w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-616-300x38.png 300w\" sizes=\"auto, (max-width: 443px) 100vw, 443px\" \/><\/p>\n<h3>Method # 2: By using the Externally Installed \u201cgufw\u201d Utility:<\/h3>\n<p>For disabling your Linux Mint 20 system\u2019s Firewall through this method, you need to perform the steps discussed below:<\/p>\n<h4>Step # 1: Install the \u201cgufw\u201d Utility on your System:<\/h4>\n<p>First, you need to install the \u201cgufw\u201d utility on your system with the following command since unlike \u201cufw\u201d, this utility is not installed on Linux Mint 20 by default:<\/p>\n<pre><strong>$ sudo apt-get install gufw<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"451\" height=\"25\" class=\"wp-image-12606\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-617.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-617.png 451w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-617-300x17.png 300w\" sizes=\"auto, (max-width: 451px) 100vw, 451px\" \/><\/strong><\/p>\n<h4>Step # 2: Launch the \u201cgufw\u201d Utility on your System:<\/h4>\n<p>After installing this utility on your system, you can easily launch it by running the command shown below:<\/p>\n<pre><strong>$ gufw<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"282\" height=\"27\" class=\"wp-image-12607\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-618.png\" \/><\/strong><\/p>\n<p>Once you will attempt to launch the \u201cgufw\u201d utility on your system, you will be asked to authenticate yourself by providing your system\u2019s password as shown in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"262\" class=\"wp-image-12608\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-619.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-619.png 630w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-619-300x125.png 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/p>\n<p>After successful authentication, you will see the interface of the &#8220;gufw&#8221; utility on your system as shown in the image below. Moreover, you will also be able to check the current status of your Firewall from here.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"362\" height=\"499\" class=\"wp-image-12609\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-620.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-620.png 362w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-620-218x300.png 218w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/p>\n<h4>Step # 3: Disable the Firewall on your System:<\/h4>\n<p>For disabling the Firewall on your system, all you need to do is to turn off the \u201cStatus\u201d toggle button as shown in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"501\" class=\"wp-image-12610\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-621.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-621.png 360w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-621-216x300.png 216w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/p>\n<p>However, if at any moment, you want to re-enable your Firewall, then you simply need to turn on the very same toggle button as shown in the image below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"501\" class=\"wp-image-12611\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-622.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-622.png 360w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-622-216x300.png 216w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/p>\n<h2>Conclusion:<\/h2>\n<p>This tutorial explained the two methods of disabling the Firewall on a Linux Mint 20 system. However, the importance of an active Firewall must not be overlooked in any case. This is exactly why we have also shared with you the corresponding methods of re-enabling it once you have performed all of your desired tasks for which you had disabled your Firewall earlier.<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction: A Firewall is also labeled as the First Line of Defense against all sorts of external threats and attacks on a system. This single statement is enough&hellip;<\/p>","protected":false},"author":1,"featured_media":12780,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[197,129],"class_list":["post-12598","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mint","tag-firewall","tag-linux-mint-20"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/12598","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=12598"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/12598\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/12780"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=12598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=12598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=12598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}