<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic why &amp;quot;permit icmp any any echo in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/why-permit-icmp-any-any-echo-reply-apply-to-inside-in-direction/m-p/2652597#M196930</link>
    <description>&lt;P&gt;&lt;EM&gt;why "permit icmp any any echo-reply" in inside in direction is useless ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;why must need "permit ip any any" in inside in direction in order to ping outside?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;It all depends on the direction of the ping and from where it was initiated.&lt;/P&gt;&lt;P&gt;The following assumes your acls are applied inbound on the interfaces and you do not have ICMP inspection enabled.&lt;/P&gt;&lt;P&gt;If you have an acl applied to the inside interface (which you don't necessarily need by the way) and the ping was started from the outside then you would need an echo-reply entry in your inside&amp;nbsp;acl assuming you did not have a permit ip any any.&lt;/P&gt;&lt;P&gt;You don't need a permit ip any any to start the ping from inside but you would need an echo entry if you had an acl applied to inside interface.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that is echo not echo-reply.&lt;/P&gt;&lt;P&gt;You have to think of it in terms of the direction of the packet as to what you need to match.&lt;/P&gt;&lt;P&gt;If you want to be able to start the ping from both sides without using permit ip any any in either of your acls then you need an echo and an echo-reply entry in each acl.&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Feb 2015 19:02:38 GMT</pubDate>
    <dc:creator>Jon Marshall</dc:creator>
    <dc:date>2015-02-19T19:02:38Z</dc:date>
    <item>
      <title>why permit icmp any any echo-reply apply to inside in direction is useless</title>
      <link>https://community.cisco.com/t5/network-security/why-permit-icmp-any-any-echo-reply-apply-to-inside-in-direction/m-p/2652596#M196929</link>
      <description>&lt;P&gt;when i&amp;nbsp;&lt;/P&gt;&lt;P&gt;no access-list 100 permit ip any any&lt;/P&gt;&lt;P&gt;in inside, inside can not ping outside&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;i&amp;nbsp;no access-list 100 extended permit icmp any any echo-reply log&lt;/P&gt;&lt;P&gt;inside can ping outside due to&amp;nbsp;access-list 100 permit ip any any&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now, below code, can make inside can ping outside and outside can not ping inside, it is correct.&lt;/P&gt;&lt;P&gt;is "permit icmp any any echo-reply log" mainly used for outside in direction, not inside in direction in real practice?&lt;/P&gt;&lt;P&gt;but, i do not understand that&lt;/P&gt;&lt;P&gt;why "permit icmp any any echo-reply" in inside in direction is useless ?&lt;/P&gt;&lt;P&gt;why must need "permit ip any any" in inside in direction in order to ping outside?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Essential, with permit ip inside can ping outside)&lt;BR /&gt;conf t&lt;BR /&gt;no access-list 100 extended permit icmp any any echo-reply log&lt;BR /&gt;access-list 100 extended permit tcp any any log&lt;BR /&gt;access-list 100 permit ip any any&lt;BR /&gt;access-group 100 in interface inside&lt;BR /&gt;end&lt;/P&gt;&lt;P&gt;(Essential, without permit ip, outside can not ping to inside)&lt;BR /&gt;conf t&lt;BR /&gt;access-list 200 extended permit icmp any any echo-reply log&lt;BR /&gt;access-list 200 extended permit tcp any any log&lt;BR /&gt;access-group 200 in interface outside&lt;BR /&gt;end&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 00:55:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/why-permit-icmp-any-any-echo-reply-apply-to-inside-in-direction/m-p/2652596#M196929</guid>
      <dc:creator>martlee2</dc:creator>
      <dc:date>2019-03-26T00:55:00Z</dc:date>
    </item>
    <item>
      <title>why "permit icmp any any echo</title>
      <link>https://community.cisco.com/t5/network-security/why-permit-icmp-any-any-echo-reply-apply-to-inside-in-direction/m-p/2652597#M196930</link>
      <description>&lt;P&gt;&lt;EM&gt;why "permit icmp any any echo-reply" in inside in direction is useless ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;why must need "permit ip any any" in inside in direction in order to ping outside?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;It all depends on the direction of the ping and from where it was initiated.&lt;/P&gt;&lt;P&gt;The following assumes your acls are applied inbound on the interfaces and you do not have ICMP inspection enabled.&lt;/P&gt;&lt;P&gt;If you have an acl applied to the inside interface (which you don't necessarily need by the way) and the ping was started from the outside then you would need an echo-reply entry in your inside&amp;nbsp;acl assuming you did not have a permit ip any any.&lt;/P&gt;&lt;P&gt;You don't need a permit ip any any to start the ping from inside but you would need an echo entry if you had an acl applied to inside interface.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that is echo not echo-reply.&lt;/P&gt;&lt;P&gt;You have to think of it in terms of the direction of the packet as to what you need to match.&lt;/P&gt;&lt;P&gt;If you want to be able to start the ping from both sides without using permit ip any any in either of your acls then you need an echo and an echo-reply entry in each acl.&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 19:02:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/why-permit-icmp-any-any-echo-reply-apply-to-inside-in-direction/m-p/2652597#M196930</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2015-02-19T19:02:38Z</dc:date>
    </item>
  </channel>
</rss>

