<?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: is this a violation of NAT rule? in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/is-this-a-violation-of-nat-rule/m-p/3820873#M30533</link>
    <description>&lt;P&gt;In your configuration there is an object named NAT with IP range and NAT definition:&lt;BR /&gt;&lt;BR /&gt;object network NAT&lt;BR /&gt;nat (INSIDE,OUTSIDE) dynamic NAT+PAT&lt;BR /&gt;&lt;BR /&gt;object network NAT&lt;BR /&gt;range 10.10.0.1 10.10.0.5&lt;BR /&gt;&lt;BR /&gt;object-group network NAT+PAT&lt;BR /&gt;network-object object NAT-POOL&lt;BR /&gt;network-object object PAT-POOL&lt;BR /&gt;&lt;BR /&gt;'show nat' shows that there is an auto-NAT rule that translates whatever is configured in object named NAT to whatever configured in object-group named NAT+PAT.&lt;BR /&gt;&lt;BR /&gt;Auto NAT Policies (Section 2)&lt;BR /&gt;1 (INSIDE) to (OUTSIDE) source dynamic NAT NAT+PAT &lt;BR /&gt;translate_hits = 10, untranslate_hits = 0&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2019 08:20:51 GMT</pubDate>
    <dc:creator>Ilkin</dc:creator>
    <dc:date>2019-03-20T08:20:51Z</dc:date>
    <item>
      <title>is this a violation of NAT rule?</title>
      <link>https://community.cisco.com/t5/network-security/is-this-a-violation-of-nat-rule/m-p/3820787#M30527</link>
      <description>&lt;P&gt;According to NAT section rule section 2 should be processed before section 3. In my test LAB the section 3 get processed. In other words Twice-NAT (after-auto) get processed. Expected is section 2 object NAT + PAT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ASA-NAT-TEST.JPG" style="width: 402px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/32064i5F4743C896C1FF65/image-dimensions/402x217?v=v2" width="402" height="217" role="button" title="ASA-NAT-TEST.JPG" alt="ASA-NAT-TEST.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two rules&lt;/P&gt;
&lt;P&gt;1) Object NAT dynamic NAT+PAT(fallback)&lt;/P&gt;
&lt;P&gt;2)Twice NAT after auto static source NAT&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;ciscoasa(config)# sh nat&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Auto NAT Policies (Section 2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;1 (INSIDE) to (OUTSIDE) source dynamic NAT NAT+PAT &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;translate_hits = 10, untranslate_hits = 0&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Manual NAT Policies (Section 3)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;1 (INSIDE) to (OUTSIDE) source static 10.10.0.10 192.168.31.210 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;translate_hits = 15, untranslate_hits = 15&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;ciscoasa(config)#&lt;BR /&gt;!&lt;BR /&gt;ciscoasa(config)# sh run nat&lt;BR /&gt;!&lt;BR /&gt;object network NAT&lt;BR /&gt;nat (INSIDE,OUTSIDE) dynamic NAT+PAT&lt;BR /&gt;!&lt;BR /&gt;nat (INSIDE,OUTSIDE) after-auto source static 10.10.0.10 192.168.31.210&lt;BR /&gt;ciscoasa(config)# &lt;BR /&gt;ciscoasa(config)# sh run object-group network&lt;BR /&gt;object-group network NAT+PAT&lt;BR /&gt;network-object object NAT-POOL&lt;BR /&gt;network-object object PAT-POOL&lt;BR /&gt;!&lt;BR /&gt;ciscoasa(config)# sh run object network&lt;BR /&gt;object network NAT&lt;BR /&gt;range 10.10.0.1 10.10.0.5&lt;BR /&gt;object network NAT-POOL&lt;BR /&gt;range 192.168.31.100 192.168.31.101&lt;BR /&gt;object network PAT-POOL&lt;BR /&gt;host 192.168.31.200&lt;BR /&gt;object network 10.10.0.10&lt;BR /&gt;host 10.10.0.10&lt;BR /&gt;object network 192.168.31.210&lt;BR /&gt;host 192.168.31.210&lt;BR /&gt;ciscoasa(config)# &lt;BR /&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;Test:&lt;/P&gt;
&lt;P&gt;INSIDE#ping 8.8.8.8 so 10.10.0.10 repeat 1&lt;BR /&gt;Type escape sequence to abort.&lt;BR /&gt;Sending 1, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:&lt;BR /&gt;Packet sent with a source address of 10.10.0.10 &lt;BR /&gt;!&lt;BR /&gt;Success rate is 100 percent (1/1), round-trip min/avg/max = 56/56/56 ms&lt;BR /&gt;INSIDE#&lt;/P&gt;
&lt;P&gt;=================&lt;/P&gt;
&lt;P&gt;OUTSIDE#&lt;BR /&gt;*Mar 17 09:57:08.767: IP: &lt;FONT color="#FF0000"&gt;s=192.168.31.210&lt;/FONT&gt; (Ethernet1/0), d=8.8.8.8, len 100, input feature, MCI Check(92), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSE&lt;BR /&gt;*Mar 17 09:57:08.771: IP: s=192.168.31.210 (Ethernet1/0), d=8.8.8.8, len 100, rcvd 2&lt;/P&gt;
&lt;P&gt;=================&lt;/P&gt;
&lt;P&gt;There is no NAT or PAT as a result of section 2 NAT rule&lt;/P&gt;
&lt;P&gt;ciscoasa(config)# show xlate&lt;BR /&gt;2 in use, 5 most used&lt;BR /&gt;Flags: D - DNS, e - extended, I - identity, i - dynamic, r - portmap,&lt;BR /&gt;s - static, T - twice, N - net-to-net&lt;BR /&gt;NAT from INSIDE:10.10.0.10 to OUTSIDE:192.168.31.210&lt;BR /&gt;flags sT idle 0:03:30 timeout 0:00:00&lt;BR /&gt;NAT from OUTSIDE:0.0.0.0/0 to INSIDE:0.0.0.0/0&lt;BR /&gt;flags sIT idle 1:08:36 timeout 0:00:00&lt;/P&gt;
&lt;P&gt;ciscoasa(config)#&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 08:26:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/is-this-a-violation-of-nat-rule/m-p/3820787#M30527</guid>
      <dc:creator>Hirak Debnath</dc:creator>
      <dc:date>2019-03-17T08:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: is this a violation of NAT rule?</title>
      <link>https://community.cisco.com/t5/network-security/is-this-a-violation-of-nat-rule/m-p/3820830#M30529</link>
      <description>&lt;P&gt;The source of the ping is&amp;nbsp;&lt;SPAN&gt;10.10.0.10, which is not included in&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;object network NAT&lt;BR /&gt;range 10.10.0.1 10.10.0.5&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;For this reason auto-nat will not be used.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 10:21:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/is-this-a-violation-of-nat-rule/m-p/3820830#M30529</guid>
      <dc:creator>Ilkin</dc:creator>
      <dc:date>2019-03-17T10:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: is this a violation of NAT rule?</title>
      <link>https://community.cisco.com/t5/network-security/is-this-a-violation-of-nat-rule/m-p/3820861#M30531</link>
      <description>"object network NAT" is not used anywhere in the current configuration. It is residue of previous configuration</description>
      <pubDate>Sun, 17 Mar 2019 12:01:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/is-this-a-violation-of-nat-rule/m-p/3820861#M30531</guid>
      <dc:creator>Hirak Debnath</dc:creator>
      <dc:date>2019-03-17T12:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: is this a violation of NAT rule?</title>
      <link>https://community.cisco.com/t5/network-security/is-this-a-violation-of-nat-rule/m-p/3820873#M30533</link>
      <description>&lt;P&gt;In your configuration there is an object named NAT with IP range and NAT definition:&lt;BR /&gt;&lt;BR /&gt;object network NAT&lt;BR /&gt;nat (INSIDE,OUTSIDE) dynamic NAT+PAT&lt;BR /&gt;&lt;BR /&gt;object network NAT&lt;BR /&gt;range 10.10.0.1 10.10.0.5&lt;BR /&gt;&lt;BR /&gt;object-group network NAT+PAT&lt;BR /&gt;network-object object NAT-POOL&lt;BR /&gt;network-object object PAT-POOL&lt;BR /&gt;&lt;BR /&gt;'show nat' shows that there is an auto-NAT rule that translates whatever is configured in object named NAT to whatever configured in object-group named NAT+PAT.&lt;BR /&gt;&lt;BR /&gt;Auto NAT Policies (Section 2)&lt;BR /&gt;1 (INSIDE) to (OUTSIDE) source dynamic NAT NAT+PAT &lt;BR /&gt;translate_hits = 10, untranslate_hits = 0&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 08:20:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/is-this-a-violation-of-nat-rule/m-p/3820873#M30533</guid>
      <dc:creator>Ilkin</dc:creator>
      <dc:date>2019-03-20T08:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: is this a violation of NAT rule?</title>
      <link>https://community.cisco.com/t5/network-security/is-this-a-violation-of-nat-rule/m-p/3821968#M30534</link>
      <description>&lt;P&gt;sorry you are right&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 13:04:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/is-this-a-violation-of-nat-rule/m-p/3821968#M30534</guid>
      <dc:creator>Hirak Debnath</dc:creator>
      <dc:date>2019-03-19T13:04:04Z</dc:date>
    </item>
  </channel>
</rss>

