<?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: Outbound NAT on ASA in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/outbound-nat-on-asa/m-p/2246076#M346765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jouni, you're allways right. Godfather of NAT &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Sent from Cisco Technical Support iPhone App&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2013 19:11:23 GMT</pubDate>
    <dc:creator>Patrick Werner</dc:creator>
    <dc:date>2013-07-09T19:11:23Z</dc:date>
    <item>
      <title>Outbound NAT on ASA</title>
      <link>https://community.cisco.com/t5/network-security/outbound-nat-on-asa/m-p/2246074#M346762</link>
      <description>&lt;P&gt;Hello Community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My inbound smtp NAT works well, but our mail server should have the same IP address on the outside interface as definded in the inbound nat.&lt;/P&gt;&lt;P&gt;But the smtp server allways got the IP address of the outside interface of our ASA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i do outbound nat, my smtp server should have the IP address 217.168.46.155 and not the IP address 217.168.46.154.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relevant config:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Vlan10&lt;/P&gt;&lt;P&gt;nameif inside&lt;/P&gt;&lt;P&gt;security-level 100&lt;/P&gt;&lt;P&gt;ip address 192.168.1.200 255.255.255.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Vlan99&lt;/P&gt;&lt;P&gt;nameif outside&lt;/P&gt;&lt;P&gt;security-level 0&lt;/P&gt;&lt;P&gt;ip address 217.168.46.154 255.255.255.248&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network Z1_SMTP&lt;/P&gt;&lt;P&gt;host 192.168.1.9&lt;/P&gt;&lt;P&gt;description NAT Z1 SMTP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object-group service Z1SecureMailPorts&lt;/P&gt;&lt;P&gt;description Z1 Secure Mail Ports&lt;/P&gt;&lt;P&gt;service-object tcp destination eq smtp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list outside_access_in extended permit object-group Z1SecureMailPorts any host 192.168.1.9 log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network Z1_SMTP&lt;/P&gt;&lt;P&gt;nat (inside,outside) static 217.168.46.155 service tcp smtp smtp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nat (inside,outside) after-auto source dynamic 192.168.1.0_24 interface&lt;/P&gt;&lt;P&gt;nat (guest,outside) after-auto source dynamic 172.16.20.0_24 interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 02:09:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/outbound-nat-on-asa/m-p/2246074#M346762</guid>
      <dc:creator>Patrick Werner</dc:creator>
      <dc:date>2019-03-12T02:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Outbound NAT on ASA</title>
      <link>https://community.cisco.com/t5/network-security/outbound-nat-on-asa/m-p/2246075#M346763</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;Try adding this configuration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network MAIL-SERVER-SOURCE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 192.168.1.9&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network MAIL-SERVER-PAT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 217.168.46.155&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nat (inside,outside) after-auto &lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt; source dynamic MAIL-SERVER-SOURCE MAIL-SERVER-PAT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above configurations should make it so that the mail server would use the public IP address of 217.168.46.155 as the Dynamic PAT address when it initiates outbound connections through the ASA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key thing to notice in the &lt;STRONG&gt;"nat"&lt;/STRONG&gt; command is that we enter the number that states that it should be at the top of the Section 3 NAT configurations (the configurations using &lt;STRONG&gt;"after-auto"&lt;/STRONG&gt; parameter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &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;Please do remember to mark a reply as the correct answer if it answered your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feel free to ask more if needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 09:51:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/outbound-nat-on-asa/m-p/2246075#M346763</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-07-09T09:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Outbound NAT on ASA</title>
      <link>https://community.cisco.com/t5/network-security/outbound-nat-on-asa/m-p/2246076#M346765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jouni, you're allways right. Godfather of NAT &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Sent from Cisco Technical Support iPhone App&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 19:11:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/outbound-nat-on-asa/m-p/2246076#M346765</guid>
      <dc:creator>Patrick Werner</dc:creator>
      <dc:date>2013-07-09T19:11:23Z</dc:date>
    </item>
  </channel>
</rss>

