<?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 NAT- Change Source and Destination Address in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143840#M358751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just noticed that you had mentioned you only have ASA version 8.2(5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Apr 2013 01:43:56 GMT</pubDate>
    <dc:creator>Jouni Forss</dc:creator>
    <dc:date>2013-04-07T01:43:56Z</dc:date>
    <item>
      <title>NAT- Change Source and Destination Address</title>
      <link>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143838#M358749</link>
      <description>&lt;P&gt;Hi Firends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the follow scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The server 2.2.2.4 have to access the remote server 4.4.4.4, but follow the situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The source server (2.2.2.4) , only know the remote server (4.4.4.4) with address&amp;nbsp; 3.3.3.4, so when the packet enter the interface inside of ASA, the NAT change the 3.3.3.4 to real address (4.4.4.4);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The remote server (4.4.4.4), only know address 172.31.0.1 (outside interface of ASA), so the source will be change to 172.31.0.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i change the source to 172.31.0.1 and destination to 3.3.3.4 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obs: ASA has the version &lt;SPAN style="font-size: 10pt;"&gt;8.2(5) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Follow Topology:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.cisco.com/legacyfs/online/legacy/4/0/6/133604-nat-duvida.jpg" alt="nat-duvida.jpg" class="jive-image-thumbnail jive-image" onclick="" width="450" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 01:24:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143838#M358749</guid>
      <dc:creator>Thiago Cella</dc:creator>
      <dc:date>2019-03-12T01:24:43Z</dc:date>
    </item>
    <item>
      <title>NAT- Change Source and Destination Address</title>
      <link>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143839#M358750</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;Are you labing some setup or is there an actual production environment requirering this type of NAT translations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in general the configuration format would be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network SOURCE-REAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 2.2.2.4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network DESTINATION-REAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 4.4.4.4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network DESTINATION-MAPPED&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host 3.3.3.3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nat (inside,outside) source static SOURCE-REAL interface destination static DESTINATION-MAPPED DESTINATION-REAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one obvious effect this would have on the ASA operation is that the host 4.4.4.4 wouldnt be able to make any connections to the actual ASA itself. Manage it by ASDM or SSH and such things since its traffic to the interface would now be forwarded to the internal host as per the NAT rule created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 01:43:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143839#M358750</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-04-07T01:43:23Z</dc:date>
    </item>
    <item>
      <title>NAT- Change Source and Destination Address</title>
      <link>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143840#M358751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just noticed that you had mentioned you only have ASA version 8.2(5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 01:43:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143840#M358751</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-04-07T01:43:56Z</dc:date>
    </item>
    <item>
      <title>NAT- Change Source and Destination Address</title>
      <link>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143841#M358752</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;Did a quick test on my 8.2(5) test ASA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to say though that I have never tried this or had the need to configure this in an actual production enviroment so I am not sure if it poses some risk/problems that I can think of right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the following configuration on my test ASA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I replaced the interfaces names and IPs of my test configuration with your given information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list IN-OUT-INTERFACE extended permit ip host 2.2.2.4 host 3.3.3.3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list OUT-IN-INTERFACE extended permit ip host 4.4.4.4 host 172.31.0.1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;static (inside,outside) interface&amp;nbsp; access-list IN-OUT-INTERFACE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;static (outside,inside) 3.3.3.3&amp;nbsp; access-list OUT-IN-INTERFACE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 02:23:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143841#M358752</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-04-07T02:23:35Z</dc:date>
    </item>
    <item>
      <title>NAT- Change Source and Destination Address</title>
      <link>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143842#M358753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TKS JouniForss !!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This config is to production enviroment , hehehe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doubts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #f7fafb; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;&lt;STRONG style="border-collapse: collapse; list-style: none;"&gt;static (inside,outside) interface&amp;nbsp; access-list IN-OUT-INTERFACE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #f7fafb; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;&lt;STRONG style="border-collapse: collapse; list-style: none;"&gt;- In this NAT , what address will be translate to interface address?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #f7fafb; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;&lt;STRONG style="border-collapse: collapse; list-style: none;"&gt;static (outside,inside) 3.3.3.3&amp;nbsp; access-list OUT-IN-INTERFACE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;- I didnt understand, this nat, could explain?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 02:55:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143842#M358753</guid>
      <dc:creator>Thiago Cella</dc:creator>
      <dc:date>2013-04-07T02:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: NAT- Change Source and Destination Address</title>
      <link>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143843#M358754</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;We have to make translation for both endpoints so thats why there is 2 NAT configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list IN-OUT-INTERFACE extended permit ip host 2.2.2.4 host 3.3.3.3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;static (inside,outside) interface&amp;nbsp; access-list IN-OUT-INTERFACE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;access-list OUT-IN-INTERFACE extended permit ip host 4.4.4.4 host 172.31.0.1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;static (outside,inside) 3.3.3.3&amp;nbsp; access-list OUT-IN-INTERFACE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other configuration will translate the "inside" host and the other will translate the "outside" host&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the first configuration matches traffic from host 2.2.2.4 to host 3.3.3.3 and translates the source to "interface"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the host 2.2.2.4 to be able to connect to host 3.3.3.3 we will therefore need to translate the host 4.4.4.4 into 3.3.3.3 when traffic is going towards the "interface"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a simple picture of my setup with my base information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://supportforums.cisco.com/sites/default/files/legacy/3/5/6/133653-CSC-82-DUALNAT.jpg" class="jive-image" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I ping from host 10.10.10.10 to host 1.1.1.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following things will happen&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Host 10.10.10.10 will be translated to interface IP address 192.168.103.2&lt;/LI&gt;&lt;LI&gt;Host 1.1.1.1 will be untranslated to IP address 192.168.103.1&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heres the debug from the ASA while the ICMP Echo and Echo Reply messages are going through the ASA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ICMP echo request from LAN:10.10.10.10 to WAN:1.1.1.1 ID=1 seq=1978 len=1272&lt;/P&gt;&lt;P&gt;ICMP echo request translating LAN:10.10.10.10 to WAN:192.168.103.2&lt;/P&gt;&lt;P&gt;ICMP echo request untranslating LAN:1.1.1.1 to WAN:192.168.103.1&lt;/P&gt;&lt;P&gt;ICMP echo reply from WAN:192.168.103.1 to LAN:192.168.103.2 ID=1 seq=1978 len=1472&lt;/P&gt;&lt;P&gt;ICMP echo reply translating WAN:192.168.103.1 to LAN:1.1.1.1&lt;/P&gt;&lt;P&gt;ICMP echo reply untranslating WAN:192.168.103.2 to LAN:10.10.10.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, my above described situation is happening&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this was helpfull &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; Please remember to rate / Mark the question as answered or ask more if needed &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;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 03:43:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143843#M358754</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-04-07T03:43:38Z</dc:date>
    </item>
    <item>
      <title>NAT- Change Source and Destination Address</title>
      <link>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143844#M358755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much , for your explanation!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 20:28:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/nat-change-source-and-destination-address/m-p/2143844#M358755</guid>
      <dc:creator>Thiago Cella</dc:creator>
      <dc:date>2013-04-07T20:28:02Z</dc:date>
    </item>
  </channel>
</rss>

