<?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 &#8211; Nexto</title>
	<atom:link href="https://nexto.ch/category/firewall/feed/" rel="self" type="application/rss+xml" />
	<link>https://nexto.ch</link>
	<description>Business Empowerment</description>
	<lastBuildDate>Sat, 26 Oct 2024 15:29:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Configuring a Firewall with UFW on Linux</title>
		<link>https://nexto.ch/linux/configuring-a-firewall-with-ufw-on-linux/</link>
		
		<dc:creator><![CDATA[Nexto]]></dc:creator>
		<pubDate>Sun, 01 Sep 2024 15:16:29 +0000</pubDate>
				<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://nexto.ch/?p=226673</guid>

					<description><![CDATA[Introduction Server security is fundamental. UFW (Uncomplicated Firewall) is a simple tool...]]></description>
										<content:encoded><![CDATA[<h3>Introduction</h3>
<p>Server security is fundamental. UFW (Uncomplicated Firewall) is a simple tool to manage firewall rules on Ubuntu and other Debian-based Linux distributions. This guide will show you how to configure UFW to protect your server.</p>
<h4>Prerequisites</h4>
<ul>
<li>An Ubuntu or Debian system.</li>
<li>Access with sudo privileges.</li>
</ul>
<h5>Step 1: Install UFW (if not already installed)</h5>
<pre>sudo apt install ufw -y
</pre>
<h5>Step 2: Check the Current Status of UFW</h5>
<p>Check if UFW is active:</p>
<pre>sudo ufw status verbose
</pre>
<h5>Step 3: Allow SSH Connections</h5>
<p>Before enabling UFW, make sure to allow SSH connections to avoid losing access to the server:</p>
<pre>sudo ufw allow ssh
</pre>
<h5>Step 4: Allow Other Necessary Services</h5>
<p>Allow traffic for services like HTTP and HTTPS:</p>
<pre>sudo ufw allow http
sudo ufw allow https
</pre>
<p>Or use application profiles:</p>
<pre>sudo ufw allow 'Apache Full'
</pre>
<h5>Step 5: Enable UFW</h5>
<p>Enable the firewall:</p>
<pre>sudo ufw enable
</pre>
<p>Confirm with y when prompted.</p>
<h5>Step 6: Verify Active Rules</h5>
<p>Check the active rules:</p>
<pre>sudo ufw status numbered
</pre>
<h5>Step 7: Add Custom Rules (Optional)</h5>
<ul>
<li>Allow a specific port:</li>
</ul>
<pre>sudo ufw allow 8080/tcp
</pre>
<ul>
<li>Deny a connection from a specific IP:</li>
</ul>
<pre>sudo ufw deny from 192.168.1.100
</pre>
<h5>Step 8: Delete or Modify Rules</h5>
<p>To delete a rule:</p>
<p><strong>1 &#8211;</strong> View numbered rules:</p>
<pre>sudo ufw status numbered
</pre>
<p><strong>2 &#8211;</strong> Delete the specific rule:</p>
<pre>sudo ufw delete [rule_number]
</pre>
<h4>Conclusion</h4>
<p>You have configured UFW to protect your Linux server. Remember to update the firewall rules whenever you add new services.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
