<?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: ASA outbound policy NAT not working in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-outbound-policy-nat-not-working/m-p/1529364#M608078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Outbound connections from this smtp server will never be sourced from port 25 but, will be sourced from any high port. What you have is static PAT which is only for incoming connections from the internet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you want this server to look like &lt;EM&gt; 1.1.1.67 even for outbound then you need to add these lines:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nat (inside) 100 &lt;SPAN&gt;&lt;STRONG&gt;10.0.10.2 255.255.255.255&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;global (outside) 100 &lt;EM&gt; 1.1.1.67&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use some nat ID that is not used. I just came up with 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-KS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Oct 2010 14:40:56 GMT</pubDate>
    <dc:creator>Kureli Sankar</dc:creator>
    <dc:date>2010-10-27T14:40:56Z</dc:date>
    <item>
      <title>ASA outbound policy NAT not working</title>
      <link>https://community.cisco.com/t5/network-security/asa-outbound-policy-nat-not-working/m-p/1529363#M608077</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble with how traffic from my LAN is being nat'd by my ASA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a basic network diagram - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inbound smtp traffic to 1.1.1.67 is translated to 10.0.10.2 (email server, on the inside interface)&lt;/P&gt;&lt;P&gt;inbound http and https traffic to 1.1.167 is translated to 10.10.10.2 (web serevr, on the DMZ interface)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These config I've used for this is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;static (inside,outside) tcp 1.1.1.67 smtp 10.0.10.2 smtp netmask 255.255.255.255 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;static (DMZ,outside) tcp 1.1.1.67 https 10.10.10.2 https netmask 255.255.255.255 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;static (DMZ,outside) tcp 1.1.1.67 www 10.10.10.2 www netmask 255.255.255.255 &lt;/EM&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has been tested and is working correctly.&lt;/P&gt;&lt;P&gt;The problem I have is that outbound traffic sourced from the email server (10.0.10.2) is not being nat'd to 1.1.1.67 ... it is being nat'd to 1.1.1.66 (the outside interface of the ASA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I do a packet-tracer (smtp traffic from 10.0.10.2 to external email server), I see two different phases for nat :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phase: 5&lt;/P&gt;&lt;P&gt;Type: NAT&lt;/P&gt;&lt;P&gt;Subtype: host-limits&lt;/P&gt;&lt;P&gt;Result: ALLOW&lt;/P&gt;&lt;P&gt;Config:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;static (inside,outside) tcp 1.1.1.67 smtp 10.0.10.2 smtp netmask 255.255.255.255&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; match tcp inside host 10.0.0.2 eq 25 inside any&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; static translation to 1.1.1.67/25&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; translate_hits = 236, untranslate_hits = 13682&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Additional Information:&lt;/P&gt;&lt;P&gt; Forward Flow based lookup yields rule:&lt;/P&gt;&lt;P&gt; in&amp;nbsp; id=0xaccaf6d0, priority=5, domain=host, deny=false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hits=68278, user_data=0xaccaead0, cs_id=0x0, reverse, flags=0x0, protocol=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;src ip=10.0.10.2, mask=255.255.255.255, port=0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dst ip=0.0.0.0, mask=0.0.0.0, port=0, dscp=0x0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phase: 6&lt;/P&gt;&lt;P&gt;Type: NAT&lt;/P&gt;&lt;P&gt;Subtype: &lt;/P&gt;&lt;P&gt;Result: ALLOW&lt;/P&gt;&lt;P&gt;Config:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nat (inside) 7 access-list dyn-nat-25-inside-acl&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; match ip inside net10.0.10.0-24_VLAN10 255.255.255.0 oustide any&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dynamic translation to pool 7 (1.1.1.66 [Interface PAT])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; translate_hits = 25389, untranslate_hits = 168&lt;/P&gt;&lt;P&gt;Additional Information:&lt;/P&gt;&lt;P&gt;Dynamic translate 10.0.10.2/2525 to 1.1.1.66/10070 using netmask 255.255.255.255&lt;/P&gt;&lt;P&gt; Forward Flow based lookup yields rule:&lt;/P&gt;&lt;P&gt; in&amp;nbsp; id=0xacc82fd0, priority=2, domain=nat, deny=false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hits=25389, user_data=0xacc82f10, cs_id=0x0, flags=0x0, protocol=0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; src ip=&lt;/STRONG&gt;&lt;STRONG&gt;net10.0.10.0-24_VLAN10&lt;/STRONG&gt;&lt;STRONG&gt;, mask=255.255.255&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phase 5 appears to match the nat statement that I want (ie translates&amp;nbsp; smtp traffic from 10.0.10.2 to 1.1.1.67), but phase 6 then seems to contradict this, matching instead a general nat rule which translates all outbound traffic to the asa's outside interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain why this is happening?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 19:00:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-outbound-policy-nat-not-working/m-p/1529363#M608077</guid>
      <dc:creator>darragh long</dc:creator>
      <dc:date>2019-03-11T19:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: ASA outbound policy NAT not working</title>
      <link>https://community.cisco.com/t5/network-security/asa-outbound-policy-nat-not-working/m-p/1529364#M608078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Outbound connections from this smtp server will never be sourced from port 25 but, will be sourced from any high port. What you have is static PAT which is only for incoming connections from the internet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you want this server to look like &lt;EM&gt; 1.1.1.67 even for outbound then you need to add these lines:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nat (inside) 100 &lt;SPAN&gt;&lt;STRONG&gt;10.0.10.2 255.255.255.255&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;global (outside) 100 &lt;EM&gt; 1.1.1.67&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use some nat ID that is not used. I just came up with 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-KS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 14:40:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-outbound-policy-nat-not-working/m-p/1529364#M608078</guid>
      <dc:creator>Kureli Sankar</dc:creator>
      <dc:date>2010-10-27T14:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: ASA outbound policy NAT not working</title>
      <link>https://community.cisco.com/t5/network-security/asa-outbound-policy-nat-not-working/m-p/1529365#M608079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks KS - that worked perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 10:03:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-outbound-policy-nat-not-working/m-p/1529365#M608079</guid>
      <dc:creator>darragh long</dc:creator>
      <dc:date>2010-11-02T10:03:42Z</dc:date>
    </item>
  </channel>
</rss>

