<?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 After Auto-Nat Question in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/after-auto-nat-question/m-p/2321887#M310528</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;I gather that you know that&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;There are Sections 1 - 3 for NAT configurations&lt;/LI&gt;&lt;LI&gt;Manual NAT by default is Section 1&lt;/LI&gt;&lt;LI&gt;Auto NAT is always Section 2&lt;/LI&gt;&lt;LI&gt;Manual NAT with &lt;STRONG&gt;"after-auto"&lt;/STRONG&gt; is Section 3&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be honest I have not read completely what Ciscos intentions was with all these sections but I have partially used the Sections to separate different types of NAT even though I could use pretty much any Section for some type of NAT configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards to Section 3 Manual NAT (after-auto), I tend to use it for the basic Dynamic PAT configurations to which users should fall if they have absolutely no other NAT configuration that applies to them. It seems to me to be a natural place where to place these type of NAT configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section 2 Auto NAT I personally use for Static NAT and Static PAT purposes only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section 1 Manual NAT I use for NAT0 / NAT Exempt type NAT configurations or any special type of NAT configurations that you could consider Policy NAT/PAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With utilizing each Section of the new NAT format I find that configuring the ASA through CLI is a lot easier and clearer when you have set a purpose for each Section and utilize all of them. Instead of following what I have mentioned above, you might be using only Section 1 Manual NAT and end up with a long continuous list of NAT configuration of which purpose you know nothing about on first glance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as you have said yourself, you can do the same NAT configuration in multiple different ways and achieve the same things. I just find dividing certain type of NAT configurations to their own sections the best solution to keep the configuration both clear and avoid situations where NAT rules order inside one Section becomes too much of a chore to handle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a document about the new NAT configuration format here on the CSC if you want to take a look. I have still to add a lot more to it. As I have said multiple times to others, I am just waiting for the next time to get some inspiration &lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/4.5.4/images/emoticons/silly.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" href="https://community.cisco.com/docs/DOC-31116"&gt;https://supportforums.cisco.com/docs/DOC-31116&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/4.5.4/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do remember to mark a reply as the correct answer if it answered your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naturally feel free to ask more if needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 20:04:34 GMT</pubDate>
    <dc:creator>Jouni Forss</dc:creator>
    <dc:date>2013-10-22T20:04:34Z</dc:date>
    <item>
      <title>After Auto-Nat Question</title>
      <link>https://community.cisco.com/t5/network-security/after-auto-nat-question/m-p/2321886#M310525</link>
      <description>&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi Guys,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Just a question on after auto-nat as I do not get its purpose. What is the purpose of that line if its format is just the same as manual nat?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;If I have a configuration like this;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;object network spoke_site_a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt; subnet 192.168.0.0 255.255.255.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;nat (inside,outside) source static any any destination static spoke_site_a spoke_site_a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;From what I read, the configuration I did above is called manual nat. Assuming all inside hosts are within 10.0.0.0/8 network, if the destination is 192.168.0.0/24, no translation will take place. I think this is something like nat (inside) 0 acl123 prior to 8.3 and can be useful for VPN setup.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;But if I do something like this next; I read this one is called object nat&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;object network inside_net&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt; subnet 10.0.0.0 255.0.0.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt; nat (inside,outside) dynamic interface&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;All traffic from 10.0.0.0/8 network will be translated to the outside interface IP address. Let's say this is towards the internet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;But isn't it the same if I configure something like this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;nat (inside,outside) after-auto source dynamic any interface&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I can also put this below the first manual NAT and achieve the same result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;nat (inside,outside) 2 source dynamic any interface&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;It appeared to me that object nat is the method to use if you are not to think of the destination network but if you just want to do a translation base on the source subnet/network plus the exit interface of the firewall. And it would of course be easier to add entries in manual nat without having to worry on the sequence number.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;If that's the case then what's a good reason to use after-auto command?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;John&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 02:54:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/after-auto-nat-question/m-p/2321886#M310525</guid>
      <dc:creator>jpl861</dc:creator>
      <dc:date>2019-03-12T02:54:54Z</dc:date>
    </item>
    <item>
      <title>After Auto-Nat Question</title>
      <link>https://community.cisco.com/t5/network-security/after-auto-nat-question/m-p/2321887#M310528</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;I gather that you know that&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;There are Sections 1 - 3 for NAT configurations&lt;/LI&gt;&lt;LI&gt;Manual NAT by default is Section 1&lt;/LI&gt;&lt;LI&gt;Auto NAT is always Section 2&lt;/LI&gt;&lt;LI&gt;Manual NAT with &lt;STRONG&gt;"after-auto"&lt;/STRONG&gt; is Section 3&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be honest I have not read completely what Ciscos intentions was with all these sections but I have partially used the Sections to separate different types of NAT even though I could use pretty much any Section for some type of NAT configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards to Section 3 Manual NAT (after-auto), I tend to use it for the basic Dynamic PAT configurations to which users should fall if they have absolutely no other NAT configuration that applies to them. It seems to me to be a natural place where to place these type of NAT configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section 2 Auto NAT I personally use for Static NAT and Static PAT purposes only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section 1 Manual NAT I use for NAT0 / NAT Exempt type NAT configurations or any special type of NAT configurations that you could consider Policy NAT/PAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With utilizing each Section of the new NAT format I find that configuring the ASA through CLI is a lot easier and clearer when you have set a purpose for each Section and utilize all of them. Instead of following what I have mentioned above, you might be using only Section 1 Manual NAT and end up with a long continuous list of NAT configuration of which purpose you know nothing about on first glance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as you have said yourself, you can do the same NAT configuration in multiple different ways and achieve the same things. I just find dividing certain type of NAT configurations to their own sections the best solution to keep the configuration both clear and avoid situations where NAT rules order inside one Section becomes too much of a chore to handle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a document about the new NAT configuration format here on the CSC if you want to take a look. I have still to add a lot more to it. As I have said multiple times to others, I am just waiting for the next time to get some inspiration &lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/4.5.4/images/emoticons/silly.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" href="https://community.cisco.com/docs/DOC-31116"&gt;https://supportforums.cisco.com/docs/DOC-31116&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/4.5.4/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do remember to mark a reply as the correct answer if it answered your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naturally feel free to ask more if needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 20:04:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/after-auto-nat-question/m-p/2321887#M310528</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-10-22T20:04:34Z</dc:date>
    </item>
  </channel>
</rss>

