<?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>Zimbra firewall configuration Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/zimbra-firewall-configuration/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 07 Jan 2020 12:31:57 +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>Zimbra Firewall Configuration with ufw for Ubuntu</title>
		<link>https://www.osradar.com/zimbra-firewall-configuration-with-ufw-for-ubuntu/</link>
					<comments>https://www.osradar.com/zimbra-firewall-configuration-with-ufw-for-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Tue, 07 Jan 2020 12:31:55 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[firewall with ufw]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<category><![CDATA[Zimbra firewall configuration]]></category>
		<category><![CDATA[Zimbra firewall configuration with ufw for ubuntu 18.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17426</guid>

					<description><![CDATA[<p>Previously we had cover the Installation of Zimbra Collaboration on Ubuntu 18.04. Today, we will go through the Firewall configuration with ufw for Ubuntu 18.04. Installing UFW on Ubuntu Install the UFW on Ubuntu by executing the command as sudo apt-get update &#38;&#38; sudo apt-get -y install ufw Configure Zimbra Firewall usign UFW Because of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/zimbra-firewall-configuration-with-ufw-for-ubuntu/">Zimbra Firewall Configuration with ufw for Ubuntu</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Previously we had cover the Installation of <a href="https://www.osradar.com/?p=17190">Zimbra Collaboration on Ubuntu 18.04</a>. Today, we will go through the Firewall configuration with ufw for Ubuntu 18.04.</p>



<h3><strong>Installing UFW on Ubuntu</strong></h3>



<p>Install the UFW on Ubuntu by executing the command as</p>



<pre class="wp-block-verse">sudo apt-get update &amp;&amp; sudo apt-get -y install ufw</pre>



<h3><strong>Configure Zimbra Firewall usign UFW</strong></h3>



<p>Because of recent Memcache amplification attacks for UDP ports, we won&#8217;t enable udp port as it will cause serious problems. Due to this reason we will use only tcp ports which is protected from these.</p>



<p>Because we need an application profile for UFW, so let&#8217;s create this profile as:</p>



<pre class="wp-block-verse">sudo nano /etc/ufw/application.d/zimbra</pre>



<p>Then add the following lines</p>



<pre class="wp-block-verse">[Zimbra]<br> title=Zimbra Collaboration Server<br> description=Open source server for email, contacts, calendar, and more.<br> ports=22,25,80,110,143,161,389,443,465,514,587,993,995,7071,8443,11211/tcp</pre>



<p>After that enable app profile on ufw</p>



<pre class="wp-block-verse">sudo ufw allow Zimbra<br>sudo ufw enable</pre>



<p>Then add ssh port as</p>



<pre class="wp-block-verse">sudo ufw allow ssh</pre>



<p>To make any changes to the Zimbra profile, update it using:</p>



<pre class="wp-block-verse">$ sudo ufw app update Zimbra<br> Rules updated for profile 'Zimbra'<br> Skipped reloading firewall</pre>



<p>Because for a single server installation, Memcache is not used outside the local server, consider binding it to the loopback ip address. So, use the commands:</p>



<pre class="wp-block-verse">sudo su - zimbra<br> zmprov ms zmhostname zimbraMemcachedBindAddress 127.0.0.1 <br> zmprov ms zmhostname zimbraMemcachedClientServerList 127.0.0.1</pre>



<p>Then restart Memcache services.</p>



<pre class="wp-block-verse">sudo su - zimbra -c "zmmemcachedctl restart"</pre>



<h3><strong>Restricting Access to Admin dashboard</strong></h3>



<p>As it is a good practice to always restrict access to port 7071 to a trusted network or IP, so do it by typing:</p>



<pre class="wp-block-verse">$ sudo ufw allow from 192.168.1.10 to any port 7071<br> $ sudo ufw allow from 192.168.1.0/24 to any port 7071</pre>



<p>So, this is how you can configure your Zimbra Server with firewall using ufw on Ubuntu 18.04 LTS.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/zimbra-firewall-configuration-with-ufw-for-ubuntu/">Zimbra Firewall Configuration with ufw for Ubuntu</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/zimbra-firewall-configuration-with-ufw-for-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
