<?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 8.4 Network Object NAT ordering in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021647#M400661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attempt Number 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heres my test configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;First 2 "object network" configurations define port forwards for connections coming from Internet to the local servers. (HTTPS there just to simulate your other port forwards)&lt;/LI&gt;&lt;LI&gt;The following 2 "object network/service" configurations are configured to be used in the actual NAT configuration that would in your case NAT the outbound TCP/25/SMTP traffic to the desired public IP address&lt;/LI&gt;&lt;LI&gt;The last NAT configuration can be considered a default PAT configuration for all the outbound connections that dont have a specific NAT configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network SMTP-SERVER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 10.10.10.123&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; nat (inside,outside) static 1.2.3.4 service tcp smtp smtp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network HTTPS-SERVER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 10.10.10.124&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; nat (inside,outside) static 1.2.3.4 service tcp https https&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network SMTP-SERVER-PUBLIC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 1.2.3.4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object service SMTP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; service tcp destination eq smtp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nat (inside,outside) source static SMTP-SERVER SMTP-SERVER-PUBLIC service SMTP SMTP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nat (inside,outside) after-auto source dynamic any interface&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you could try your own version of the above. To be honest the actual configuration that does the NAT for outbound SMTP traffic isnt that clear to me either. Should cheat and check the command reference myself. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not 100% sure if the above NAT configuration might conflict with some future configuration in its current form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: If you havent already used, you can use "packet-tracer" command to check whats happening with NAT before and after the configurations. And ofcourse "show xlate" etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2012 10:16:13 GMT</pubDate>
    <dc:creator>Jouni Forss</dc:creator>
    <dc:date>2012-08-20T10:16:13Z</dc:date>
    <item>
      <title>ASA 8.4 Network Object NAT ordering</title>
      <link>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021641#M400655</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is something wrong with the ordering of our NAT-rules.&lt;/P&gt;&lt;P&gt;We are running ASA Version 8.4(2)8 and the nat config is pasted below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want outgoing smtp-traffic to be translated to xxx.yyy.zzz.18, but instead it's translated to xxx.yyy.zzz.20 (the outside-interface address).&lt;/P&gt;&lt;P&gt;The same goes for ftp-traffic, according to packettracer this is also translated to the xxx.yyy.zzz.20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciscos manual states that static nat rules takes precedence over dynamic nat but that doesn't seem to work for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you guy's see anything wrong with the config below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nat (Outside,Inside) source static Company-VPN Company-VPN&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;object network Company-LAN&lt;/P&gt;&lt;P&gt;nat (any,Outside) dynamic interface&lt;/P&gt;&lt;P&gt;object network Server21&lt;/P&gt;&lt;P&gt;nat (any,any) static Outsidexxx.yyy.zzz-18 service tcp ftp ftp &lt;/P&gt;&lt;P&gt;object network Server55443&lt;/P&gt;&lt;P&gt;nat (any,any) static Outsidexxx.yyy.zzz-18 service tcp 55443 55443 &lt;/P&gt;&lt;P&gt;object network Server443&lt;/P&gt;&lt;P&gt;nat (any,any) static Outsidexxx.yyy.zzz-18 service tcp https https &lt;/P&gt;&lt;P&gt;object network Server993&lt;/P&gt;&lt;P&gt;nat (any,any) static Outsidexxx.yyy.zzz-18 service tcp 993 993 &lt;/P&gt;&lt;P&gt;object network Server465&lt;/P&gt;&lt;P&gt;nat (any,any) static Outsidexxx.yyy.zzz-18 service tcp 465 465 &lt;/P&gt;&lt;P&gt;object network Server80&lt;/P&gt;&lt;P&gt;nat (any,any) static Outsidexxx.yyy.zzz-18 service tcp www www &lt;/P&gt;&lt;P&gt;object network Company-LAN-Inside&lt;/P&gt;&lt;P&gt;nat (Inside,Inside) dynamic interface&lt;/P&gt;&lt;P&gt;object network Server25&lt;/P&gt;&lt;P&gt;nat (any,any) static Outsidexxx.yyy.zzz-18 service tcp smtp smtp &lt;/P&gt;&lt;P&gt;route Outside 0.0.0.0 0.0.0.0 xxx.yyy.zzz.17 1&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 23:43:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021641#M400655</guid>
      <dc:creator>fredrik.lundqvist</dc:creator>
      <dc:date>2019-03-11T23:43:50Z</dc:date>
    </item>
    <item>
      <title>ASA 8.4 Network Object NAT ordering</title>
      <link>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021642#M400656</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;Think your NAT configuration regarding SMTP only applies to the connections taken from outside with destination port TCP/25 and not to connections taken by the SMTP server with destination port TCP/25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haven't had to do much of these configurations. I guess with the old OS NAT commands it would be easier (Policy NAT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can try to lab this later and provide the correct configuration. Unless someone else can already copy/paste some example for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 08:20:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021642#M400656</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2012-08-20T08:20:36Z</dc:date>
    </item>
    <item>
      <title>ASA 8.4 Network Object NAT ordering</title>
      <link>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021643#M400657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought (any,any) would handle connections from both outside and inside interface.&lt;/P&gt;&lt;P&gt;How would a network object NAT that handles traffic both ways look?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 08:59:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021643#M400657</guid>
      <dc:creator>fredrik.lundqvist</dc:creator>
      <dc:date>2012-08-20T08:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 8.4 Network Object NAT ordering</title>
      <link>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021644#M400658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gah, too tired. Will write the reply again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: removed the actual answer since there was errors there&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 09:09:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021644#M400658</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2012-08-20T09:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 8.4 Network Object NAT ordering</title>
      <link>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021645#M400659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So lets look at this again. &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;I guess you have a .20 IP address on the firewall outside interface and the .18 IP address as an additional IP address and you have used port forwarding to forward ports to different LAN IP addresses? In other words the SMTP server doesnt have its own public IP address?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 09:22:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021645#M400659</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2012-08-20T09:22:20Z</dc:date>
    </item>
    <item>
      <title>ASA 8.4 Network Object NAT ordering</title>
      <link>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021646#M400660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; That's correct, the SMTP-server does not have it's own public IP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 09:45:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021646#M400660</guid>
      <dc:creator>fredrik.lundqvist</dc:creator>
      <dc:date>2012-08-20T09:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 8.4 Network Object NAT ordering</title>
      <link>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021647#M400661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attempt Number 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heres my test configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;First 2 "object network" configurations define port forwards for connections coming from Internet to the local servers. (HTTPS there just to simulate your other port forwards)&lt;/LI&gt;&lt;LI&gt;The following 2 "object network/service" configurations are configured to be used in the actual NAT configuration that would in your case NAT the outbound TCP/25/SMTP traffic to the desired public IP address&lt;/LI&gt;&lt;LI&gt;The last NAT configuration can be considered a default PAT configuration for all the outbound connections that dont have a specific NAT configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network SMTP-SERVER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 10.10.10.123&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; nat (inside,outside) static 1.2.3.4 service tcp smtp smtp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network HTTPS-SERVER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 10.10.10.124&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; nat (inside,outside) static 1.2.3.4 service tcp https https&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network SMTP-SERVER-PUBLIC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 1.2.3.4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object service SMTP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; service tcp destination eq smtp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nat (inside,outside) source static SMTP-SERVER SMTP-SERVER-PUBLIC service SMTP SMTP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nat (inside,outside) after-auto source dynamic any interface&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you could try your own version of the above. To be honest the actual configuration that does the NAT for outbound SMTP traffic isnt that clear to me either. Should cheat and check the command reference myself. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not 100% sure if the above NAT configuration might conflict with some future configuration in its current form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: If you havent already used, you can use "packet-tracer" command to check whats happening with NAT before and after the configurations. And ofcourse "show xlate" etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 10:16:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021647#M400661</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2012-08-20T10:16:13Z</dc:date>
    </item>
    <item>
      <title>ASA 8.4 Network Object NAT ordering</title>
      <link>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021648#M400662</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;Were you able to test this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 12:03:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-8-4-network-object-nat-ordering/m-p/2021648#M400662</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2012-08-20T12:03:52Z</dc:date>
    </item>
  </channel>
</rss>

