<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — which ports to open for Firewall/Netfilter/IPtables]]></title>
		<link>http://www.iredmail.org/forum/topic198-which-ports-to-open-for-firewallnetfilteriptables.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic198.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in which ports to open for Firewall/Netfilter/IPtables.]]></description>
		<lastBuildDate>Sun, 30 Aug 2009 14:50:50 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link>http://www.iredmail.org/forum/post1007.html#p1007</link>
			<description><![CDATA[<p>Excellent. Thanks <img src="http://www.iredmail.org/forum/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (Suno Ano)]]></author>
			<pubDate>Sun, 30 Aug 2009 14:50:50 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1007.html#p1007</guid>
		</item>
		<item>
			<title><![CDATA[Re: which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link>http://www.iredmail.org/forum/post1004.html#p1004</link>
			<description><![CDATA[<div class="quotebox"><cite>Suno Ano wrote:</cite><blockquote><div class="quotebox"><blockquote><p>Maybe i should extract ssh port number from sshd_config and then modify the rule. Good idea?</p></blockquote></div><p>Yes, please do so :-)</p></blockquote></div><p>Done.<br /><a href="http://code.google.com/p/iredmail/source/detail?r=05c0ce564bdfbf7b288d85df652113c345d4b4c0">http://code.google.com/p/iredmail/sourc … c345d4b4c0</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 30 Aug 2009 00:52:59 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1004.html#p1004</guid>
		</item>
		<item>
			<title><![CDATA[Re: which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link>http://www.iredmail.org/forum/post1003.html#p1003</link>
			<description><![CDATA[<p>Hi, Suno.</p><p>I posted a new topic here:<br />- iRedMail opens which network service ports<br />&nbsp; <a href="http://www.iredmail.org/forum/topic209-faq-iredmail-opens-which-service-ports.html">http://www.iredmail.org/forum/topic209- … ports.html</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 30 Aug 2009 00:38:15 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1003.html#p1003</guid>
		</item>
		<item>
			<title><![CDATA[Re: which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link>http://www.iredmail.org/forum/post997.html#p997</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>You should know which services you need to serve, what ports they need, and then customize your rule.</p></blockquote></div><p>I do, yes. However, I am uncertain what&#039;s needed in particular like for example port 587. As I said, I use the LDAP backend with irm and thus I can only manually check (ps aux | grep &lt;daemon_name&gt; or netstat -tulpe) to be sure. I think a quick summary on the wiki would be best i.e. if we could just list the ports needed that would be great ... I think this question will come up a lot in the future so ...</p><div class="quotebox"><blockquote><p>Maybe i should extract ssh port number from sshd_config and then modify the rule. Good idea?</p></blockquote></div><p>Yes, please do so :-)</p>]]></description>
			<author><![CDATA[null@example.com (Suno Ano)]]></author>
			<pubDate>Sat, 29 Aug 2009 18:48:39 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post997.html#p997</guid>
		</item>
		<item>
			<title><![CDATA[Re: which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link>http://www.iredmail.org/forum/post973.html#p973</link>
			<description><![CDATA[<div class="quotebox"><cite>Suno Ano wrote:</cite><blockquote><p>It is correct that all ports are TCP and no IRM service/daemon makes use of the UDP protocol?</p></blockquote></div><p>Yes, no daemon uses UDP protocol.</p><div class="quotebox"><cite>Suno Ano wrote:</cite><blockquote><p>What ports need to be open can be seen from iRedMail/samples/iptables.rules. Right now I allow incoming traffic on following TCP ports: 80,443,25,587,465,110,995,143,993,389,636,21,20. I use the LDAP backend; do I need all those ports to be open? especially 587? Did I miss some port?</p></blockquote></div><p>You should know which services you need to serve, what ports they need, and then customize your rule.</p><div class="quotebox"><cite>Suno Ano wrote:</cite><blockquote><p>We manage the port for sshd automatically; it&#039;s listening on a high port i.e. &gt;1023; maybe the IRM install routing could ask users for the sshd listening port instead of assuming it&#039;s port 22? Personally I don&#039;t care because we con&#039;t use IRM iptables scripts at all but I think the user should have a choice to mabye pick a non-standard listening port</p></blockquote></div><p>There&#039;s a note displayed while prompt to use iptables rule shipped within iredmail, it says OpenSSH port is 22.</p><p>User can replace it without restart iptables service, and then edit the port number after installation complete.</p><p>Maybe i should extract ssh port number from sshd_config and then modify the rule. Good idea?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 27 Aug 2009 04:53:37 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post973.html#p973</guid>
		</item>
		<item>
			<title><![CDATA[which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link>http://www.iredmail.org/forum/post963.html#p963</link>
			<description><![CDATA[<p>I don&#039;t use the IRM script to manage which ports are to be opened on the firewall (Linux i.e. Netfilter/Iptables in our case). We use OpenVZ so we do firewalling on the HN (Hardware Node) rather than inside a VE (Virtual Environment) where some of our IRM instances are installed.</p><br /><p><strong>Three Questions:</strong></p><p>0) <br />It is correct that all ports are TCP and no IRM service/daemon makes use of the UDP protocol?</p><p>1)<br />What ports need to be open can be seen from iRedMail/samples/iptables.rules. Right now I allow incoming traffic on following TCP ports: 80,443,25,587,465,110,995,143,993,389,636,21,20. I use the LDAP backend; do I need all those ports to be open? especially 587? Did I miss some port?</p><p>2)<br />We manage the port for sshd automatically; it&#039;s listening on a high port i.e. &gt;1023; maybe the IRM install routing could ask users for the sshd listening port instead of assuming it&#039;s port 22? Personally I don&#039;t care because we con&#039;t use IRM iptables scripts at all but I think the user should have a choice to mabye pick a non-standard listening port <a href="http://sunoano.name/ws/public_xhtml/ssh.html#sshd_listening_port">http://sunoano.name/ws/public_xhtml/ssh … ening_port</a></p>]]></description>
			<author><![CDATA[null@example.com (Suno Ano)]]></author>
			<pubDate>Wed, 26 Aug 2009 10:10:33 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post963.html#p963</guid>
		</item>
	</channel>
</rss>
