<?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 Re: Extended ACL permit ip and allowed ports in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/extended-acl-permit-ip-and-allowed-ports/m-p/2268142#M350156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And to illustrate the situation above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Situation 1 - Only allow rule exists on the ACL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network SOURCE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.10.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.20.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network DESTINATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.100.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.200.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list SOURCE-IN permit ip object-group SOURCE object-group DESTINATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above ACL would&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Allow ALL TCP/UDP source and destination ports&lt;/LI&gt;&lt;LI&gt;Allow those from the source networks of SOURCE to the destination networks of DESTINATION&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Situation 2 - Deny rules exist before the allowing rule&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network SOURCE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.10.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.20.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network DESTINATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.100.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.200.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list SOURCE-IN deny ip host 10.10.10.10 host 10.10.100.100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list SOURCE-IN deny tcp host 10.10.10.10 host 10.10.200.200 eq 80&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list SOURCE-IN permit ip object-group SOURCE object-group DESTINATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above ACL would&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;First block ALL TCP/UDP traffic from host 10.10.10.10 to host 10.10.100.100&lt;/LI&gt;&lt;LI&gt;It would also block TCP traffic from host 10.10.10.10 to host 10.10.200.200 on the destination port TCP/80&lt;/LI&gt;&lt;LI&gt;It would then allow ALL TCP/UDP traffic from the source networks of SOURCE to the destination networks of DESTINATION&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key thing to notice ofcourse would be that we have blocked some traffic on the first 2 lines of the ACL and then allowed ALL TCP/UDP traffic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So host 10.10.10.10 cant communicate with host 10.10.100.100 on any port since the "deny" rule for that is at the top of the ACL BEFORE the rule that allows ALL TCP/UDP traffic between these networks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the other case the TCP/80 destination traffic from host 10.10.10.10 to host 10.10.200.200 would be blocked BUT rest of the TCP/UDP traffic would be allowed by the rule using the "object-group"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 May 2013 18:19:27 GMT</pubDate>
    <dc:creator>Jouni Forss</dc:creator>
    <dc:date>2013-05-09T18:19:27Z</dc:date>
    <item>
      <title>Extended ACL permit ip and allowed ports</title>
      <link>https://community.cisco.com/t5/network-security/extended-acl-permit-ip-and-allowed-ports/m-p/2268140#M350154</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to confirm if we have extended ACL with object group below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list xy_access_in extended permit ip object-group xy_subnets object-group cisco_ynetworks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will above ACL allow all the ports&amp;nbsp; on the destination object group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 01:41:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/extended-acl-permit-ip-and-allowed-ports/m-p/2268140#M350154</guid>
      <dc:creator>mahesh18</dc:creator>
      <dc:date>2019-03-12T01:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Extended ACL permit ip and allowed ports</title>
      <link>https://community.cisco.com/t5/network-security/extended-acl-permit-ip-and-allowed-ports/m-p/2268141#M350155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ACL rule by itself would mean that &lt;STRONG&gt;TCP/UDP&lt;/STRONG&gt; traffic would be allowed on &lt;STRONG&gt;ANY&lt;/STRONG&gt; destination or source port from the &lt;STRONG&gt;xy_subnets&lt;/STRONG&gt; to &lt;STRONG&gt;cisco_ynetworks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do notice this very important fact when configuring ACLs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have some ACL rule before this mentioned ACL rule in the mentioned ACL and its set to block some ports and the rules source/destination addresses apply to the source/destination networks in these &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; then its possible that some ports get blocked even though this rule alone would allow them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 18:09:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/extended-acl-permit-ip-and-allowed-ports/m-p/2268141#M350155</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-05-09T18:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extended ACL permit ip and allowed ports</title>
      <link>https://community.cisco.com/t5/network-security/extended-acl-permit-ip-and-allowed-ports/m-p/2268142#M350156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And to illustrate the situation above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Situation 1 - Only allow rule exists on the ACL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network SOURCE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.10.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.20.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network DESTINATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.100.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.200.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list SOURCE-IN permit ip object-group SOURCE object-group DESTINATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above ACL would&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Allow ALL TCP/UDP source and destination ports&lt;/LI&gt;&lt;LI&gt;Allow those from the source networks of SOURCE to the destination networks of DESTINATION&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Situation 2 - Deny rules exist before the allowing rule&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network SOURCE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.10.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.20.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network DESTINATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.100.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.10.200.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list SOURCE-IN deny ip host 10.10.10.10 host 10.10.100.100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list SOURCE-IN deny tcp host 10.10.10.10 host 10.10.200.200 eq 80&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list SOURCE-IN permit ip object-group SOURCE object-group DESTINATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above ACL would&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;First block ALL TCP/UDP traffic from host 10.10.10.10 to host 10.10.100.100&lt;/LI&gt;&lt;LI&gt;It would also block TCP traffic from host 10.10.10.10 to host 10.10.200.200 on the destination port TCP/80&lt;/LI&gt;&lt;LI&gt;It would then allow ALL TCP/UDP traffic from the source networks of SOURCE to the destination networks of DESTINATION&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key thing to notice ofcourse would be that we have blocked some traffic on the first 2 lines of the ACL and then allowed ALL TCP/UDP traffic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So host 10.10.10.10 cant communicate with host 10.10.100.100 on any port since the "deny" rule for that is at the top of the ACL BEFORE the rule that allows ALL TCP/UDP traffic between these networks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the other case the TCP/80 destination traffic from host 10.10.10.10 to host 10.10.200.200 would be blocked BUT rest of the TCP/UDP traffic would be allowed by the rule using the "object-group"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 18:19:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/extended-acl-permit-ip-and-allowed-ports/m-p/2268142#M350156</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-05-09T18:19:27Z</dc:date>
    </item>
    <item>
      <title>Extended ACL permit ip and allowed ports</title>
      <link>https://community.cisco.com/t5/network-security/extended-acl-permit-ip-and-allowed-ports/m-p/2268143#M350157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi jouni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reading your first&amp;nbsp; post i was going to ask you to explain with example.&lt;/P&gt;&lt;P&gt;Seems you read my mind and put the second&amp;nbsp; post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it&amp;nbsp; now.Welcome to the ACL world.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 18:41:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/extended-acl-permit-ip-and-allowed-ports/m-p/2268143#M350157</guid>
      <dc:creator>mahesh18</dc:creator>
      <dc:date>2013-05-09T18:41:17Z</dc:date>
    </item>
  </channel>
</rss>

