<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>firewall Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/firewall/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sat, 23 Sep 2023 04:38:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to block internet access from any application on Android</title>
		<link>https://www.osradar.com/how-to-block-internet-access-from-any-application-on-android/</link>
					<comments>https://www.osradar.com/how-to-block-internet-access-from-any-application-on-android/#respond</comments>
		
		<dc:creator><![CDATA[vazquez]]></dc:creator>
		<pubDate>Sat, 23 Sep 2023 04:38:35 +0000</pubDate>
				<category><![CDATA[Mobiles]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[firewall]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=39792</guid>

					<description><![CDATA[<p>Hello friends! Surely you&#8217;ve ever wanted to block internet access to an app or game on your Android device. Maybe you want to save mobile data and prevent an app from sending you annoying notifications. Block ads, or just protect your privacy. Whatever the reason. In this article we will explain how to block internet [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-block-internet-access-from-any-application-on-android/">How to block internet access from any application on Android</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello friends! Surely you&#8217;ve ever wanted to block internet access to an app or game on your <a href="https://www.osradar.com/how-to-easily-connect-dualsense-ps5-controller-to-your-android-phone/" target="_blank" rel="noreferrer noopener">Android </a>device. Maybe you want to save mobile data and prevent an app from sending you annoying notifications. Block ads, or just protect your privacy. Whatever the reason. <strong>In this article we will explain how to block internet access from any app on Android.</strong> You can do it quickly and easily. There are several ways to block internet access from an app or game on Android. But the easiest and most effective. It is to use a third-party application that is responsible for managing network permissions on your device.</p>



<h2>How to block internet access for any application on Android with NetGuard</h2>



<p>There are many options available in Google Play. But in this case, we recommend NetGuard. It is a free, secure, reliable, and ad-free application. It allows you to control the Internet traffic of any app with a simple tap.</p>



<h3>First step</h3>



<p>To use NetGuard, you must first download and install it on your Android device by following the link below:</p>



<p><a href="https://play.google.com/store/apps/details?id=eu.faircode.netguard" target="_blank" rel="noreferrer noopener">Google Play | NetGuard &#8211; No-Root Firewall</a></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2023/09/BIA_01-461x1024.jpg" alt="Google Play" class="wp-image-39794" srcset="https://www.osradar.com/wp-content/uploads/2023/09/BIA_01-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_01-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_01-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_01-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_01-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_01-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_01-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_01.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption>Google Play</figcaption></figure>



<h3>Second step</h3>



<p>Then open NetGuard on your Android and click <em>&#8220;I agree&#8221;</em> on the first prompt you see.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2023/09/BIA_02-461x1024.jpg" alt="NetGuard block internet access" class="wp-image-39795" srcset="https://www.osradar.com/wp-content/uploads/2023/09/BIA_02-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_02-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_02-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_02-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_02-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_02-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_02-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_02.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption>NetGuard </figcaption></figure>



<h3>Third step</h3>



<p>Activate the application by tapping the button in the upper left corner.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2023/09/BIA_03-461x1024.jpg" alt="Activate the application block internet access" class="wp-image-39796" srcset="https://www.osradar.com/wp-content/uploads/2023/09/BIA_03-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_03-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_03-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_03-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_03-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_03-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_03-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_03.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption>Activate the application</figcaption></figure>



<h3>Fourth step</h3>



<p>Next, tap <em>&#8220;ok&#8221;</em> as many times as necessary to allow <em>&#8220;NetGuard&#8221;</em> to create a VPN (Virtual Private Network) with which it can filter Internet traffic from applications.</p>



<figure class="wp-block-gallery columns-2 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2023/09/BIA_04-461x1024.jpg" alt=" tap &quot;ok&quot;" data-id="39797" data-full-url="https://www.osradar.com/wp-content/uploads/2023/09/BIA_04.jpg" data-link="https://www.osradar.com/?attachment_id=39797" class="wp-image-39797" srcset="https://www.osradar.com/wp-content/uploads/2023/09/BIA_04-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_04-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_04-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_04-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_04-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_04-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_04-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_04.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption class="blocks-gallery-item__caption"> tap &#8220;ok&#8221;</figcaption></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2023/09/BIA_05-461x1024.jpg" alt="VPN " data-id="39798" data-full-url="https://www.osradar.com/wp-content/uploads/2023/09/BIA_05.jpg" data-link="https://www.osradar.com/?attachment_id=39798" class="wp-image-39798" srcset="https://www.osradar.com/wp-content/uploads/2023/09/BIA_05-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_05-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_05-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_05-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_05-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_05-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_05-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_05.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption class="blocks-gallery-item__caption">VPN </figcaption></figure></li></ul></figure>



<h3>Fifth step</h3>



<p>You will also need to disable battery optimization for NetGuard (so it can run more consistently). You can do this by following the pop-up window that the application shows you or by going to <em>Settings&gt;Applications&gt;NetGuard&gt;Battery&gt;No restrictions</em>.</p>



<figure class="wp-block-gallery columns-2 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2023/09/BIA_06-461x1024.jpg" alt="NetGuard " data-id="39799" data-full-url="https://www.osradar.com/wp-content/uploads/2023/09/BIA_06.jpg" data-link="https://www.osradar.com/?attachment_id=39799" class="wp-image-39799" srcset="https://www.osradar.com/wp-content/uploads/2023/09/BIA_06-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_06-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_06-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_06-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_06-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_06-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_06-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_06.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption class="blocks-gallery-item__caption">NetGuard </figcaption></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2023/09/BIA_07-461x1024.jpg" alt="No restrictions" data-id="39800" data-full-url="https://www.osradar.com/wp-content/uploads/2023/09/BIA_07.jpg" data-link="https://www.osradar.com/?attachment_id=39800" class="wp-image-39800" srcset="https://www.osradar.com/wp-content/uploads/2023/09/BIA_07-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_07-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_07-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_07-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_07-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_07-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_07-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_07.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption class="blocks-gallery-item__caption">No restrictions</figcaption></figure></li></ul></figure>



<h3>Sixth step</h3>



<p>Finally, go back to <em>NetGuard </em>and disable Internet access for the applications you want by tapping the WiFi and Mobile Data icons. If the icon is green, Internet access is enabled, and if it is red, the application cannot use the Internet.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2023/09/BIA_08-461x1024.jpg" alt="NetGuard  block internet access" class="wp-image-39801" srcset="https://www.osradar.com/wp-content/uploads/2023/09/BIA_08-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_08-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_08-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_08-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_08-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_08-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_08-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2023/09/BIA_08.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption>NetGuard </figcaption></figure>



<p>Remember that you can change the permissions in NetGuard at any time. You can also configure other advanced options from the application&#8217;s settings menu. For example, you can create whitelists or blacklists of applications, set rules by time or network, view the data usage of each application, and much more.</p>



<h2>Is it safe to use NetGuard to block Internet access for an app or game on Android?</h2>



<p>By blocking Internet access to applications through a VPN. You might think that this method can be dangerous for your privacy. But don&#8217;t worry, NetGuard VPN does not connect to any external server or collect your data. It only serves to block Internet access to the applications you choose. It is also important to note that NetGuard is an open-source application (you can view its code on GitHub). This is a guarantee that the application is transparent, and secure and does not hide anything strange in its operation. Thank you for reading. Bye bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-block-internet-access-from-any-application-on-android/">How to block internet access from any application on Android</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-block-internet-access-from-any-application-on-android/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Differences between software and hardware firewalls</title>
		<link>https://www.osradar.com/differences-between-software-and-hardware-firewalls/</link>
					<comments>https://www.osradar.com/differences-between-software-and-hardware-firewalls/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Thu, 28 Apr 2022 21:00:00 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[hardware firewall]]></category>
		<category><![CDATA[software firewall]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=35745</guid>

					<description><![CDATA[<p>Hello! Having your computers protected is a must for them to work well and avoid problems. It is also a way to keep our personal data safe and avoid intruders affecting performance. On the other hand, to protect ourselves, we can make use of different methods and tools. Undoubtedly, a great option is to have [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/differences-between-software-and-hardware-firewalls/">Differences between software and hardware firewalls</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! Having your computers protected is a must for them to work well and avoid problems. It is also a way to keep our personal data safe and avoid intruders affecting performance. On the other hand, to protect ourselves, we can make use of different methods and tools. Undoubtedly, a great option is to have a <a href="https://www.osradar.com/how-to-bypass-a-firewall/" target="_blank" rel="noreferrer noopener">firewall</a>. There are hardware and software firewalls. What are their differences? Which one is better to use? Let&#8217;s try to clear up these doubts. Stay with us to find out what the differences between software and hardware <a href="https://support.microsoft.com/en-us/windows/turn-microsoft-defender-firewall-on-or-off-ec0844f7-aebd-0583-67fe-601ecf5d774f" target="_blank" rel="noreferrer noopener">firewalls.</a></p>



<h2>Differences between software firewalls and  hardware firewalls.</h2>



<p>A firewall is one more option that allows us to protect our systems. In fact, it is a barrier between our device and the network. It allows you to analyze connections and determine when there may be an unsafe connection that could put a computer, cell phone or any other device at risk. If there is any risk, it blocks it.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="512" height="512" src="https://www.osradar.com/wp-content/uploads/2022/04/fire.png" alt="" class="wp-image-35746" srcset="https://www.osradar.com/wp-content/uploads/2022/04/fire.png 512w, https://www.osradar.com/wp-content/uploads/2022/04/fire-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/04/fire-150x150.png 150w" sizes="(max-width: 512px) 100vw, 512px" /></figure>



<p>It is possible to configure different aspects. For example, create a whitelist and allow certain connections, block programs from accessing the Internet, ports, etc. We normally use a software firewall, which is basically a computer program that we install. There are free ones, such as the Windows firewall itself, but we have a wide range of options.</p>



<p>But we can also have a hardware firewall, which is another option we can consider protecting our systems and avoid network problems. Nevertheless, what are their differences?</p>



<h3>Structure</h3>



<p>The first clear difference is that a software firewall is a program, something intangible. On the other hand, a hardware firewall is a physical device. Although they have the same objective of controlling connections, there is a point of difference in their structure. An application is not the same as a computer.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="836" src="https://www.osradar.com/wp-content/uploads/2022/04/fire2-1024x836.png" alt="" class="wp-image-35747" srcset="https://www.osradar.com/wp-content/uploads/2022/04/fire2-1024x836.png 1024w, https://www.osradar.com/wp-content/uploads/2022/04/fire2-300x245.png 300w, https://www.osradar.com/wp-content/uploads/2022/04/fire2-768x627.png 768w, https://www.osradar.com/wp-content/uploads/2022/04/fire2-696x568.png 696w, https://www.osradar.com/wp-content/uploads/2022/04/fire2-1068x872.png 1068w, https://www.osradar.com/wp-content/uploads/2022/04/fire2.png 1135w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Something similar occurs when using a physical VPN and another at the application level. Concerning software, we will be able to install it on the system, while a hardware firewall will be an independent device on our computer.</p>



<h3>Ease of use</h3>



<p>This is a significant aspect to highlight. Is it easier to use a hardware or software firewall? This is undoubtedly a key factor in choosing one or the other option in most cases. Here the difference is clear, and it will be much easier to use a software firewall.</p>



<p>Concerning software, we will only have to install it on the system. Some even require little or no configuration. In fact, they usually come preconfigured with the basics to protect connections. On the other hand, if you use a hardware firewall, it will require physical installation and further configuration. It is more oriented to more experienced users.</p>



<h3>Security</h3>



<p>Clearly, security is one of the reasons why we use a firewall. We want to maintain maximum protection and not have problems with malware or attacks that can compromise our systems. But which of the two options is more secure for our systems?</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="1000" height="1000" src="https://www.osradar.com/wp-content/uploads/2022/04/fire3-1.png" alt="" class="wp-image-35748" srcset="https://www.osradar.com/wp-content/uploads/2022/04/fire3-1.png 1000w, https://www.osradar.com/wp-content/uploads/2022/04/fire3-1-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/04/fire3-1-150x150.png 150w, https://www.osradar.com/wp-content/uploads/2022/04/fire3-1-768x768.png 768w, https://www.osradar.com/wp-content/uploads/2022/04/fire3-1-696x696.png 696w" sizes="(max-width: 1000px) 100vw, 1000px" /></figure>



<p>Let&#8217;s start from the fact that both are going to protect us. Of course, as long as we use the correct option. That is to say, not all firewalls will protect us equally, in the same way that not all antivirus programs protect us well, etc. However, a software firewall will receive updates more frequently and that gives it a plus. On the other hand, a hardware firewall will protect the connection that enters a computer, regardless of what operating system we are using at the time.</p>



<h3>Usability</h3>



<p>There are also differences in usability. A software firewall can be installed on your computer or cell phone. As a result, it is a program that will remain there. If we take that computer and move to another location and connect to another network, it will still continue to protect us.</p>



<p>On the other hand, a physical firewall is usually connected to the router. It will be less flexible to move it from one place to another. Therefore, at the home user level, the most useful thing is software and not a physical device.</p>



<h3>Price</h3>



<p>There are marked differences in this regard. A software firewall can be free, such as Microsoft&#8217;s own firewall or many other options found on the Internet. There are also very low-cost ones. </p>



<figure class="wp-block-image size-full"><img loading="lazy" width="900" height="900" src="https://www.osradar.com/wp-content/uploads/2022/04/fire4.png" alt="" class="wp-image-35749" srcset="https://www.osradar.com/wp-content/uploads/2022/04/fire4.png 900w, https://www.osradar.com/wp-content/uploads/2022/04/fire4-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/04/fire4-150x150.png 150w, https://www.osradar.com/wp-content/uploads/2022/04/fire4-768x768.png 768w, https://www.osradar.com/wp-content/uploads/2022/04/fire4-696x696.png 696w" sizes="(max-width: 900px) 100vw, 900px" /></figure>



<p>On the other hand, a hardware firewalls will be more expensive and is an investment that we will have to make. Therefore, if you are looking to protect your computer and do not want to make a financial outlay, the best option is undoubtedly a software firewall. You will avoid having to purchase a device, with what that may mean as for price.</p>



<h2>Which one to choose</h2>



<p>After having explained the main differences between a software firewall and a hardware firewall, let&#8217;s talk about when to use one or the other option. This way you will be able to choose which one suits you best according to the use you are going to make of it. In addition, you can determine how you want to protect your device.</p>



<h3>Protect one or many devices</h3>



<p>The first thing to think about is what you are going to protect. A single device, such as a computer or cell phone, is not the same as an entire network. Logically, the latter requires more attention, since you will be able to connect many devices of all types. This will be key to choose what suits you better and purchase a physical device or a program.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="800" height="600" src="https://www.osradar.com/wp-content/uploads/2022/04/fire5.png" alt="" class="wp-image-35751" srcset="https://www.osradar.com/wp-content/uploads/2022/04/fire5.png 800w, https://www.osradar.com/wp-content/uploads/2022/04/fire5-300x225.png 300w, https://www.osradar.com/wp-content/uploads/2022/04/fire5-768x576.png 768w, https://www.osradar.com/wp-content/uploads/2022/04/fire5-696x522.png 696w, https://www.osradar.com/wp-content/uploads/2022/04/fire5-265x198.png 265w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>If you are only going to protect one computer, such as a computer, it is better to use a software firewall. On the other hand, if you want to protect an entire network, you should ideally use a hardware firewall. This way, you will protect everything you connect to your network.</p>



<h3>Home or business user</h3>



<p>But if there is a clear reason to choose one option or another is to see if you are going to use it at home or for a company. The normal thing is that for personal use, to protect a computer or cell phone, it is best to use a program firewall. You will not require more than that, and so you do not have to spend anything or very little.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="822" src="https://www.osradar.com/wp-content/uploads/2022/04/fire6-1024x822.png" alt="" class="wp-image-35752" srcset="https://www.osradar.com/wp-content/uploads/2022/04/fire6-1024x822.png 1024w, https://www.osradar.com/wp-content/uploads/2022/04/fire6-300x241.png 300w, https://www.osradar.com/wp-content/uploads/2022/04/fire6-768x617.png 768w, https://www.osradar.com/wp-content/uploads/2022/04/fire6-1536x1233.png 1536w, https://www.osradar.com/wp-content/uploads/2022/04/fire6-2048x1644.png 2048w, https://www.osradar.com/wp-content/uploads/2022/04/fire6-696x559.png 696w, https://www.osradar.com/wp-content/uploads/2022/04/fire6-1068x858.png 1068w, https://www.osradar.com/wp-content/uploads/2022/04/fire6-1920x1542.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>If you want to protect a company, where there will be many devices of all types connected, in this case it can be interesting to use a physical firewall. This allows malicious connections to be blocked for the entire network, and thus prevent problems from affecting essential components of an organization.</p>



<h3>Where you will use it</h3>



<p>The place where you are going to need it will also be a key factor in choosing one option or another. If you use a computer in different networks, such as at home, at work, in a library, on a trip… Undoubtedly, the ideal thing is to have a software firewall, since you will be able to take it anywhere.</p>



<p>On the other hand, if you are going to use it only in your home, work or any fixed location, then you might be interested in a hardware firewall. In that case you will not be able to move it, but you would not need it either.</p>



<p>Thus, we have seen the main differences between a software and a hardware firewalls. As you can see, they are two different options but with the same objective. They aim to protect your connections and prevent threats from entering your network and devices. See you later.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/differences-between-software-and-hardware-firewalls/">Differences between software and hardware firewalls</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/differences-between-software-and-hardware-firewalls/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to bypass a firewall</title>
		<link>https://www.osradar.com/how-to-bypass-a-firewall/</link>
					<comments>https://www.osradar.com/how-to-bypass-a-firewall/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Tue, 19 Apr 2022 21:31:00 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[vpn]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=35375</guid>

					<description><![CDATA[<p>Hello, In most schools, universities and at work there is a firewall. Indeed, this tool in combination with others, limits Internet browsing and protect users against external threats. In many occasions, the restrictions at the firewall level are quite important. Consequently, if we want to access blocked websites we will have to make use of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-bypass-a-firewall/">How to bypass a firewall</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, In most schools, universities and at work there is a firewall. Indeed, this tool in combination with others, limits Internet browsing and protect users against external threats. In many occasions, the restrictions at the firewall level are quite important. Consequently, if we want to access blocked websites we will have to make use of different tools. It is probably not a good idea to bypass this firewall because it can have consequences. However, here we are going to offer some methods in case you are willing to take the risk. In this post we are going to talk about how to bypass the firewall.</p>



<h2>How to bypass the firewall</h2>



<p>A firewall is a software and/or hardware system that is responsible for controlling all incoming and outgoing connections between the local network and the Internet. It is also responsible for logically separating different subnets that we have in different VLANs. Its main function is to prevent and protect our private network from possible intrusions. With this in mind, it blocks access from the outside to the inside. A firewall can also be configured to limit traffic from the internal network to the external network. Therefore, we might encounter some kind of blocking implemented by the network administrator.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="800" height="800" src="https://www.osradar.com/wp-content/uploads/2022/03/fire.png" alt="" class="wp-image-35377" srcset="https://www.osradar.com/wp-content/uploads/2022/03/fire.png 800w, https://www.osradar.com/wp-content/uploads/2022/03/fire-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/03/fire-150x150.png 150w, https://www.osradar.com/wp-content/uploads/2022/03/fire-768x768.png 768w, https://www.osradar.com/wp-content/uploads/2022/03/fire-696x696.png 696w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>In many occasions users want to access the Internet without any kind of limitation. Indeed, knowledge of how to access blocked websites in a school or university can be an asset among students. The same is true at work. It is possible to want to access a resource blocked by the firewall. Consequently, it may be necessary to attempt to bypass the organization&#8217;s firewall.</p>



<p>Here we are going to analyze how to bypass the school, university or work firewall. Accordingly, we will check methods to bypass the firewall. This depends on how that particular firewall works. Some work at the DNS level. That is to say, the firewall itself will be in charge of providing us with local DNS servers where the filtering is done, in addition, the possibility of using external DNS such as those of Google or Cloudflare is blocked. Another common method of blocking is to check the SNI field of HTTPS connections. As a result, we could allow or block access to certain web pages. Finally, they could do a deep traffic inspection (DPI) to block traffic that they have defined in the rules.</p>



<h2>Use a proxy server</h2>



<p><a href="https://www.osradar.com/how-to-configure-a-proxy-server-in-windows-10/" target="_blank" rel="noreferrer noopener">Proxies</a> are services that will act as intermediaries and handle requests for us. For example, if you want to view a game website, it is quite likely that you will look it up by typing the URL in the address bar and the firewall will block it. A proxy server avoids this because you are not visiting the game website directly. What we do is go to the proxy page, and you tell it to go to that page instead of us. It then shows you all the requested content, while the firewall only sees the proxy URL.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="830" height="495" src="https://www.osradar.com/wp-content/uploads/2022/03/fire2.png" alt="" class="wp-image-35378" srcset="https://www.osradar.com/wp-content/uploads/2022/03/fire2.png 830w, https://www.osradar.com/wp-content/uploads/2022/03/fire2-300x179.png 300w, https://www.osradar.com/wp-content/uploads/2022/03/fire2-768x458.png 768w, https://www.osradar.com/wp-content/uploads/2022/03/fire2-696x415.png 696w" sizes="(max-width: 830px) 100vw, 830px" /></figure>



<p>There are several types of Proxy, those based on HTTP and HTTPS. It is the latter that you should use. Indeed, if you use HTTP, all traffic will be unencrypted and could easily be blocked by the firewall. When using an HTTPS proxy, all communications between the user&#8217;s computer and the proxy server will be fully encrypted. Consequently, it is ideal for maintaining privacy and keeping the firewall <em>out of the way</em>.</p>



<p>When using a web proxy, you must consider that the browser you use must be correctly configured. Therefore, you must go to the network section and configure the IP address and port of the proxy, as well as the protocol it is using. Once configured, we will be able to surf the Internet through the Proxy. However, the traffic used by other programs such as Skype or Slack will go through the main Internet connection. In reality, there is no complete forwarding of traffic as with VPN services, only web traffic will move through the Proxy.</p>



<h2>Use a VPN to keep your traffic out of sight</h2>



<p>A <a href="https://www.osradar.com/the-best-free-vpns-for-2022/" target="_blank" rel="noreferrer noopener">VPN </a>is even more complete than a proxy and also makes it possible to bypass the firewall at work or school. In this case, it is as if our data travels hidden through a tunnel thanks to encryption. Consequently, it keeps us safe from prying eyes such as the school itself, the Internet provider and more. In this way of working, our computer sends this encrypted data to a VPN server, which decrypts our data. It then reads where we want to go and goes there. It then sends the traffic back encrypted and bypasses the firewall without any problems.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="512" height="512" src="https://www.osradar.com/wp-content/uploads/2022/04/fire3.png" alt="" class="wp-image-35670" srcset="https://www.osradar.com/wp-content/uploads/2022/04/fire3.png 512w, https://www.osradar.com/wp-content/uploads/2022/04/fire3-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/04/fire3-150x150.png 150w" sizes="(max-width: 512px) 100vw, 512px" /></figure>



<p>A significant detail of VPNs is that all network traffic will go from your PC to the VPN server. In fact, it will not only be the web traffic, but also the Internet traffic of any program or process we are using.</p>



<h2>Google Translate</h2>



<p>Another method is to use Google Translate. Here we have to use the translation page function to use it. Then, when Google Translate translates that page, it loads the page on the server, translates it and sends us the result. This little trick is widely used to bypass firewalls when a website is blocked. In effect, we will use Google&#8217;s services to take us to the final website. However, this method has its limitations. Besides, it is quite annoying to have to use the hyperlinks inside the Google translator.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="535" height="535" src="https://www.osradar.com/wp-content/uploads/2022/03/fire4.png" alt="" class="wp-image-35380" srcset="https://www.osradar.com/wp-content/uploads/2022/03/fire4.png 535w, https://www.osradar.com/wp-content/uploads/2022/03/fire4-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/03/fire4-150x150.png 150w" sizes="(max-width: 535px) 100vw, 535px" /></figure>



<p>The use of this trick is basic. Just go to the <a href="https://translate.google.com/" target="_blank" rel="noreferrer noopener">Google Translate </a>page. Once there, please upload the URL of the blocked web page. Allow the algorithm to detect the language automatically. Then, you have to translate the website to a different language than the original one. That&#8217;s it! As a result, you will have access to the website but in a different language than the original one. However, it is a way to access. Beyond the language limitation, it is likely that your organization will also block this domain from Google because it has been known to do this kind of thing. As a result, it may not work.</p>



<h2>Type the IP address of the website</h2>



<p>When surfing the Internet we use domain names because they are easier to remember. The reality is that those names are in charge of translating them to the DNS servers and then sending us to that IP address. If we put that public IP in the address bar of the browser we can bypass the firewall. Of course, as long as the firewall does not have a blacklist of IP addresses that cannot be accessed or does traffic inspection. A web page that we can use to find out that IP is <a href="https://whatismyipaddress.com/" target="_blank" rel="noreferrer noopener">WhatIsMyIPAddress.</a></p>



<p>This form of connection will only work in cases where the firewall blocks traffic at the DNS level. However, if the blocking is through DNS and IP, it will not work because it will also detect that we are connecting to unauthorized websites. If you cannot use Proxy and VPN to attempt to bypass firewalls, this trick might work well for you to connect without limitations. However, you will have to know in advance all the IP addresses of the websites you want to access, so it will be quite cumbersome.</p>



<h2>Uses DNS over HTTPS</h2>



<p>The <a href="https://www.osradar.com/how-to-enable-dns-over-https-in-windows-11/" target="_blank" rel="noreferrer noopener">DOH</a> protocol allows DNS requests and responses to be made through the HTTPS protocol in a fully encrypted manner. If your firewall is blocking access to the Internet through DNS, if you use DOH in the web browser, you will be able to bypass the firewall easily and simply. This is because blocking this protocol is really complicated. Indeed, you would have to block HTTPS accesses to all DNS servers that support this protocol, including Google, so as a general rule this is not blocked.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="500" height="500" src="https://www.osradar.com/wp-content/uploads/2022/03/fire5.png" alt="" class="wp-image-35382" srcset="https://www.osradar.com/wp-content/uploads/2022/03/fire5.png 500w, https://www.osradar.com/wp-content/uploads/2022/03/fire5-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/03/fire5-150x150.png 150w" sizes="(max-width: 500px) 100vw, 500px" /></figure>



<p>This DOH protocol is already found in major web browsers such as Chrome or Firefox. It is even present in Microsoft systems. Consequently, it would be advisable to check your DNS settings over HTTPS if you can because this way you could bypass the DNS blocking. Okay, so we have seen how to bypass a firewall. We hope you will use this guide to avoid limitations in your work or school. See you soon.</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-bypass-a-firewall/">How to bypass a firewall</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-bypass-a-firewall/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to block folders with Windows firewall</title>
		<link>https://www.osradar.com/how-to-block-folders-with-windows-firewall/</link>
					<comments>https://www.osradar.com/how-to-block-folders-with-windows-firewall/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sun, 23 Jan 2022 22:58:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[block folders]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[windows firewall]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=34347</guid>

					<description><![CDATA[<p>Hello! Maintaining security on the network is essential. In fact, we have several options to achieve it. We can install antivirus, but also a firewall. Today, we will see how to use a firewall to block Internet access to a folder in Windows. Certainly, this prevents unwanted access to vulnerable parts of the system. These [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-block-folders-with-windows-firewall/">How to block folders with Windows firewall</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! Maintaining security on the network is essential. In fact, we have several options to achieve it. We can install antivirus, but also a firewall. Today, we will see how to use a firewall to block Internet access to a folder in Windows. Certainly, this prevents unwanted access to vulnerable parts of the system. These accesses can cause data theft as well as damage to Windows. Read on to find out How to block folders with Windows firewall.</p>



<h2>How a firewall works</h2>



<p>A firewall is a software or device that acts as a door that closes or opens at will. Its function is to block or allow connections from a device. An example is to create a list with the applications that we want to block so that they do not have access to the Internet or the IP addresses that we do not want them to connect to a network. It is based on the use of rules. Once created, if they are not complied with, then it does not allow Internet traffic, either outgoing or incoming. This makes it difficult for intruders to access the network or remotely access our devices.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="500" height="500" src="https://www.osradar.com/wp-content/uploads/2022/01/fire.png" alt="" class="wp-image-34348" srcset="https://www.osradar.com/wp-content/uploads/2022/01/fire.png 500w, https://www.osradar.com/wp-content/uploads/2022/01/fire-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/fire-150x150.png 150w" sizes="(max-width: 500px) 100vw, 500px" /></figure>



<p>Consequently, the main function of the firewall is to create a barrier to allow or disallow connections. This wall is used to monitor communications between computers, warn of connection attempts that may be suspicious, etc.</p>



<h2>How to block  folders with firewall</h2>



<p>The most recent versions of Microsoft systems incorporate their <a href="https://www.osradar.com/how-to-monitor-the-windows-firewall-in-real-time/" target="_blank" rel="noreferrer noopener">firewall</a>. Besides being free, it works very well and is highly configurable. One of the options allows you to block a specific folder from accessing the Internet. However, this option is not integrated by default into the Windows Firewall. So, we will have to use a third-party solution. We are talking about Fab firewall, a free program that integrates with Windows Firewall.</p>



<h2>How to Download Fab firewall</h2>



<p>First, you have to download Fab firewall from <a href="https://www.sordum.org/8125/firewall-app-blocker-fab-v1-7/" target="_blank" rel="noreferrer noopener">here.</a> As mentioned above, it is a free program that is available for the latest versions of Windows. An important issue is that it is not necessary to install anything. In fact, it is a fully portable program. Just run the .exe file and that&#8217;s it. Once executed, a window is displayed showing the connections previously blocked by other firewalls, including Windows Firewall itself. If you have not blocked anything, then nothing appears.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="715" height="429" src="https://www.osradar.com/wp-content/uploads/2022/01/fire2.png" alt="Firewall Fab initial screen" class="wp-image-34349" srcset="https://www.osradar.com/wp-content/uploads/2022/01/fire2.png 715w, https://www.osradar.com/wp-content/uploads/2022/01/fire2-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/fire2-696x418.png 696w" sizes="(max-width: 715px) 100vw, 715px" /><figcaption>Firewall Fab initial screen</figcaption></figure>



<h2>Adding folders</h2>



<p>Subsequently, you only have to add the folders you are interested in. This is very useful if you have several applications installed in a single folder. This way we can block internet access to all of them and at the same time save time. With this in mind, just click on File and then select<strong> Add Folder Contents.</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" width="716" height="429" src="https://www.osradar.com/wp-content/uploads/2022/01/fire3.png" alt="" class="wp-image-34350" srcset="https://www.osradar.com/wp-content/uploads/2022/01/fire3.png 716w, https://www.osradar.com/wp-content/uploads/2022/01/fire3-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/fire3-696x417.png 696w" sizes="(max-width: 716px) 100vw, 716px" /><figcaption>Adding a folder to be blocked from accessing the Internet by Windows Firewall</figcaption></figure>



<p>Next, you only have to locate the folder. Once started, the files included in the folder will be added to the list of locks. This action also adds the folder to the Windows Defender block list. From that moment on, everything inside that folder will be locked, and you will not have access to the Internet.</p>



<h2>Blocked programs inside the folder.</h2>



<p>Any program or application inside the folder will lose internet access. This way we can limit the total access at once. In effect, the action extends to all items within the folder. Actually, what Fab firewall does is to create a new rule every time we click on add folders. In addition, these rules are extended to the Windows Firewall itself. In fact, you can verify them from the same Windows application.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="512" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/fire4.png" alt="" class="wp-image-34351" srcset="https://www.osradar.com/wp-content/uploads/2022/01/fire4.png 512w, https://www.osradar.com/wp-content/uploads/2022/01/fire4-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/fire4-150x150.png 150w" sizes="(max-width: 512px) 100vw, 512px" /></figure>



<h2>Additional features of Fab Firewall</h2>



<p>Certainly, the most striking option is to be able to block folders with the Firewall. However, there are other very fascinating functions to discover. Although it is a simple app, it has more interesting things to discover.</p>



<h3>Block applications</h3>



<p>Another interesting action is to be able to block applications from connecting to the network. Let&#8217;s suppose you have a program installed, and you don&#8217;t want it to connect to the internet. Then this option is for you. Just click on the + icon, then search for the program, and that&#8217;s it. It will immediately be added to the block list.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="715" height="429" src="https://www.osradar.com/wp-content/uploads/2022/01/fire5.png" alt="" class="wp-image-34352" srcset="https://www.osradar.com/wp-content/uploads/2022/01/fire5.png 715w, https://www.osradar.com/wp-content/uploads/2022/01/fire5-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/fire5-696x418.png 696w" sizes="(max-width: 715px) 100vw, 715px" /><figcaption>Adding an application to block access to the internet</figcaption></figure>



<h3>Create lists</h3>



<p>It also allows you to create lists, import, or export them. It is useful if you want to add a series of programs or processes that you do not want to connect to the Internet. These lists can be activated or deactivated at any time, which facilitates the process. Additionally, it is possible to export these lists to any other firewall. Even if it is on another computer.</p>



<h3>Internet blocking</h3>



<p>A very useful option is to be able to block the entire Internet connection by simply clicking a button. Great, isn&#8217;t it? Well, this is possible with Firewall Fab. Regardless of whether the connection is wired or Wi-Fi, we can prevent any program or process from connecting to the Internet.  Please click on Firewall, then click on Block Internet. The Internet connection will be automatically interrupted. Of course, the connection to the provider will still exist, only now the firewall blocks connection attempts. Just test it by trying to open a web page. To reverse it, just open the same option, but this time unchecks the corresponding checkbox.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="710" height="426" src="https://www.osradar.com/wp-content/uploads/2022/01/fire6.png" alt="Disconnecting the Internet connection completely" class="wp-image-34353" srcset="https://www.osradar.com/wp-content/uploads/2022/01/fire6.png 710w, https://www.osradar.com/wp-content/uploads/2022/01/fire6-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/fire6-696x418.png 696w" sizes="(max-width: 710px) 100vw, 710px" /><figcaption>Disconnecting the Internet connection completely</figcaption></figure>



<p>Very well, in this way we have seen how to block folders with Windows firewall. In addition, we show you some suggestions to get the most out of the program. See you later!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-block-folders-with-windows-firewall/">How to block folders with Windows firewall</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-block-folders-with-windows-firewall/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to prevent Windows Attacks with SimpleWall</title>
		<link>https://www.osradar.com/how-to-prevent-windows-attacks-with-simplewall/</link>
					<comments>https://www.osradar.com/how-to-prevent-windows-attacks-with-simplewall/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sat, 30 Oct 2021 21:08:00 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[simplewall]]></category>
		<category><![CDATA[windows firewall]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32864</guid>

					<description><![CDATA[<p>Having a firewall in Windows is a must. In fact, Microsoft implemented it for the first time in Windows XP. Certainly, it was a very basic tool. However, its features have improved over the years. Its function is to control what apps do with the Internet connection. It also offers protection against attacks from the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-prevent-windows-attacks-with-simplewall/">How to prevent Windows Attacks with SimpleWall</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Having a <a href="https://www.osradar.com/how-to-configure-windows-firewall-using-powershell/" target="_blank" rel="noreferrer noopener">firewall </a>in Windows is a must. In fact, Microsoft implemented it for the first time in Windows XP. Certainly, it was a very basic tool. However, its features have improved over the years. Its function is to control what apps do with the Internet connection. It also offers protection against attacks from the network. Well, today we will see how to prevent Windows Attacks with SimpleWall.</p>



<h2>What is SimpleWall and how to use it to prevent Windows attacks.</h2>



<p>This is a tool for configuring the Windows Filtering Platform (WFP). I would like to point out that it is not a graphical interface to the Windows Firewall. It also does not make any changes to it. It works on the Windows Filtering Platform (WFP). This is a set of APIs and system services that provide a platform for creating network filtering applications. Moreover, this platform is not a Firewall itself. However, thanks to SimpleWall we will be able to create access rules.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="896" height="1024" src="https://www.osradar.com/wp-content/uploads/2021/10/fire-1-896x1024.png" alt="" class="wp-image-32865" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire-1-896x1024.png 896w, https://www.osradar.com/wp-content/uploads/2021/10/fire-1-263x300.png 263w, https://www.osradar.com/wp-content/uploads/2021/10/fire-1-768x878.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/fire-1-696x795.png 696w, https://www.osradar.com/wp-content/uploads/2021/10/fire-1-1068x1221.png 1068w, https://www.osradar.com/wp-content/uploads/2021/10/fire-1.png 1120w" sizes="(max-width: 896px) 100vw, 896px" /></figure>



<p>Let&#8217;s take a look at some of its features:</p>



<ul><li>It is free and open source.</li><li>A simple graphical interface with no pop-up windows.</li><li>Rule editor with which we can create our own rules.</li><li>It has an internal block list to block Windows spying and telemetry.</li><li>It has a log of lost packets.</li><li>Support for Windows services and its store.</li><li>Compatible with IPv6 and localization support.</li></ul>



<h2>First steps with simplewall to set up the firewall</h2>



<p>The first thing you have to do is to download the executable file from <a href="https://www.henrypp.org/product/simplewall" target="_blank" rel="noreferrer noopener">here.</a> Then, just install it like any other Windows program. You will immediately see a screen like the following one:</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="524" height="371" src="https://www.osradar.com/wp-content/uploads/2021/10/fire2-1.png" alt="" class="wp-image-32866" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire2-1.png 524w, https://www.osradar.com/wp-content/uploads/2021/10/fire2-1-300x212.png 300w" sizes="(max-width: 524px) 100vw, 524px" /></figure>



<p>As you can see, there is a toolbar with the following buttons:</p>



<ul><li>File: To access the options settings and work with files.</li><li>Edit: to purge unused apps, search and update list.</li><li>View: to choose display options and font.</li><li>Rules: to configure how the rules work. It is convenient to leave it as it comes by default.</li><li>Block list: to configure how the block lists work. Therefore, it is convenient not to modify it.</li><li>Help: to go to the author&#8217;s website to get information, check for updates and see what version we have installed.</li></ul>



<p>Just below this bar, there are other buttons. Their functions will be explained in more detail later.</p>



<h2>How to create a rule and activate filters.</h2>



<p>Let&#8217;s see how to configure the tool. Just below the toolbar, there are some buttons that serve this purpose. First, there is the button to activate filters. Note that filters are disabled by default. So to start using them, you must press it.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="524" height="371" src="https://www.osradar.com/wp-content/uploads/2021/10/fire3-1.png" alt="SimpleWall initial screen" class="wp-image-32867" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire3-1.png 524w, https://www.osradar.com/wp-content/uploads/2021/10/fire3-1-300x212.png 300w" sizes="(max-width: 524px) 100vw, 524px" /><figcaption>SimpleWall initial screen</figcaption></figure>



<p>Immediately, the rules will begin to be managed. Specifically, those related to the internet connection. By default, SimpleWall blocks network requests. Consequently, you only have to allow or block connections according to your needs.</p>



<figure class="wp-block-gallery columns-3 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" width="482" height="338" src="https://www.osradar.com/wp-content/uploads/2021/10/fire4-1.png" alt="" data-id="32868" data-full-url="https://www.osradar.com/wp-content/uploads/2021/10/fire4-1.png" data-link="https://www.osradar.com/?attachment_id=32868" class="wp-image-32868" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire4-1.png 482w, https://www.osradar.com/wp-content/uploads/2021/10/fire4-1-300x210.png 300w" sizes="(max-width: 482px) 100vw, 482px" /></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="482" height="338" src="https://www.osradar.com/wp-content/uploads/2021/10/fire5.png" alt="" data-id="32869" data-full-url="https://www.osradar.com/wp-content/uploads/2021/10/fire5.png" data-link="https://www.osradar.com/?attachment_id=32869" class="wp-image-32869" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire5.png 482w, https://www.osradar.com/wp-content/uploads/2021/10/fire5-300x210.png 300w" sizes="(max-width: 482px) 100vw, 482px" /></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="482" height="338" src="https://www.osradar.com/wp-content/uploads/2021/10/fire6-1.png" alt="" data-id="32870" data-full-url="https://www.osradar.com/wp-content/uploads/2021/10/fire6-1.png" data-link="https://www.osradar.com/?attachment_id=32870" class="wp-image-32870" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire6-1.png 482w, https://www.osradar.com/wp-content/uploads/2021/10/fire6-1-300x210.png 300w" sizes="(max-width: 482px) 100vw, 482px" /></figure></li></ul></figure>



<p>After several requests, the programs will be classified into allowed, blocked and silent blocked.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="524" height="371" src="https://www.osradar.com/wp-content/uploads/2021/10/fire7-1.png" alt="List of filtering rules" class="wp-image-32872" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire7-1.png 524w, https://www.osradar.com/wp-content/uploads/2021/10/fire7-1-300x212.png 300w" sizes="(max-width: 524px) 100vw, 524px" /><figcaption>List of filtering rules</figcaption></figure>



<p>It is also possible to create temporary filtering rules.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="734" height="690" src="https://www.osradar.com/wp-content/uploads/2021/10/fire8-1.jpg" alt="" class="wp-image-32873" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire8-1.jpg 734w, https://www.osradar.com/wp-content/uploads/2021/10/fire8-1-300x282.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/10/fire8-1-696x654.jpg 696w" sizes="(max-width: 734px) 100vw, 734px" /></figure>



<p>On the other hand, if you click on the button marked with the arrow, then you can create a custom rule. In this case for Apps, but it also works for other sections.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="733" height="658" src="https://www.osradar.com/wp-content/uploads/2021/10/fire9-2.jpg" alt="Creating a custom rule" class="wp-image-32874" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire9-2.jpg 733w, https://www.osradar.com/wp-content/uploads/2021/10/fire9-2-300x269.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/10/fire9-2-696x625.jpg 696w" sizes="(max-width: 733px) 100vw, 733px" /><figcaption>Creating a custom rule</figcaption></figure>



<p>In the Rule tab it is possible to work with local and remote IPs together with their port if necessary.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="379" height="393" src="https://www.osradar.com/wp-content/uploads/2021/10/fire10-1.png" alt="" class="wp-image-32875" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire10-1.png 379w, https://www.osradar.com/wp-content/uploads/2021/10/fire10-1-289x300.png 289w" sizes="(max-width: 379px) 100vw, 379px" /></figure>



<p>In the Apps tab, we can assign this rule to apply to a specific program. If nothing is selected, then it applies to all applications. Finally, click on Save when you are done.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="440" height="390" src="https://www.osradar.com/wp-content/uploads/2021/10/fire11-1.png" alt="" class="wp-image-32876" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire11-1.png 440w, https://www.osradar.com/wp-content/uploads/2021/10/fire11-1-300x266.png 300w" sizes="(max-width: 440px) 100vw, 440px" /></figure>



<p>Now, to view the newly created rule, just click on the <strong>User Rules</strong> tab. From there you can delete it, edit it and check if it is active.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="524" height="371" src="https://www.osradar.com/wp-content/uploads/2021/10/fire12-1.png" alt="" class="wp-image-32877" srcset="https://www.osradar.com/wp-content/uploads/2021/10/fire12-1.png 524w, https://www.osradar.com/wp-content/uploads/2021/10/fire12-1-300x212.png 300w" sizes="(max-width: 524px) 100vw, 524px" /></figure>



<p>Okay, so we have seen how to prevent Windows attacks with SimpleWall. Okay, so we have seen how to prevent Windows attacks with SimpleWall. As you can see, it is an elementary way to manage the Windows firewall. You will also increase the protection levels of your system. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-prevent-windows-attacks-with-simplewall/">How to prevent Windows Attacks with SimpleWall</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-prevent-windows-attacks-with-simplewall/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to open ports in Linux?</title>
		<link>https://www.osradar.com/how-to-open-ports-in-linux/</link>
					<comments>https://www.osradar.com/how-to-open-ports-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 16 Jun 2021 04:44:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[almalinux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30550</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to open ports in the Firewall using Linux. This way you will be able to have a base to continue working with your applications without problems. For this guide, we will use the terminal although there are graphical applications such as GUFW. Why is it important [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-open-ports-in-linux/">How to open ports in Linux?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. In this post, you will learn how to open ports in the Firewall using Linux. This way you will be able to have a base to continue working with your applications without problems. For this guide, we will use the terminal although there are graphical applications such as <a href="https://www.osradar.com/how-to-configure-a-firewall-on-ubuntu-debian/" target="_blank" rel="noreferrer noopener">GUFW</a>.</p>



<h2 id="why-is-it-important-to-use-a-firewall?"><a href="#why-is-it-important-to-use-a-firewall?" name="why-is-it-important-to-use-a-firewall?"></a>Why is it important to use a Firewall?</h2>



<p>Although Linux is a very secure system, it is not perfect and can be attacked by an external network. Especially critical applications that make use of data such as database managers or others. Therefore, it is advisable to install a Firewall and establish adequate policies to protect your computer.</p>



<p>In addition to security, there is something that many people overlook and that is that in a Firewall we can not only block incoming connections but also outgoing ones. In this way, we will be able to know which applications are making connections with the Internet and make our decisions.</p>



<p>In Linux, there are a variety of Firewalls that can be classified as domestic or professional like <em>PFSense</em>. I believe that the domestic ones can work in many cases and we will work on them in this post.</p>



<h2 id="how-to-open-ports-in-linux---debian,-ubuntu,-and-derivatives"><a href="#how-to-open-ports-in-linux---debian,-ubuntu,-and-derivatives" name="how-to-open-ports-in-linux---debian,-ubuntu,-and-derivatives"></a>How to Open Ports in Linux &#8211; Debian, Ubuntu, and derivatives</h2>



<p>In these distributions, UFW is present by default. In case it is not then you can install it without problems.</p>



<pre class="wp-block-preformatted">sudo apt install ufw</pre>



<p>After that, you can start opening ports.</p>



<p>The easiest way is to follow this syntax</p>



<pre class="wp-block-preformatted">sudo ufw allow [port]</pre>



<p>This way, if you want to open port 26 for all protocols, just run.</p>



<pre class="wp-block-preformatted">sudo ufw allow 26</pre>



<p>You can also specify a specific protocol for that port like <code>UDP</code> or <code>TCP</code>.</p>



<pre class="wp-block-preformatted">sudo ufw allow 26/tcp</pre>



<p>In this case, only port 26 will be opened for the TCP protocol.</p>



<p>If you have to open many consecutive ports, then you can specify a range</p>



<pre class="wp-block-preformatted">sudo ufw allow 4000:4007/tcp</pre>



<p>This will open all ports from 4000 to 4007 for TCP. Remember that you can change <code>tcp</code> to <code>udp</code> and enable them for that protocol.</p>



<p>To apply the changes run</p>



<pre class="wp-block-preformatted">sudo ufw reset</pre>



<p>So, this way, you can open the ports in Debian, Ubuntu, and derivatives.</p>



<h2 id="how-to-open-ports-in-linux---rhel,-centos-and-fedora"><a href="#how-to-open-ports-in-linux---rhel,-centos-and-fedora" name="how-to-open-ports-in-linux---rhel,-centos-and-fedora"></a>How to Open Ports in Linux &#8211; RHEL, CentOS and Fedora</h2>



<p>Unlike Debian, Ubuntu, and its derivatives, in the RHEL family, another similar application is used to manage the Firewall and it is <code><a href="https://firewalld.org/" target="_blank" rel="noreferrer noopener">firewalld</a></code>.</p>



<p>In case it is not installed, you can do it as follows</p>



<pre class="wp-block-preformatted">sudo dnf install firewalld</pre>



<p>And after that, initialize it and make it run with the system.</p>



<pre class="wp-block-preformatted">sudo systemctl enable firewalld
sudo systemctl start firewalld</pre>



<p>This application works with zones with <code>public</code> being the default zone. If we assume that this is the current zone, we can open a port as follows:</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --zone=public --add-port=[port]/[protocol]</pre>



<p>If you would like to open port <code>2122</code> of the TCP protocol, then you should run</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --zone=public --add-port=2122/tcp</pre>



<p>Unlike UFW in this case we do have to specify the protocol.</p>



<p>Similarly, you can specify a range of ports but still specify the protocol.</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --zone=public --permanent --add-port=3220-3225/udp</pre>



<p>In this case, I have opened ports from <code>3220</code> to <code>3225</code> in the UDP protocol.</p>



<p>To apply the changes run</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --reload</pre>



<p>This way you can open ports in Linux</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>Opening ports in Linux is very easy and can help you with a network problem. Also having a Firewall always increases the security of the system.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-open-ports-in-linux/">How to open ports in Linux?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-open-ports-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hardening Ubuntu Security with UFW Firewall</title>
		<link>https://www.osradar.com/hardening-ubuntu-security-ufw/</link>
					<comments>https://www.osradar.com/hardening-ubuntu-security-ufw/#respond</comments>
		
		<dc:creator><![CDATA[rajneesh]]></dc:creator>
		<pubDate>Wed, 05 May 2021 19:13:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ubuntu 20.04 tutorials]]></category>
		<category><![CDATA[UFW]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29889</guid>

					<description><![CDATA[<p>Firewall security is the key to manage all critical services. So many seasoned and decent securities are there. But, there is always room for improvisation and simplification of Firewall systems for Linux. A very classic and well-known example is IPTABLES, of course. IPtables took lots of experience and seasoning to be perfect with. Essentially Ubuntu [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/hardening-ubuntu-security-ufw/">Hardening Ubuntu Security with UFW Firewall</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p> Firewall security is the key to manage all critical services. So many seasoned and decent securities are there. But, there is always room for improvisation and simplification of Firewall systems for Linux. A very classic and well-known example is IPTABLES, of course. IPtables took lots of experience and seasoning to be perfect with. Essentially Ubuntu Kernal system provides Netfilter as a packet filtering system. IPtables is the traditional interface to manipulate  Netfilter in form of commands. The <a href="https://wiki.ubuntu.com/UncomplicatedFirewall">UFW</a> act as a frontend for IPTables. Users, having trouble with IPTables can manage their securities easily with this feature. </p>



<h2> Prerequisites and installation.</h2>



<p>I would be using Ubuntu as demo OS here, Most of the Linux OS comes with that features by default.   </p>



<p>Check status of firewall.        </p>



<pre class="wp-block-preformatted">$ ufw status</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="660" height="74" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/image-1.png" alt="" class="wp-image-29892" srcset="https://www.osradar.com/wp-content/uploads/2021/05/image-1.png 660w, https://www.osradar.com/wp-content/uploads/2021/05/image-1-300x34.png 300w" sizes="(max-width: 660px) 100vw, 660px" /></figure>



<p>Enable firewall. </p>



<pre class="wp-block-preformatted">$ ufw enable</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="834" height="129" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/image-2.png" alt="" class="wp-image-29893" srcset="https://www.osradar.com/wp-content/uploads/2021/05/image-2.png 834w, https://www.osradar.com/wp-content/uploads/2021/05/image-2-300x46.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/image-2-768x119.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/image-2-696x108.png 696w" sizes="(max-width: 834px) 100vw, 834px" /></figure>



<p>Reload firewall. SSH may stope when you enable firewall. If you are working in virtual environment, connection may lost. </p>



<h2>Allow and deny rules.</h2>



<p>Allow ssh port </p>



<pre class="wp-block-preformatted">$ sudo ufw allow 22</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="746" height="80" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/image-3.png" alt="" class="wp-image-29894" srcset="https://www.osradar.com/wp-content/uploads/2021/05/image-3.png 746w, https://www.osradar.com/wp-content/uploads/2021/05/image-3-300x32.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/image-3-696x75.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/image-3-741x80.png 741w" sizes="(max-width: 746px) 100vw, 746px" /></figure>



<p>Rule applied, check status. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="533" height="204" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/image-4.png" alt="" class="wp-image-29896" srcset="https://www.osradar.com/wp-content/uploads/2021/05/image-4.png 533w, https://www.osradar.com/wp-content/uploads/2021/05/image-4-300x115.png 300w" sizes="(max-width: 533px) 100vw, 533px" /></figure>



<p>Like port number, we can allow to open for a particular IP address. </p>



<pre class="wp-block-preformatted">$ sudo ufw allow from 192.168.42.142 &amp;&amp; sudo ufw status.</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="234" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/image-5-1024x234.png" alt="" class="wp-image-29897" srcset="https://www.osradar.com/wp-content/uploads/2021/05/image-5-1024x234.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/image-5-300x68.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/image-5-768x175.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/image-5-696x159.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/image-5-1068x244.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/image-5.png 1074w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>What if you wants to allow a particular port for specific IP Addr.</p>



<pre class="wp-block-preformatted">$ sudo sfw allow from 192.168.100.100 to any port 22</pre>



<p>Status check.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="947" height="263" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/image-6.png" alt="" class="wp-image-29901" srcset="https://www.osradar.com/wp-content/uploads/2021/05/image-6.png 947w, https://www.osradar.com/wp-content/uploads/2021/05/image-6-300x83.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/image-6-768x213.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/image-6-696x193.png 696w" sizes="(max-width: 947px) 100vw, 947px" /></figure>



<p>Deny a particular port for a specific IP addr. </p>



<pre class="wp-block-preformatted">$ sudo ufw deny from 192.168.100.100 to any port 80</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="311" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/image-7-1024x311.png" alt="" class="wp-image-29902" srcset="https://www.osradar.com/wp-content/uploads/2021/05/image-7-1024x311.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/image-7-300x91.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/image-7-768x233.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/image-7-696x211.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/image-7.png 1028w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now, delete created rule, there are two methods and first option  with rule number.</p>



<pre class="wp-block-preformatted"> $ sudo ufw status numbered</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="740" height="263" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/image-8.png" alt="" class="wp-image-29903" srcset="https://www.osradar.com/wp-content/uploads/2021/05/image-8.png 740w, https://www.osradar.com/wp-content/uploads/2021/05/image-8-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/image-8-696x247.png 696w" sizes="(max-width: 740px) 100vw, 740px" /></figure>



<p>Here, I want to delete rule number 5.</p>



<pre class="wp-block-preformatted">$ sudo ufw delete 5</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="583" height="140" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/image-9.png" alt="" class="wp-image-29904" srcset="https://www.osradar.com/wp-content/uploads/2021/05/image-9.png 583w, https://www.osradar.com/wp-content/uploads/2021/05/image-9-300x72.png 300w" sizes="(max-width: 583px) 100vw, 583px" /></figure>



<p>Let&#8217;s use another way to delete any rule.</p>



<pre class="wp-block-preformatted">$ sudo ufw delete deny from 192.168.100.100 to any port 22</pre>



<p>Lets reset all firewall rules to default. </p>



<pre class="wp-block-preformatted">$ sudo ufw reset</pre>



<p>You can manage incoming and outgoing rules as well, have a look.</p>



<p></p>



<h2>GUI Tool for UFW </h2>



<p>Install  GUI application for the firewall.</p>



<pre class="wp-block-preformatted">$ sudo apt-get install gufw</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="386" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/image-10-1024x386.png" alt="" class="wp-image-29906" srcset="https://www.osradar.com/wp-content/uploads/2021/05/image-10-1024x386.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/image-10-300x113.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/image-10-768x290.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/image-10-696x262.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/image-10-1068x403.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/image-10.png 1122w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>With basic understanding of security, a moderate user can manage items as well.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="908" height="723" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/image-11.png" alt="" class="wp-image-29907" srcset="https://www.osradar.com/wp-content/uploads/2021/05/image-11.png 908w, https://www.osradar.com/wp-content/uploads/2021/05/image-11-300x239.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/image-11-768x612.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/image-11-696x554.png 696w" sizes="(max-width: 908px) 100vw, 908px" /></figure>



<h2>Conclusion</h2>



<p>UFW can be used by that user, which is having not so deep knowledge of IPTables. but still wants to manage securities of their server and services. With very quick deployment ports or IP addresses, level restrictions can be managed to have a similar impact as it was supposed to be with IPTables. </p>



<p> </p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/hardening-ubuntu-security-ufw/">Hardening Ubuntu Security with UFW Firewall</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/hardening-ubuntu-security-ufw/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>GlassWire is a free firewall for Windows.</title>
		<link>https://www.osradar.com/glasswire-is-a-free-firewall-for-windows/</link>
					<comments>https://www.osradar.com/glasswire-is-a-free-firewall-for-windows/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sat, 24 Apr 2021 21:11:00 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[glasswire]]></category>
		<category><![CDATA[windows firewall]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29615</guid>

					<description><![CDATA[<p>When using the Internet, the system and some apps are likely to connect to the network. Of course, most of the time these are legitimate attempts. However, it is likely that they may connect to malicious servers. Or end up revealing sensitive user information. In addition, an unprotected computer makes it easier for a cyber [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/glasswire-is-a-free-firewall-for-windows/">GlassWire is a free firewall for Windows.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>When using the Internet, the system and some apps are likely to connect to the network. Of course, most of the time these are legitimate attempts. However, it is likely that they may connect to malicious servers. Or end up revealing sensitive user information. In addition, an unprotected computer makes it easier for a cyber attacker. On the other hand, one way to protect the system is through a firewall. So I present GlassWire, a free firewall for <a href="https://www.osradar.com/category/windows/" target="_blank" rel="noreferrer noopener">Windows. </a>It allows you to control the connection traffic. In addition to being more protected against hackers.</p>



<h2>GlassWire installation requirements</h2>



<p>GlassWire has a free and a paid version. In this opportunity, we will use the free version. The first thing you have to do is download it from this <a href="https://www.glasswire.com/download/" target="_blank" rel="noreferrer noopener">link.</a> Below are the minimum requirements to run the tool.</p>



<ul><li>Microsoft Windows 7, 8, 10 operating system in 32-bit or 64-bit version.</li><li>An Intel Celeron processor at 2 GHz or higher.</li><li>1 GB of RAM.</li></ul>



<h2>GlassWire main screen</h2>



<p>As soon as you run the program, you will see the following screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="790" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/04/glass-1024x790.png" alt="GlassWire main screen" class="wp-image-29616" srcset="https://www.osradar.com/wp-content/uploads/2021/04/glass-1024x790.png 1024w, https://www.osradar.com/wp-content/uploads/2021/04/glass-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/glass-768x592.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/glass-696x537.png 696w, https://www.osradar.com/wp-content/uploads/2021/04/glass-1068x824.png 1068w, https://www.osradar.com/wp-content/uploads/2021/04/glass.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>GlassWire main screen</figcaption></figure>



<p>In the box with the word GlassWire you will find the program options. In the center, on the other hand, are shortcuts to the program&#8217;s main functions:</p>



<ul><li><strong>Graph</strong>: displays a graph of the applications and traffic. It does so in terms of time, ranging from 5 minutes to a month.</li><li><strong>Usage: </strong>provides information on where the applications have been connected and what the incoming and outgoing traffic has been.</li><li><strong>Things:</strong> where we can see which computers are connected to our network.</li><li><strong>Firewall:</strong> is the section of the firewall where we can select which applications can connect to the Internet or not.</li><li><strong>Notifications:</strong> this is the section that alerts you of program activities to review.</li></ul>



<p>Indeed, when you click on Use you will see the information we mentioned. But it also shows to which country the program is connected.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/04/glass2-1024x787.png" alt="Usage shows the devices connected to the network." class="wp-image-29617" srcset="https://www.osradar.com/wp-content/uploads/2021/04/glass2-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2021/04/glass2-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/glass2-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/glass2-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2021/04/glass2-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2021/04/glass2.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Usage shows the devices connected to the network.</figcaption></figure>



<p>On the other hand, in Things we can scan to determine the devices that are part of the network.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/04/glass3-1024x787.png" alt="Devices that are part of the network" class="wp-image-29618" srcset="https://www.osradar.com/wp-content/uploads/2021/04/glass3-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2021/04/glass3-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/glass3-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/glass3-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2021/04/glass3-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2021/04/glass3.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Devices that are part of the network</figcaption></figure>



<h2>Configuration of GlassWire, the free firewall for Windows.</h2>



<p>The firewall screen is as follows.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/04/glass4-1024x787.png" alt="GlassWire firewall configuration" class="wp-image-29619" srcset="https://www.osradar.com/wp-content/uploads/2021/04/glass4-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2021/04/glass4-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/glass4-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/glass4-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2021/04/glass4-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2021/04/glass4.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>GlassWire firewall configuration</figcaption></figure>



<p>The first thing you need to notice is that the firewall is turned on. Next, there are 3 modes available:</p>



<ul><li><strong>Click to block:</strong> this is the default. It also allows all applications to connect. Then, from the list, you can manually block the ones you do not want to connect.</li><li><strong>Ask to connect: </strong>a dialog box will pop up asking if you allow the program to access the Internet. This is usually the classic way in which firewalls are used.</li><li><strong>Block all:</strong> he would leave all the applications without connection, for an emergency measure.</li></ul>



<p>Let&#8217;s take a look at a small sample. If you press any app, let&#8217;s say the browser, then you will see a window like this:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="411" height="218" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/04/glass5.png" alt="Microsoft Edge reviewed by GlassWire" class="wp-image-29620" srcset="https://www.osradar.com/wp-content/uploads/2021/04/glass5.png 411w, https://www.osradar.com/wp-content/uploads/2021/04/glass5-300x159.png 300w" sizes="(max-width: 411px) 100vw, 411px" /><figcaption>Microsoft Edge reviewed by GlassWire</figcaption></figure>



<p>If you click on Block, then you will stop the app from accessing the internet. But if you use the option to ask to connect, then you will see a popup window like this:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="372" height="170" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/04/glass7.png" alt="" class="wp-image-29624" srcset="https://www.osradar.com/wp-content/uploads/2021/04/glass7.png 372w, https://www.osradar.com/wp-content/uploads/2021/04/glass7-300x137.png 300w" sizes="(max-width: 372px) 100vw, 372px" /></figure>



<p>Consequently, you must allow or deny the connection to the network. Certainly, this is the safest option. It allows you to have tighter control over the connections. However, it is more tedious since we have to operate it constantly. Anyway, we have seen how GlassWire, the free firewall for Windows, works. See you soon!</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/glasswire-is-a-free-firewall-for-windows/">GlassWire is a free firewall for Windows.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/glasswire-is-a-free-firewall-for-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to master Linux Server Securities</title>
		<link>https://www.osradar.com/how-to-master-linux-server-securities/</link>
					<comments>https://www.osradar.com/how-to-master-linux-server-securities/#respond</comments>
		
		<dc:creator><![CDATA[rajneesh]]></dc:creator>
		<pubDate>Mon, 04 Jan 2021 07:39:26 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[security policies]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=27422</guid>

					<description><![CDATA[<p>Today, in this article we will discuss how to master Linux server securities. Default securities are good in Linux but, require some extra care. Hackers can sniff your system easily if not taken care of properly. This is going to be a detailed topic I will try to cover it up in 02 to 03 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-master-linux-server-securities/">How to master Linux Server Securities</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Today, in this article we will discuss how to master Linux server securities. <mark>Default securities are good in Linux but, require some extra care.</mark> Hackers can sniff your system easily if not taken care of properly. This is going to be a detailed topic I will try to cover it up in 02 to 03 writeups. </p>



<p>Key factors. </p>



<ul><li>Open Ports.</li><li>Insecure or non-updated software.</li><li>Weak passwords policy.     </li><li>Attacks on administrator accounts.</li><li>Lack of physical securities.</li></ul>



<h3>Open Ports.</h3>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="409" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/Untitled-design-3-1024x409.png" alt="Open ports can be attacked easily. " class="wp-image-27442" srcset="https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3-1024x409.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3-300x120.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3-768x307.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3-696x278.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3-1068x427.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3.png 1181w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>Ports scanning is the first thing that any Attacker would do before attacking your servers. They could get an idea of which service can be compromised based upon open ports. There are multiple methods to scan and identify open ports <a href="https://nmap.org/">Nmap</a> is one of them. </p>



<pre class="wp-block-preformatted"># apt install nmap
# yum install nmap</pre>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="728" height="402" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-23.png" alt="use nmap to scan open ports." class="wp-image-27429" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-23.png 728w, https://www.osradar.com/wp-content/uploads/2021/01/image-23-300x166.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-23-696x384.png 696w" sizes="(max-width: 728px) 100vw, 728px" /></figure>



<h3>Insecure or non-updated software</h3>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/Untitled-design-1-1024x409.png" alt="Insecure or non-updated software can cause security issues." class="wp-image-27435" width="682" height="270"/></figure>



<p>If you are not updating the server regularly, attackers can gain access via using exploits. Misconfigures services can be harmful too. Always make sure to keep Operating System updated. Multiple tools are available to test vulnerabilities. OpenVAS is one of the famous tool that can be installed on the server to scan vulnurabitiels.  </p>



<p>Install <a href="http://www.openvas.com/">OpenVAS</a></p>



<pre class="wp-block-preformatted">#apt install openvas
#yum install openvas</pre>



<p>Start Service.</p>



<pre class="wp-block-preformatted"># openvas-start &amp;&amp; openvas-setup</pre>



<p>Login to get reports.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="770" height="578" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-28.png" alt="" class="wp-image-27455" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-28.png 770w, https://www.osradar.com/wp-content/uploads/2021/01/image-28-300x225.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-28-768x576.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-28-696x522.png 696w" sizes="(max-width: 770px) 100vw, 770px" /></figure>



<h3>Weak passwords policy</h3>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/Untitled-design-2-1024x409.png" alt="Loose password can harm server securities. " class="wp-image-27436" width="679" height="267"/></figure>



<p>Using a tool like hydra attackers can gain access if your system is set up with weak passwords and have unwanted ports open. Always use complicated passwords and keeping them changing from time to time can reduce the chances of attacks. Let&#8217;s take a look at how hydra can be used to target servers with weak passwords. create a list of usernames and passwords with all possible combinations (userlist.txt &amp; passwd.txt are created in my scenario).</p>



<pre class="wp-block-preformatted"># apt install hydra</pre>



<p> Run command. </p>



<pre class="wp-block-preformatted"># hydra -L /root/userlist.txt -p /root/passwd.txt -u 127.0.0.1 ssh</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="758" height="325" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-27.png" alt="Run hydra command to gain access." class="wp-image-27446" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-27.png 758w, https://www.osradar.com/wp-content/uploads/2021/01/image-27-300x129.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-27-696x298.png 696w" sizes="(max-width: 758px) 100vw, 758px" /></figure>



<h3>Attacks on administrator accounts</h3>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/Untitled-design-1024x409.png" alt="Attacked on administrator accounts" class="wp-image-27433" width="709" height="282" srcset="https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-1024x409.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-300x120.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-768x307.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-696x278.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-1068x427.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design.png 1181w" sizes="(max-width: 709px) 100vw, 709px" /></figure>



<p>Remember, if an attacker can gain access to an administrator account. An attacker can gain access to other servers as well. Even after having to have good securities, the hackers were able to gain access. Always make sure not to share passwords with unauthorized persons.</p>



<h3>Lack of physical securities</h3>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/Untitled-design-4-1024x409.png" alt="" class="wp-image-27452" width="704" height="278"/></figure>



<p></p>



<p>Proving multi-factor authentications, providing physical locks can save servers from unwanted access. Do not provide any direct physical access like monitors or keyboards. Block all USB or other serial ports that can be attached directly to servers.  No media file sharing has to be with critical operational servers.  </p>



<h3>Conclusion.</h3>



<p>Today, we have learned how an attacker can gain easy access to servers &amp; how to avoid it. Scanning ports with Nmap, system&#8217;s health check with OpenVAS are part of security assessment.  <strong> In the next article, we will understand other aspects of security. </strong></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-master-linux-server-securities/">How to master Linux Server Securities</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-master-linux-server-securities/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Configure a Firewall in Ubuntu 20.04 / Debian 10?</title>
		<link>https://www.osradar.com/how-to-configure-a-firewall-on-ubuntu-debian/</link>
					<comments>https://www.osradar.com/how-to-configure-a-firewall-on-ubuntu-debian/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 17 Sep 2020 01:40:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=5761</guid>

					<description><![CDATA[<p>There is nothing safe from hackers on the Internet, however, we can implement security measures to be more protected against an attack. With this in mind, it is convenient to configure a firewall in our system. A Firewall is a system that allows protecting a computer or a network of the intrusions that come from [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-configure-a-firewall-on-ubuntu-debian/">How to Configure a Firewall in Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>There is nothing safe from hackers on the Internet, however, we can implement security measures to be <strong>more protected against an attack</strong>. With this in mind, it is convenient to configure a firewall in our system.</p>
<p>A <a href="https://en.wikipedia.org/wiki/Firewall_(computing)"><strong>Firewall</strong></a> is a system that allows protecting a computer or a network of the intrusions that come from the Internet. A firewall behaves as a barrier between the Internet or other public networks and our computer. In the firewall, the incoming and outgoing connections are determined by established rules.</p>
<p>For this reason, it is convenient to take some time to adjust the behavior of the Firewall in the system. Today I will teach you <strong>how to configure a firewall in Ubuntu 20.04 / Debian 10</strong>.</p>
<h2>Configure the Firewall in Ubuntu 20.04 / Debian 10</h2>
<h3>1.-Upgrade the system</h3>
<p>Upgrading the system is always a vital task to perform these types of installations and configurations because doing so provides us with the latest security patches. In short, you&#8217;ll have a more secure system. To do this, open a terminal and write:</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt upgrade</pre>
<p>As a result of updating the system, you will be able to work with the firewall with the certainty of having more updated and more stable packages.</p>
<h3>2. Working with UFW the Firewall on Ubuntu 20.04 / Debian 10</h3>
<p>By default, Ubuntu has a Firewall installed, but not configured. In other words, it&#8217;s almost like not having it. So you have to get to work on it.</p>
<p>First of all, you must enable the service. Without it, the firewall will not run.</p>
<pre class="">:~$ sudo systemctl enable ufw
:~$ sudo systemctl start ufw</pre>
<p><figure id="attachment_5771" aria-describedby="caption-attachment-5771" style="width: 826px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-5771 size-full" src="https://www.osradar.com/wp-content/uploads/2018/09/2-7-e1600290293663.png" alt="2.- Enabling and Starting ufw service" width="826" height="177" srcset="https://www.osradar.com/wp-content/uploads/2018/09/2-7-e1600290293663.png 826w, https://www.osradar.com/wp-content/uploads/2018/09/2-7-e1600290293663-300x64.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/2-7-e1600290293663-768x165.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/2-7-e1600290293663-696x149.png 696w" sizes="(max-width: 826px) 100vw, 826px" /><figcaption id="caption-attachment-5771" class="wp-caption-text">1.- Enabling and Starting ufw service</figcaption></figure></p>
<p>Now, it&#8217;s a good idea to see ufw&#8217;s default rules for the system. In this case, run:</p>
<pre class="">:~$ sudo ufw show raw</pre>
<p><figure id="attachment_5772" aria-describedby="caption-attachment-5772" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5772" src="https://www.osradar.com/wp-content/uploads/2018/09/3-7.png" alt="3.- Showing the defaults rules for ufw" width="1366" height="767" srcset="https://www.osradar.com/wp-content/uploads/2018/09/3-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/3-7-300x168.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/3-7-768x431.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/3-7-1024x575.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/3-7-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/3-7-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/3-7-748x420.png 748w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5772" class="wp-caption-text">2.- Showing the defaults rules for ufw</figcaption></figure></p>
<p>If you plan to use a server, then it&#8217;s a good idea to allow connections from ssh.</p>
<pre class="">:~$ sudo ufw allow ssh</pre>
<p><figure id="attachment_5774" aria-describedby="caption-attachment-5774" style="width: 795px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-5774 size-full" src="https://www.osradar.com/wp-content/uploads/2018/09/4-7-e1600290268709.png" alt="4.- Allowing ssh connections" width="795" height="167" srcset="https://www.osradar.com/wp-content/uploads/2018/09/4-7-e1600290268709.png 795w, https://www.osradar.com/wp-content/uploads/2018/09/4-7-e1600290268709-300x63.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/4-7-e1600290268709-768x161.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/4-7-e1600290268709-696x146.png 696w" sizes="(max-width: 795px) 100vw, 795px" /><figcaption id="caption-attachment-5774" class="wp-caption-text">3.- Allowing ssh connections</figcaption></figure></p>
<p>In effect, the above command, tells the Firewall to allow input and output connections to ssh.</p>
<p>In case you want to &#8220;open&#8221; a port to be used by another application, you must run:</p>
<pre class="">:~$ sudo ufw allow 321/tcp</pre>
<p><figure id="attachment_5776" aria-describedby="caption-attachment-5776" style="width: 792px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-5776 size-full" src="https://www.osradar.com/wp-content/uploads/2018/09/5-7-e1600290372597.png" alt="5.- Opening a port with ufw" width="792" height="153" srcset="https://www.osradar.com/wp-content/uploads/2018/09/5-7-e1600290372597.png 792w, https://www.osradar.com/wp-content/uploads/2018/09/5-7-e1600290372597-300x58.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/5-7-e1600290372597-768x148.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/5-7-e1600290372597-696x134.png 696w" sizes="(max-width: 792px) 100vw, 792px" /><figcaption id="caption-attachment-5776" class="wp-caption-text">4.- Opening a port with ufw</figcaption></figure></p>
<p>Don&#8217;t forget to replace 321 with the port you want. If the application uses TCP or UDP, you must change as the case may be.</p>
<p>You can open as many ports as you need. However, these three are basic to working with the computer:</p>
<pre class="">:~$ sudo ufw allow 80/tcp 
:~$ sudo ufw allow 443/tcp
:~$ sudo ufw allow 21/tcp</pre>
<p><figure id="attachment_5777" aria-describedby="caption-attachment-5777" style="width: 792px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-5777 size-full" src="https://www.osradar.com/wp-content/uploads/2018/09/6-7-e1600290404625.png" alt="6.- Opening several important ports" width="792" height="245" srcset="https://www.osradar.com/wp-content/uploads/2018/09/6-7-e1600290404625.png 792w, https://www.osradar.com/wp-content/uploads/2018/09/6-7-e1600290404625-300x93.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/6-7-e1600290404625-768x238.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/6-7-e1600290404625-696x215.png 696w" sizes="(max-width: 792px) 100vw, 792px" /><figcaption id="caption-attachment-5777" class="wp-caption-text">5.- Opening several important ports</figcaption></figure></p>
<p>80/TCP: Used for HTTP<br />
443/TCP: Used for HTTPS<br />
21/TCP: Used for FTP</p>
<p>You can even make a rule to allow or deny connections from any IP address.</p>
<pre class="">:~$ sudo ufw allow from IP</pre>
<p>With this, you authorize that the applications that come from that IP the firewall will accept them. If the IP address cannot be located, you will see an error like this:</p>
<p><figure id="attachment_5778" aria-describedby="caption-attachment-5778" style="width: 802px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-5778 size-full" src="https://www.osradar.com/wp-content/uploads/2018/09/7-8-e1600290431654.png" alt="7.- Allowing connections from a single IP" width="802" height="153" srcset="https://www.osradar.com/wp-content/uploads/2018/09/7-8-e1600290431654.png 802w, https://www.osradar.com/wp-content/uploads/2018/09/7-8-e1600290431654-300x57.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/7-8-e1600290431654-768x147.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/7-8-e1600290431654-696x133.png 696w" sizes="(max-width: 802px) 100vw, 802px" /><figcaption id="caption-attachment-5778" class="wp-caption-text">6.- Allowing connections from a single IP</figcaption></figure></p>
<p>If you are sorry to allow connections to that IP, you can revoke the rule:</p>
<pre class="">:~$ sudo ufw deny IP</pre>
<p>Remember to replace &#8220;IP&#8221; with the corresponding IP address.</p>
<p>However, imagine you&#8217;re starting to build a network and you don&#8217;t know who to trust, so you can deny connections from all computers.</p>
<pre class="">:~$ sudo ufw deafult deny incoming</pre>
<p><figure id="attachment_5780" aria-describedby="caption-attachment-5780" style="width: 836px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-5780 size-full" src="https://www.osradar.com/wp-content/uploads/2018/09/9-5-e1600290458348.png" alt="8.- Denying all incoming connection" width="836" height="146" srcset="https://www.osradar.com/wp-content/uploads/2018/09/9-5-e1600290458348.png 836w, https://www.osradar.com/wp-content/uploads/2018/09/9-5-e1600290458348-300x52.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/9-5-e1600290458348-768x134.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/9-5-e1600290458348-696x122.png 696w" sizes="(max-width: 836px) 100vw, 836px" /><figcaption id="caption-attachment-5780" class="wp-caption-text">7.- Denying all incoming connection</figcaption></figure></p>
<p>It is also possible to list all the options that the firewall has. Show them with the following command:</p>
<pre class="">:~$ sudo ufw --help</pre>
<p><figure id="attachment_5779" aria-describedby="caption-attachment-5779" style="width: 795px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-5779 size-full" src="https://www.osradar.com/wp-content/uploads/2018/09/8-6-e1600290506588.png" alt="8.- Showing the ufw's help" width="795" height="648" srcset="https://www.osradar.com/wp-content/uploads/2018/09/8-6-e1600290506588.png 795w, https://www.osradar.com/wp-content/uploads/2018/09/8-6-e1600290506588-300x245.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/8-6-e1600290506588-768x626.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/8-6-e1600290506588-696x567.png 696w" sizes="(max-width: 795px) 100vw, 795px" /><figcaption id="caption-attachment-5779" class="wp-caption-text">8.- Showing the ufw&#8217;s help</figcaption></figure></p>
<p>As can be seen, manipulating ufw from the terminal is very simple.</p>
<h3>3. GUFW. A graphical program to configure the firewall in Ubuntu 20.04 / Debian 10</h3>
<p>As can be seen, manipulating ufw from the terminal is very simple, but if you don&#8217;t feel comfortable using CLI, then it is possible to use a GUI for it.</p>
<p>With <a href="http://gufw.org/">GUFW</a>, you can configure a firewall on Ubuntu easily. Also, you can apply the same options, but with a convenient graphical management interface. To install it:</p>
<pre class="">:~$ sudo apt install gufw</pre>
<p>When you run it, you&#8217;ll see a very simple interface like this:</p>
<p><figure id="attachment_5782" aria-describedby="caption-attachment-5782" style="width: 810px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5782" src="https://www.osradar.com/wp-content/uploads/2018/09/11-4.png" alt="11.- Using GUFW" width="810" height="659" srcset="https://www.osradar.com/wp-content/uploads/2018/09/11-4.png 810w, https://www.osradar.com/wp-content/uploads/2018/09/11-4-300x244.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/11-4-768x625.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/11-4-696x566.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/11-4-516x420.png 516w" sizes="(max-width: 810px) 100vw, 810px" /><figcaption id="caption-attachment-5782" class="wp-caption-text">9.- Using GUFW</figcaption></figure></p>
<p>If you click on &#8220;Rules&#8221; and then on the &#8220;+&#8221; button you can add the rules we have done before per terminal. Remember to first enable the GUFW.</p>
<p><figure id="attachment_5783" aria-describedby="caption-attachment-5783" style="width: 814px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5783" src="https://www.osradar.com/wp-content/uploads/2018/09/12-4.png" alt="12.- Setting some rules" width="814" height="652" srcset="https://www.osradar.com/wp-content/uploads/2018/09/12-4.png 814w, https://www.osradar.com/wp-content/uploads/2018/09/12-4-300x240.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/12-4-768x615.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/12-4-696x557.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/12-4-524x420.png 524w" sizes="(max-width: 814px) 100vw, 814px" /><figcaption id="caption-attachment-5783" class="wp-caption-text">10.- Setting some rules</figcaption></figure></p>
<p>You can also check the logs that are generated.</p>
<p><figure id="attachment_5784" aria-describedby="caption-attachment-5784" style="width: 810px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5784" src="https://www.osradar.com/wp-content/uploads/2018/09/13-3.png" alt="13.- Checking the logs" width="810" height="659" srcset="https://www.osradar.com/wp-content/uploads/2018/09/13-3.png 810w, https://www.osradar.com/wp-content/uploads/2018/09/13-3-300x244.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/13-3-768x625.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/13-3-696x566.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/13-3-516x420.png 516w" sizes="(max-width: 810px) 100vw, 810px" /><figcaption id="caption-attachment-5784" class="wp-caption-text">11.- Checking the logs</figcaption></figure></p>
<p>As you can be seen, configure a firewall in Ubuntu is simple and provides us with the extra security needed for an operating system. Of course, if we speak at the enterprise level, there are even more customizable and payment solutions to further protect the security of businesses.</p>
<p>Now it&#8217;s up to you, tell us about your experience with ufw?</p>
<h2>Conclusion</h2>
<p>Computer security is not something to be taken lightly, which is why knowing how to configure a firewall is always a good idea. Even in operating systems as safe as Linux or BSD.</p>
<p>Now, with this post, you have the basic tools to configure a Firewall in a fast and easy way and have a more secure system.</p>
<p>Please share this article on your social networks and join <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">our Telegram Channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-configure-a-firewall-on-ubuntu-debian/">How to Configure a Firewall in Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-configure-a-firewall-on-ubuntu-debian/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
