<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — which ports to open for Firewall/Netfilter/IPtables]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic198.xml" />
	<updated>2009-08-30T14:50:50Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic198-which-ports-to-open-for-firewallnetfilteriptables.html</id>
		<entry>
			<title type="html"><![CDATA[Re: which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1007.html#p1007" />
			<content type="html"><![CDATA[<p>Excellent. Thanks <img src="http://www.iredmail.org/forum/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
			<author>
				<name><![CDATA[Suno Ano]]></name>
				<uri>http://www.iredmail.org/forum/user95.html</uri>
			</author>
			<updated>2009-08-30T14:50:50Z</updated>
			<id>http://www.iredmail.org/forum/post1007.html#p1007</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1004.html#p1004" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-08-30T00:52:59Z</updated>
			<id>http://www.iredmail.org/forum/post1004.html#p1004</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1003.html#p1003" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-08-30T00:38:15Z</updated>
			<id>http://www.iredmail.org/forum/post1003.html#p1003</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post997.html#p997" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Suno Ano]]></name>
				<uri>http://www.iredmail.org/forum/user95.html</uri>
			</author>
			<updated>2009-08-29T18:48:39Z</updated>
			<id>http://www.iredmail.org/forum/post997.html#p997</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post973.html#p973" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-08-27T04:53:37Z</updated>
			<id>http://www.iredmail.org/forum/post973.html#p973</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[which ports to open for Firewall/Netfilter/IPtables]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post963.html#p963" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Suno Ano]]></name>
				<uri>http://www.iredmail.org/forum/user95.html</uri>
			</author>
			<updated>2009-08-26T10:10:33Z</updated>
			<id>http://www.iredmail.org/forum/post963.html#p963</id>
		</entry>
</feed>
