<?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 Strange after-auto nat behaviour when using  &amp;quot;any&amp;quot; as source in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/strange-after-auto-nat-behaviour-when-using-quot-any-quot-as/m-p/4417830#M1081531</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was working on an issue a customer of mine had with NAT. The customer decided to tunnel all remote VPN and have the traffic u-turn on the outside interface. I created a nat (outside,outside) rule for this like I've done many times before for customers that want this feature. However, the VPN users couldn't reach Internet&amp;nbsp; after we enabled the tunnel all policy. After some troubleshooting with packet-tracer, I saw that the following nat rule was hit at the end on phase 9 and caused the issue -&lt;/P&gt;&lt;P&gt;nat (any,outside) after-auto source dynamic any interface. The output from packet-tracer looked like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Phase: 9&lt;BR /&gt;Type: NAT&lt;BR /&gt;Subtype: rpf-check&lt;BR /&gt;Result: DROP&lt;BR /&gt;Config:&lt;BR /&gt;nat (any,outside) after-auto source dynamic any interface&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The solution was to either change&amp;nbsp;(any,outside) to specific source interfaces or to change the source to something else than any, like&amp;nbsp;nat (any,outside) after-auto source dynamic RFC1918 interface&lt;/P&gt;&lt;P&gt;After changing to the above nat rule, the packet-tracer still hit the after-auto rule, but this time it's allowed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Phase: 9&lt;BR /&gt;Type: NAT&lt;BR /&gt;Subtype: rpf-check&lt;BR /&gt;Result: ALLOW&lt;BR /&gt;Config:&lt;BR /&gt;nat (any,outside) after-auto source dynamic RFC1918 interface&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea on why this happen? Does the "any" perhaps match on both ingress and egress traffic?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;/Chess&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jun 2021 13:23:53 GMT</pubDate>
    <dc:creator>Chess Norris</dc:creator>
    <dc:date>2021-06-14T13:23:53Z</dc:date>
    <item>
      <title>Strange after-auto nat behaviour when using  "any" as source</title>
      <link>https://community.cisco.com/t5/network-security/strange-after-auto-nat-behaviour-when-using-quot-any-quot-as/m-p/4417830#M1081531</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was working on an issue a customer of mine had with NAT. The customer decided to tunnel all remote VPN and have the traffic u-turn on the outside interface. I created a nat (outside,outside) rule for this like I've done many times before for customers that want this feature. However, the VPN users couldn't reach Internet&amp;nbsp; after we enabled the tunnel all policy. After some troubleshooting with packet-tracer, I saw that the following nat rule was hit at the end on phase 9 and caused the issue -&lt;/P&gt;&lt;P&gt;nat (any,outside) after-auto source dynamic any interface. The output from packet-tracer looked like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Phase: 9&lt;BR /&gt;Type: NAT&lt;BR /&gt;Subtype: rpf-check&lt;BR /&gt;Result: DROP&lt;BR /&gt;Config:&lt;BR /&gt;nat (any,outside) after-auto source dynamic any interface&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The solution was to either change&amp;nbsp;(any,outside) to specific source interfaces or to change the source to something else than any, like&amp;nbsp;nat (any,outside) after-auto source dynamic RFC1918 interface&lt;/P&gt;&lt;P&gt;After changing to the above nat rule, the packet-tracer still hit the after-auto rule, but this time it's allowed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Phase: 9&lt;BR /&gt;Type: NAT&lt;BR /&gt;Subtype: rpf-check&lt;BR /&gt;Result: ALLOW&lt;BR /&gt;Config:&lt;BR /&gt;nat (any,outside) after-auto source dynamic RFC1918 interface&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea on why this happen? Does the "any" perhaps match on both ingress and egress traffic?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;/Chess&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 13:23:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/strange-after-auto-nat-behaviour-when-using-quot-any-quot-as/m-p/4417830#M1081531</guid>
      <dc:creator>Chess Norris</dc:creator>
      <dc:date>2021-06-14T13:23:53Z</dc:date>
    </item>
  </channel>
</rss>

