<?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 ASA 5505 Problem with Static NAT in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-5505-problem-with-static-nat/m-p/1316464#M786732</link>
    <description>&lt;P&gt;A client of mine has been assigned six usable IP addresses.  The outside interface on the ASA 5505 has an address of 70.43.230.18 (third octet changed for security reasons on all outside IP addresses).  That address is used as a dynamic NAT for outgoing traffic from the internal 192.168.2.0/24 network.  There is a static NAT for the email server - 70.43.230.20.  Incoming email uses that IP address successfully, but outgoing email does not translate to that address.  Below is the pertinent part of the ASA 5505 configuration.  I ran a packet trace and found that there are two translations taking place.  First the correct translation for outgoing email traffic from the Microsoft Exchange server takes place - 192.168.2.10 eq 25 to 70.43.230.20 eq 25.  Then the packet traverses the first static NAT in the list - example 192.168.2.10 eq 4125 70.43.230.18 eq 4125 for a second translation.  The second translation IP address is what the receiving email server sees.  The problem we are having is receiving servers cannot do a successful reverse lookup of mail. Mycompany.com, so they reject the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has any ideas, I sure would be grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASA Version 7.2(2) &lt;/P&gt;&lt;P&gt;names&lt;/P&gt;&lt;P&gt;name 70.43.230.22 RDP description Remote Desktop Connection&lt;/P&gt;&lt;P&gt;name 70.43.230.20 Mail description NAT to internal email&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Vlan1&lt;/P&gt;&lt;P&gt; nameif inside&lt;/P&gt;&lt;P&gt;  ip address 192.168.2.1 255.255.255.0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Vlan2&lt;/P&gt;&lt;P&gt; nameif outside&lt;/P&gt;&lt;P&gt;  ip address 70.43.230.18 255.255.255.248 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any host Mail eq smtp &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any interface outside eq www inactive &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any interface outside eq ssh &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any host Mail eq https &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any host RDP eq 3389 &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any interface outside eq 4125 &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any interface outside eq 444 &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit tcp host 192.168.2.10 any eq smtp &lt;/P&gt;&lt;P&gt;access-list inside_out extended deny tcp any any eq smtp log &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit ip any any &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit tcp any any &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit udp any any &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit gre any any &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit icmp any any &lt;/P&gt;&lt;P&gt;global (outside) 1 interface&lt;/P&gt;&lt;P&gt;nat (inside) 0 access-list inside_nat0_outbound&lt;/P&gt;&lt;P&gt;nat (inside) 1 0.0.0.0 0.0.0.0&lt;/P&gt;&lt;P&gt;static (inside,outside) tcp interface 4125 192.168.2.10 4125 netmask 255.255.255.255 &lt;/P&gt;&lt;P&gt;static (inside,outside) tcp RDP 3389 192.168.2.10 3389 netmask 255.255.255.255 &lt;/P&gt;&lt;P&gt;static (inside,outside) tcp Mail smtp 192.168.2.10 smtp netmask 255.255.255.255 &lt;/P&gt;&lt;P&gt;access-group inside_out in interface inside&lt;/P&gt;&lt;P&gt;access-group outside_in in interface outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 16:32:21 GMT</pubDate>
    <dc:creator>TXLombardi</dc:creator>
    <dc:date>2019-03-11T16:32:21Z</dc:date>
    <item>
      <title>ASA 5505 Problem with Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/asa-5505-problem-with-static-nat/m-p/1316464#M786732</link>
      <description>&lt;P&gt;A client of mine has been assigned six usable IP addresses.  The outside interface on the ASA 5505 has an address of 70.43.230.18 (third octet changed for security reasons on all outside IP addresses).  That address is used as a dynamic NAT for outgoing traffic from the internal 192.168.2.0/24 network.  There is a static NAT for the email server - 70.43.230.20.  Incoming email uses that IP address successfully, but outgoing email does not translate to that address.  Below is the pertinent part of the ASA 5505 configuration.  I ran a packet trace and found that there are two translations taking place.  First the correct translation for outgoing email traffic from the Microsoft Exchange server takes place - 192.168.2.10 eq 25 to 70.43.230.20 eq 25.  Then the packet traverses the first static NAT in the list - example 192.168.2.10 eq 4125 70.43.230.18 eq 4125 for a second translation.  The second translation IP address is what the receiving email server sees.  The problem we are having is receiving servers cannot do a successful reverse lookup of mail. Mycompany.com, so they reject the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has any ideas, I sure would be grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASA Version 7.2(2) &lt;/P&gt;&lt;P&gt;names&lt;/P&gt;&lt;P&gt;name 70.43.230.22 RDP description Remote Desktop Connection&lt;/P&gt;&lt;P&gt;name 70.43.230.20 Mail description NAT to internal email&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Vlan1&lt;/P&gt;&lt;P&gt; nameif inside&lt;/P&gt;&lt;P&gt;  ip address 192.168.2.1 255.255.255.0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Vlan2&lt;/P&gt;&lt;P&gt; nameif outside&lt;/P&gt;&lt;P&gt;  ip address 70.43.230.18 255.255.255.248 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any host Mail eq smtp &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any interface outside eq www inactive &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any interface outside eq ssh &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any host Mail eq https &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any host RDP eq 3389 &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any interface outside eq 4125 &lt;/P&gt;&lt;P&gt;access-list outside_in extended permit tcp any interface outside eq 444 &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit tcp host 192.168.2.10 any eq smtp &lt;/P&gt;&lt;P&gt;access-list inside_out extended deny tcp any any eq smtp log &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit ip any any &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit tcp any any &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit udp any any &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit gre any any &lt;/P&gt;&lt;P&gt;access-list inside_out extended permit icmp any any &lt;/P&gt;&lt;P&gt;global (outside) 1 interface&lt;/P&gt;&lt;P&gt;nat (inside) 0 access-list inside_nat0_outbound&lt;/P&gt;&lt;P&gt;nat (inside) 1 0.0.0.0 0.0.0.0&lt;/P&gt;&lt;P&gt;static (inside,outside) tcp interface 4125 192.168.2.10 4125 netmask 255.255.255.255 &lt;/P&gt;&lt;P&gt;static (inside,outside) tcp RDP 3389 192.168.2.10 3389 netmask 255.255.255.255 &lt;/P&gt;&lt;P&gt;static (inside,outside) tcp Mail smtp 192.168.2.10 smtp netmask 255.255.255.255 &lt;/P&gt;&lt;P&gt;access-group inside_out in interface inside&lt;/P&gt;&lt;P&gt;access-group outside_in in interface outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 16:32:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5505-problem-with-static-nat/m-p/1316464#M786732</guid>
      <dc:creator>TXLombardi</dc:creator>
      <dc:date>2019-03-11T16:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5505 Problem with Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/asa-5505-problem-with-static-nat/m-p/1316465#M786736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls. add the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nat (inside) 2 192.168.2.10 255.255.255.255&lt;/P&gt;&lt;P&gt;global (outisde) 2 70.43.230.20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;issue &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear local 192.168.2.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You e-mail server will start sending e-mails out looking like 70.43.230.20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 03:41:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5505-problem-with-static-nat/m-p/1316465#M786736</guid>
      <dc:creator>Kureli Sankar</dc:creator>
      <dc:date>2009-10-28T03:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5505 Problem with Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/asa-5505-problem-with-static-nat/m-p/1316466#M786748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help.  Yes, that worked.  I had actually done that before, but the outgoing NAT was still translating to the wrong address.  What I didn't do was clear local.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.  I appreciate it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 20:36:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5505-problem-with-static-nat/m-p/1316466#M786748</guid>
      <dc:creator>TXLombardi</dc:creator>
      <dc:date>2009-10-29T20:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5505 Problem with Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/asa-5505-problem-with-static-nat/m-p/1316467#M786754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to hear. You need to clear the translation in the table for it to take the newly changed one. Otherwise you would have to wait for the xlate to timeout (3 hours default) after a 1 hour conn timeout for it to start taking the new translation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2009 14:04:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5505-problem-with-static-nat/m-p/1316467#M786754</guid>
      <dc:creator>Kureli Sankar</dc:creator>
      <dc:date>2009-10-30T14:04:36Z</dc:date>
    </item>
  </channel>
</rss>

