<?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: IOS to ASA ACL conversion in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798693#M1004817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;neospitz,&lt;/P&gt;&lt;P&gt;double check your IOS mask and repost.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2007 18:10:48 GMT</pubDate>
    <dc:creator>srue</dc:creator>
    <dc:date>2007-05-14T18:10:48Z</dc:date>
    <item>
      <title>IOS to ASA ACL conversion</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798688#M1004804</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this IOS ACL:&lt;/P&gt;&lt;P&gt;permit tcp any 172.16.32.64 0.3.255.31 eq www&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that needs to be converted to an ASA ACL. How should I configure my firewall with minimum numbers of lines within the ACL and/or object group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't really want to define 700+ lines inside one network object group and this is just one of the IOS ACL that I need to convert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 10:12:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798688#M1004804</guid>
      <dc:creator>neospitz</dc:creator>
      <dc:date>2019-03-11T10:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: IOS to ASA ACL conversion</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798689#M1004809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;permit tcp any 172.16.32.64 0.3.255.31 eq www = 1 line, not 700.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*shrugs*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 20:40:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798689#M1004809</guid>
      <dc:creator>joshua.walton</dc:creator>
      <dc:date>2007-05-12T20:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: IOS to ASA ACL conversion</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798690#M1004812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, if it really works like this I would be really happy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However ASA does not seem to like wildcard mask and I really have a hard time migrating IOS ACL to PIX/ASA ACLs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Toby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2007 21:24:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798690#M1004812</guid>
      <dc:creator>neospitz</dc:creator>
      <dc:date>2007-05-13T21:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: IOS to ASA ACL conversion</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798691#M1004813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a mighty strange network mask. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In IOS the netmasks are inverted and going by what you posted the mask would translate to 255.252.0.224.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see how a router would even accept that network mask.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 14:53:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798691#M1004813</guid>
      <dc:creator>laurent.geyer</dc:creator>
      <dc:date>2007-05-14T14:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: IOS to ASA ACL conversion</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798692#M1004815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 15:22:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798692#M1004815</guid>
      <dc:creator>laurent.geyer</dc:creator>
      <dc:date>2007-05-14T15:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: IOS to ASA ACL conversion</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798693#M1004817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;neospitz,&lt;/P&gt;&lt;P&gt;double check your IOS mask and repost.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 18:10:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798693#M1004817</guid>
      <dc:creator>srue</dc:creator>
      <dc:date>2007-05-14T18:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: IOS to ASA ACL conversion</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798694#M1004820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the ACL should read as follow:&lt;/P&gt;&lt;P&gt;permit tcp any 172.16.0.64 0.3.255.31 eq www &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not really matter if the IP address of 3rd octet is 32 or 0 as the corresponding wildcard mask is 255 which means it matches from 0 to 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ACL is correct as this line was allowing access to web service within each Class C network address 64 - 95 by the IOS router.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried the subnet mask 255.252.0.224 but ASDM reject this mask value. I was able to keyed it in under CLI but firewall has trouble matching packets with this line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 21:41:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798694#M1004820</guid>
      <dc:creator>neospitz</dc:creator>
      <dc:date>2007-05-14T21:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: IOS to ASA ACL conversion</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798695#M1004821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simple fact of the matter is that you have an invalid netmask. What I am curious about is what version of IOS you're running that parses that (imho) broken wildcard mask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct mask for specifying the addresses 172.16.0.64 through 172.16.0.95 would be 255.255.255.224 (0.0.0.31 wildcard) or 172.16.0.64/27 in CIDR form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would make the PIX/ASA access-list entry following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list &lt;ACL&gt; permit tcp any 172.16.0.64 255.255.255.224 eq 80&lt;/ACL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 15:14:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798695#M1004821</guid>
      <dc:creator>laurent.geyer</dc:creator>
      <dc:date>2007-05-15T15:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: IOS to ASA ACL conversion</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798696#M1004823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laurent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My situation is that I am migrating router ACL to ASA/PIX ACL, where wildcard mask 0.3.255.31 is completely valid under router ACL command syntex. Any IOS after 11.0 should be able to read this wildcard mask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I need to use "Subnet Mask" in PIX/ASA and this is where my question comes from. With ASA, if I use your ACL command:&lt;/P&gt;&lt;P&gt;access-list &lt;ACL&gt; permit tcp any 172.16.0.64 255.255.255.224 eq 80&lt;/ACL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to set up as:&lt;/P&gt;&lt;P&gt;permit tcp any 172.16.0.64 255.255.255.224 eq 80&lt;/P&gt;&lt;P&gt;permit tcp any 172.16.1.64 255.255.255.224 eq 80&lt;/P&gt;&lt;P&gt;permit tcp any 172.16.2.64 255.255.255.224 eq 80&lt;/P&gt;&lt;P&gt;all the way to:&lt;/P&gt;&lt;P&gt;permit tcp any 172.19.255.64 255.255.255.224 eq 80&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereas currently using router, one line kills them all:&lt;/P&gt;&lt;P&gt;permit tcp any 172.16.0.64 0.3.255.31 eq 80&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking rather than specifying all 1024 network, or create them under object group, is there any simpler way to migrate this router ACL to ASA? I would think PIX/ASA are designed for traffic filtering and there must be a way to match router wildcard mask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 20:21:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798696#M1004823</guid>
      <dc:creator>neospitz</dc:creator>
      <dc:date>2007-05-15T20:21:49Z</dc:date>
    </item>
    <item>
      <title>IOS to ASA ACL conversion</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798697#M1004824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;laurent.geyer wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simple fact of the matter is that you have an invalid netmask.&amp;nbsp; What I am curious about is what version of IOS you're running that&amp;nbsp; parses that (imho) broken wildcard mask.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp; correct mask for specifying the addresses 172.16.0.64 through&amp;nbsp; 172.16.0.95 would be 255.255.255.224 (0.0.0.31 wildcard) or&amp;nbsp; 172.16.0.64/27 in CIDR form.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This would make the PIX/ASA access-list entry following:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;access-list &lt;ACL&gt; permit tcp any 172.16.0.64 255.255.255.224 eq 80&lt;/ACL&gt;&lt;/P&gt;
&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;It IS an invalid netmask, but it is valid as a wildcard mask. Wildcard masks does not have to be &lt;/P&gt;&lt;P&gt;contiguous. For example, 172.16.32.64 0.3.255.31 will match 172.[16-19].[0-255].[64-95] with 1 single line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 09:50:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798697#M1004824</guid>
      <dc:creator>Kristian Alexander Brown</dc:creator>
      <dc:date>2013-05-21T09:50:51Z</dc:date>
    </item>
    <item>
      <title>Hi Neospitz Did you able to</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798698#M1004826</link>
      <description>&lt;P&gt;Hi Neospitz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you able to get the answer, I am also stuck into the similar situation where we have hundreds of router ACL with wildcard masks and I need to convert them to ASA subnet mask.&amp;nbsp;&lt;/P&gt;&lt;P&gt;permit tcp 172.25.192.0 0.0.224.255 172.19.31.2/32 eq 22&lt;/P&gt;&lt;P&gt;I receive following error.&lt;/P&gt;&lt;P&gt;ERROR: IP address,mask &amp;lt;172.25.192.0,0.0.224.255&amp;gt; doesn't pair&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 10:57:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798698#M1004826</guid>
      <dc:creator>kthned</dc:creator>
      <dc:date>2015-02-24T10:57:41Z</dc:date>
    </item>
    <item>
      <title>A good text editor (I use</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798699#M1004827</link>
      <description>&lt;P&gt;A good text editor (I use&amp;nbsp;Ultra Edit) and regular expressions and this can be converted in a snap.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 13:06:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798699#M1004827</guid>
      <dc:creator>Collin Clark</dc:creator>
      <dc:date>2015-02-24T13:06:54Z</dc:date>
    </item>
    <item>
      <title>Thanks Collin for you reply.</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798700#M1004828</link>
      <description>&lt;P&gt;Thanks Collin for you reply. I am wondering how to make the wild card mask to netmask using text editor. I understand the theory would be to subtract from 255.255.255.255 but question is how can i do it from a text editor. Lets say I have follwing 5 lines which need to convert to ASA format.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size:18px;"&gt;&amp;nbsp;permit ip &amp;nbsp; 172.24.16.0 &amp;nbsp; 0.7.225.255 any&lt;BR /&gt;&amp;nbsp;permit tcp 172.25.192.0 0.0.224.255 172.19.31.2/32 eq 22&lt;BR /&gt;&amp;nbsp;permit tcp 172.25.192.0 0.0.224.255 172.19.31.2/32 eq www&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;SPAN style="font-size:18px;"&gt;permit tcp 172.25.192.0 0.0.224.255 172.19.31.2/32 eq 443&lt;BR /&gt;&amp;nbsp;permit tcp 172.25.192.0 0.0.224.255 172.19.31.2/32 eq 5900&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 13:20:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798700#M1004828</guid>
      <dc:creator>kthned</dc:creator>
      <dc:date>2015-02-24T13:20:30Z</dc:date>
    </item>
    <item>
      <title>Search and replace should</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798701#M1004829</link>
      <description>&lt;P&gt;Search and replace should work too.&lt;/P&gt;&lt;P&gt;Find 0.7.255.255 and replace with 255.248.0.0&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 14:50:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798701#M1004829</guid>
      <dc:creator>Collin Clark</dc:creator>
      <dc:date>2015-02-24T14:50:59Z</dc:date>
    </item>
    <item>
      <title>Wow, I cannot believe this</title>
      <link>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798702#M1004831</link>
      <description>&lt;P&gt;Wow, I cannot believe this thread is still alive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@syedumairali, no unfortunately I do not belive ASA support non-continuous subnets defined by IOS wildcard masks.&lt;/P&gt;&lt;P&gt;I ended up using spreadsheet to build a list of network that confirms to the IOS wildcard mask, and then format them into ASA commands.&lt;/P&gt;&lt;P&gt;Thanks everyone for the contribution to this thread.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 22:01:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ios-to-asa-acl-conversion/m-p/798702#M1004831</guid>
      <dc:creator>neospitz</dc:creator>
      <dc:date>2015-03-09T22:01:23Z</dc:date>
    </item>
  </channel>
</rss>

