<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — how to enable ping]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic405.xml" />
	<updated>2009-11-08T15:09:28Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic405-how-to-enable-ping.html</id>
		<entry>
			<title type="html"><![CDATA[Re: how to enable ping]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1756.html#p1756" />
			<content type="html"><![CDATA[<p>Hi Zhang, thanks for the quick reaction. I&#039;d also add ttl-zero-during-transit and ttl-zero-during-reassembly.</p>]]></content>
			<author>
				<name><![CDATA[Suno Ano]]></name>
				<uri>http://www.iredmail.org/forum/user95.html</uri>
			</author>
			<updated>2009-11-08T15:09:28Z</updated>
			<id>http://www.iredmail.org/forum/post1756.html#p1756</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: how to enable ping]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1755.html#p1755" />
			<content type="html"><![CDATA[<p>You can simplily append one line in /etc/sysconfig/iptables (RHEL/CentOS) or /etc/default/iptables (Debian/Ubuntu) before &#039;COMMIT&#039; line:<br /></p><div class="codebox"><pre><code># Allow PING from remote hosts.
-A INPUT -p icmp --icmp-type echo-request -j ACCEPT</code></pre></div><p>I added this in default iptables now. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-11-08T12:00:20Z</updated>
			<id>http://www.iredmail.org/forum/post1755.html#p1755</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: how to enable ping]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1754.html#p1754" />
			<content type="html"><![CDATA[<p>What you need to to is to simply allow a certain types of ICMP types to pass through your netfilter. </p><p>ICMP has several types of packages. The ones that need be allowed to pass are:<br />each type can be specified by name (echo-request ttl-zero-during-transit ttl-zero-during-reassembly) or by number (8 and 11) For more informatoin see iptables --protocol icmp --help</p><p>The code in your netfilter/iptables script would then looks somewhat like this</p><p>specifying the icmp types<br /></p><div class="codebox"><pre><code>icmp_types_to_accept=&quot;\
echo-request \
ttl-zero-during-transit \
ttl-zero-during-reassembly&quot;  # numerical values for those ICMP types are 8 and 11; see iptables --protocol icmp --help</code></pre></div><p>loading the rules into the kernel<br /></p><div class="codebox"><pre><code>for icmp_type in $icmp_types_to_accept; do
  $exe_iptables -A chain_accept_icmp_packets -p icmp -s $net_all --icmp-type $icmp_type -j ACCEPT
done</code></pre></div><p>For more info go here <a href="http://github.com/sunoano/bash/blob/master/packet_filter">http://github.com/sunoano/bash/blob/mas … ket_filter</a></p>]]></content>
			<author>
				<name><![CDATA[Suno Ano]]></name>
				<uri>http://www.iredmail.org/forum/user95.html</uri>
			</author>
			<updated>2009-11-08T10:30:14Z</updated>
			<id>http://www.iredmail.org/forum/post1754.html#p1754</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[how to enable ping]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1753.html#p1753" />
			<content type="html"><![CDATA[<p>Hi,<br />i installed iRedmail 0.5.1, and also included the iptables script to automatic start on the mailserver.</p><p>now the mailserver is no longer available when ping the mailserver</p><p>how can this be enabled again? some mailsenders probe to ping the sending mailserver if it is existent and now these will no longer accept mail from my iredmail server?</p><p>regards</p>]]></content>
			<author>
				<name><![CDATA[BigMichi1]]></name>
				<uri>http://www.iredmail.org/forum/user295.html</uri>
			</author>
			<updated>2009-11-07T18:39:50Z</updated>
			<id>http://www.iredmail.org/forum/post1753.html#p1753</id>
		</entry>
</feed>
