<?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: Insert NAT statement in ASA 5520 8.0 code in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/insert-nat-statement-in-asa-5520-8-0-code/m-p/1597949#M595659</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;&lt;/P&gt;&lt;P&gt;a workaroutnd would be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;access-list nat-you deny ip host 192.168.20.20 10.0.20.0 255.255.255.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;access-list nat-you permit ip 192.168.20.0 255.255.255.0 10.0.20.0 255.255.255.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jan 2011 07:03:03 GMT</pubDate>
    <dc:creator>Dan-Ciprian Cicioiu</dc:creator>
    <dc:date>2011-01-03T07:03:03Z</dc:date>
    <item>
      <title>Insert NAT statement in ASA 5520 8.0 code</title>
      <link>https://community.cisco.com/t5/network-security/insert-nat-statement-in-asa-5520-8-0-code/m-p/1597946#M595656</link>
      <description>&lt;P&gt;&lt;SPAN style="background-color: #f8fafd;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8fafd;"&gt;I m aware of NAT order of operation but what would be order of operation within the same type of NAT ( e.g. Static policy NAT) e.g&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;access-list nat-me permit ip host 192.168.10.1 host 10.0.10.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;access-list nat-you permit ip host 192.168.20.1 host 10.0.20.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;static (inside,dmz) 172.16.10.1 access-list nat-me&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;gt;&amp;gt; First line as appearing in the config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;static (inside,dmz) 172.16.20.1 access-list nat-you&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;gt;&amp;gt; Second line appearing in the config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it prefer to NAT with placement of STATIC NAT statments in config..?? If yes, Is there any way to insert a NAT statetement on top of the all STATIC NAT without using "no statement " of rules and pasting it again following the new NAT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will it invite any downtime during such configuration or any suggetion would be helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 19:29:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/insert-nat-statement-in-asa-5520-8-0-code/m-p/1597946#M595656</guid>
      <dc:creator>Hitesh Vinzoda</dc:creator>
      <dc:date>2019-03-11T19:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Insert NAT statement in ASA 5520 8.0 code</title>
      <link>https://community.cisco.com/t5/network-security/insert-nat-statement-in-asa-5520-8-0-code/m-p/1597947#M595657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hitesh,&lt;/P&gt;&lt;P&gt;You mean to say you need to insert static 1-1 NAT in place of this static policy nat?&lt;/P&gt;&lt;P&gt;Just copy and paste all the lines on notepad (the ones to be removed and the ones that need to be added) and paste them one shot.&lt;/P&gt;&lt;P&gt;Existing connections will not be affected and it only takes a few seconds before the new lines get into the config so, any new connections that come in in those split seconds will be affected which I think will be negligible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASDM has an option to insert line (under NAT). Though you may insert the new line before the existing ones, once pushed to device the new line is the last one added. Meaning there is no line number like the acl to add one line above all existing lines without removing the ones that are alerady there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-KS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 14:27:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/insert-nat-statement-in-asa-5520-8-0-code/m-p/1597947#M595657</guid>
      <dc:creator>Kureli Sankar</dc:creator>
      <dc:date>2010-12-31T14:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Insert NAT statement in ASA 5520 8.0 code</title>
      <link>https://community.cisco.com/t5/network-security/insert-nat-statement-in-asa-5520-8-0-code/m-p/1597948#M595658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for not explaining the scenario, You got me half correct, Actually the case is as below.. Suppose the existing configuration is as below on the ASA. Now there is a host 192.168.20.20 which is communicating to 10.0.20.20 so it will check the NAT Statements and according to the second NAT statement, the source will get NAT to 172.16.20.1.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;access-list nat-me permit ip host 192.168.10.1 host 10.0.10.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;access-list nat-you permit ip 192.168.20.0 255.255.255.0 10.0.20.0 255.255.255.0&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;static (inside,dmz) 172.16.10.1 access-list nat-me&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;gt;&amp;gt; First line as appearing in the config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;static (inside,dmz) 172.16.20.1 access-list nat-you&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;gt;&amp;gt; Second line appearing in the config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to have this host 192.168.20.20 to get NAT with different IP e.g. 172.16.20.20 and rest of all to NAT to follow the "Nat-you" ACL. Than the new NAT statement would be appended below the existing NAT statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;access-list nat-me permit ip host 192.168.10.1 host 10.0.10.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;access-list nat-you permit ip 192.168.20.0 255.255.255.0 10.0.20.0 255.255.255.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;access-list nat-1 permit ip host 192.168.20.20 host 10.0.20.0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;static (inside,dmz) 172.16.10.1 access-list nat-me&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;gt;&amp;gt; First line as appearing in the config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;static (inside,dmz) 172.16.20.1 access-list nat-you&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;gt;&amp;gt; Second line appearing in the config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;static (inside,dmz) 172.16.20.20 access-list nat-1&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;gt;&amp;gt; Third line apperaring in the config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it seems to me that as per the NAT statements the traffic from 192.168.20.20 to 10.0.20.20 will not get NAT to 172.16.20.20 as it getting matched by the upper NAT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct me if I m wrong.... and if its right.. do we have any workaround for this situation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 06:56:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/insert-nat-statement-in-asa-5520-8-0-code/m-p/1597948#M595658</guid>
      <dc:creator>Hitesh Vinzoda</dc:creator>
      <dc:date>2011-01-03T06:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Insert NAT statement in ASA 5520 8.0 code</title>
      <link>https://community.cisco.com/t5/network-security/insert-nat-statement-in-asa-5520-8-0-code/m-p/1597949#M595659</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;&lt;/P&gt;&lt;P&gt;a workaroutnd would be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;access-list nat-you deny ip host 192.168.20.20 10.0.20.0 255.255.255.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;access-list nat-you permit ip 192.168.20.0 255.255.255.0 10.0.20.0 255.255.255.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 07:03:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/insert-nat-statement-in-asa-5520-8-0-code/m-p/1597949#M595659</guid>
      <dc:creator>Dan-Ciprian Cicioiu</dc:creator>
      <dc:date>2011-01-03T07:03:03Z</dc:date>
    </item>
  </channel>
</rss>

