<?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 ACL for ASA in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/acl-for-asa/m-p/4012388#M414704</link>
    <description>&lt;P&gt;Dears,&lt;BR /&gt;My trouble is ACL that any4 or specified host. My topology:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01.png" style="width: 266px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/65159iC22512C3EC9D49D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="01.png" alt="01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And configuration of devices:&lt;BR /&gt;[Internet]v15.2&lt;BR /&gt;interface GigabitEthernet1/0&lt;BR /&gt;ip address 209.165.1.1 255.255.255.0&lt;BR /&gt;no shutdown&lt;BR /&gt;===============================&lt;BR /&gt;[ciscoasa]v9.6&lt;BR /&gt;interface GigabitEthernet0/0&lt;BR /&gt;nameif outside&lt;BR /&gt;security-level 0&lt;BR /&gt;ip address 209.165.1.2 255.255.255.0&lt;BR /&gt;no shutdown&lt;BR /&gt;!&lt;BR /&gt;interface GigabitEthernet0/1&lt;BR /&gt;nameif inside&lt;BR /&gt;security-level 100&lt;BR /&gt;ip address 10.0.0.1 255.0.0.0&lt;BR /&gt;no shutdown&lt;BR /&gt;!&lt;BR /&gt;object network LAN&lt;BR /&gt;subnet 10.0.0.0 255.0.0.0&lt;BR /&gt;nat (inside,outside) dynamic interface&lt;BR /&gt;object network WEB&lt;BR /&gt;host 10.0.0.2&lt;BR /&gt;nat (inside,outside) static interface service tcp 80 80&lt;BR /&gt;!&lt;BR /&gt;access-list asa extended permit icmp any4 host 209.165.1.2&lt;BR /&gt;access-list asa extended permit icmp any4 interface outside&lt;BR /&gt;access-list asa extended permit icmp any4 interface outside echo&lt;BR /&gt;access-list asa extended permit icmp any4 interface outside echo-reply&lt;BR /&gt;access-list asa extended permit tcp any4 host 209.165.1.2&lt;BR /&gt;access-list asa extended permit tcp any4 interface outside eq 80&lt;BR /&gt;access-group asa in interface outside&lt;BR /&gt;!&lt;BR /&gt;route outside 0.0.0.0 0.0.0.0 209.165.1.1&lt;BR /&gt;aaa authentication ssh console LOCAL&lt;BR /&gt;http server enable&lt;BR /&gt;http 0.0.0.0 0.0.0.0 inside&lt;BR /&gt;===============================&lt;BR /&gt;[WEB]v15.2&lt;BR /&gt;interface GigabitEthernet1/0&lt;BR /&gt;ip address 10.0.0.2 255.0.0.0&lt;BR /&gt;no shutdown&lt;BR /&gt;ip route 0.0.0.0 0.0.0.0 10.0.0.1&lt;BR /&gt;ip http server&lt;BR /&gt;===============================&lt;/P&gt;&lt;P&gt;In these configuration, Web cann't ping Internet(209.165.1.1) but ICMP echo-request has reachable and echo-reply has unreachable.&lt;BR /&gt;And Internet can not access web. Please refer...&lt;BR /&gt;WEB#ping 209.165.1.1 repeat 3&lt;BR /&gt;Type escape sequence to abort.&lt;BR /&gt;Sending 3, 100-byte ICMP Echos to 209.165.1.1, timeout is 2 seconds:&lt;BR /&gt;...&lt;BR /&gt;Success rate is 0 percent (0/3)&lt;BR /&gt;WEB#&lt;/P&gt;&lt;P&gt;Internet#&lt;BR /&gt;*Jan 16 15:05:35.051: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;Internet#&lt;BR /&gt;*Jan 16 15:05:37.051: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;Internet#&lt;BR /&gt;*Jan 16 15:05:39.043: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;Internet#&lt;/P&gt;&lt;P&gt;However, I modified ACL:&lt;BR /&gt;access-list asa extended permit icmp any4 any4&lt;BR /&gt;access-list asa extended permit tcp any4 any4&lt;BR /&gt;access-group asa in interface outside&lt;/P&gt;&lt;P&gt;WEB#ping 209.165.1.1 repeat 3&lt;BR /&gt;Type escape sequence to abort.&lt;BR /&gt;Sending 3, 100-byte ICMP Echos to 209.165.1.1, timeout is 2 seconds:&lt;BR /&gt;!!!&lt;BR /&gt;Success rate is 100 percent (3/3), round-trip min/avg/max = 16/20/24 ms&lt;BR /&gt;WEB#&lt;/P&gt;&lt;P&gt;Internet#&lt;BR /&gt;*Jan 16 15:09:30.115: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;*Jan 16 15:09:30.135: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;*Jan 16 15:09:30.159: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;Internet#&lt;BR /&gt;Internet#telnet 209.165.1.2 80&lt;BR /&gt;Trying 209.165.1.2, 80 ... Open&lt;BR /&gt;get&lt;BR /&gt;HTTP/1.1 400 Bad Request&lt;BR /&gt;Date: Thu, 16 Jan 2020 15:10:00 GMT&lt;BR /&gt;Server: cisco-IOS&lt;BR /&gt;Accept-Ranges: none&lt;/P&gt;&lt;P&gt;400 Bad Request&lt;BR /&gt;[Connection to 209.165.1.2 closed by foreign host]&lt;BR /&gt;Internet#&lt;/P&gt;&lt;P&gt;It resolved! But why? For Internet, destination IP address that echo-reply and web are not 209.165.1.2? impossible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 17:50:13 GMT</pubDate>
    <dc:creator>Chin Chang</dc:creator>
    <dc:date>2020-02-21T17:50:13Z</dc:date>
    <item>
      <title>ACL for ASA</title>
      <link>https://community.cisco.com/t5/network-security/acl-for-asa/m-p/4012388#M414704</link>
      <description>&lt;P&gt;Dears,&lt;BR /&gt;My trouble is ACL that any4 or specified host. My topology:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01.png" style="width: 266px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/65159iC22512C3EC9D49D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="01.png" alt="01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And configuration of devices:&lt;BR /&gt;[Internet]v15.2&lt;BR /&gt;interface GigabitEthernet1/0&lt;BR /&gt;ip address 209.165.1.1 255.255.255.0&lt;BR /&gt;no shutdown&lt;BR /&gt;===============================&lt;BR /&gt;[ciscoasa]v9.6&lt;BR /&gt;interface GigabitEthernet0/0&lt;BR /&gt;nameif outside&lt;BR /&gt;security-level 0&lt;BR /&gt;ip address 209.165.1.2 255.255.255.0&lt;BR /&gt;no shutdown&lt;BR /&gt;!&lt;BR /&gt;interface GigabitEthernet0/1&lt;BR /&gt;nameif inside&lt;BR /&gt;security-level 100&lt;BR /&gt;ip address 10.0.0.1 255.0.0.0&lt;BR /&gt;no shutdown&lt;BR /&gt;!&lt;BR /&gt;object network LAN&lt;BR /&gt;subnet 10.0.0.0 255.0.0.0&lt;BR /&gt;nat (inside,outside) dynamic interface&lt;BR /&gt;object network WEB&lt;BR /&gt;host 10.0.0.2&lt;BR /&gt;nat (inside,outside) static interface service tcp 80 80&lt;BR /&gt;!&lt;BR /&gt;access-list asa extended permit icmp any4 host 209.165.1.2&lt;BR /&gt;access-list asa extended permit icmp any4 interface outside&lt;BR /&gt;access-list asa extended permit icmp any4 interface outside echo&lt;BR /&gt;access-list asa extended permit icmp any4 interface outside echo-reply&lt;BR /&gt;access-list asa extended permit tcp any4 host 209.165.1.2&lt;BR /&gt;access-list asa extended permit tcp any4 interface outside eq 80&lt;BR /&gt;access-group asa in interface outside&lt;BR /&gt;!&lt;BR /&gt;route outside 0.0.0.0 0.0.0.0 209.165.1.1&lt;BR /&gt;aaa authentication ssh console LOCAL&lt;BR /&gt;http server enable&lt;BR /&gt;http 0.0.0.0 0.0.0.0 inside&lt;BR /&gt;===============================&lt;BR /&gt;[WEB]v15.2&lt;BR /&gt;interface GigabitEthernet1/0&lt;BR /&gt;ip address 10.0.0.2 255.0.0.0&lt;BR /&gt;no shutdown&lt;BR /&gt;ip route 0.0.0.0 0.0.0.0 10.0.0.1&lt;BR /&gt;ip http server&lt;BR /&gt;===============================&lt;/P&gt;&lt;P&gt;In these configuration, Web cann't ping Internet(209.165.1.1) but ICMP echo-request has reachable and echo-reply has unreachable.&lt;BR /&gt;And Internet can not access web. Please refer...&lt;BR /&gt;WEB#ping 209.165.1.1 repeat 3&lt;BR /&gt;Type escape sequence to abort.&lt;BR /&gt;Sending 3, 100-byte ICMP Echos to 209.165.1.1, timeout is 2 seconds:&lt;BR /&gt;...&lt;BR /&gt;Success rate is 0 percent (0/3)&lt;BR /&gt;WEB#&lt;/P&gt;&lt;P&gt;Internet#&lt;BR /&gt;*Jan 16 15:05:35.051: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;Internet#&lt;BR /&gt;*Jan 16 15:05:37.051: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;Internet#&lt;BR /&gt;*Jan 16 15:05:39.043: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;Internet#&lt;/P&gt;&lt;P&gt;However, I modified ACL:&lt;BR /&gt;access-list asa extended permit icmp any4 any4&lt;BR /&gt;access-list asa extended permit tcp any4 any4&lt;BR /&gt;access-group asa in interface outside&lt;/P&gt;&lt;P&gt;WEB#ping 209.165.1.1 repeat 3&lt;BR /&gt;Type escape sequence to abort.&lt;BR /&gt;Sending 3, 100-byte ICMP Echos to 209.165.1.1, timeout is 2 seconds:&lt;BR /&gt;!!!&lt;BR /&gt;Success rate is 100 percent (3/3), round-trip min/avg/max = 16/20/24 ms&lt;BR /&gt;WEB#&lt;/P&gt;&lt;P&gt;Internet#&lt;BR /&gt;*Jan 16 15:09:30.115: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;*Jan 16 15:09:30.135: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;*Jan 16 15:09:30.159: ICMP: echo reply sent, src 209.165.1.1, dst 209.165.1.2, topology BASE, dscp 0 topoid 0&lt;BR /&gt;Internet#&lt;BR /&gt;Internet#telnet 209.165.1.2 80&lt;BR /&gt;Trying 209.165.1.2, 80 ... Open&lt;BR /&gt;get&lt;BR /&gt;HTTP/1.1 400 Bad Request&lt;BR /&gt;Date: Thu, 16 Jan 2020 15:10:00 GMT&lt;BR /&gt;Server: cisco-IOS&lt;BR /&gt;Accept-Ranges: none&lt;/P&gt;&lt;P&gt;400 Bad Request&lt;BR /&gt;[Connection to 209.165.1.2 closed by foreign host]&lt;BR /&gt;Internet#&lt;/P&gt;&lt;P&gt;It resolved! But why? For Internet, destination IP address that echo-reply and web are not 209.165.1.2? impossible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 17:50:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-for-asa/m-p/4012388#M414704</guid>
      <dc:creator>Chin Chang</dc:creator>
      <dc:date>2020-02-21T17:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: ACL for ASA</title>
      <link>https://community.cisco.com/t5/network-security/acl-for-asa/m-p/4012927#M414706</link>
      <description>Hi,&lt;BR /&gt;It's probably because you've specified the destination as "interface outside", when configuring an ACL you always need to specify the real IP address, in this instance it would be 10.0.0.x - hence why "any4" works.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Thu, 16 Jan 2020 19:40:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-for-asa/m-p/4012927#M414706</guid>
      <dc:creator>Rob Ingram</dc:creator>
      <dc:date>2020-01-16T19:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: ACL for ASA</title>
      <link>https://community.cisco.com/t5/network-security/acl-for-asa/m-p/4013170#M414709</link>
      <description>I have test and understand. External packets to internal over ASA, they first NAT and then ACL.&lt;BR /&gt;Thank you!</description>
      <pubDate>Fri, 17 Jan 2020 04:33:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-for-asa/m-p/4013170#M414709</guid>
      <dc:creator>Chin Chang</dc:creator>
      <dc:date>2020-01-17T04:33:03Z</dc:date>
    </item>
  </channel>
</rss>

