<?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 Hairpin Static NAT in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/hairpin-static-nat/m-p/2312028#M344587</link>
    <description>&lt;P&gt;I created a hairpin NAT statement on an ASA so that users can access an internal website using it's external IP address.&amp;nbsp; I'm able to ping the site from the workstations without a problem, but I'm unable to pull up the site.&amp;nbsp; It works fine externally.&amp;nbsp; Anyone run into a similar issue?&amp;nbsp; Running 8.2(5).&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 02:26:19 GMT</pubDate>
    <dc:creator>chevymannie</dc:creator>
    <dc:date>2019-03-12T02:26:19Z</dc:date>
    <item>
      <title>Hairpin Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/hairpin-static-nat/m-p/2312028#M344587</link>
      <description>&lt;P&gt;I created a hairpin NAT statement on an ASA so that users can access an internal website using it's external IP address.&amp;nbsp; I'm able to ping the site from the workstations without a problem, but I'm unable to pull up the site.&amp;nbsp; It works fine externally.&amp;nbsp; Anyone run into a similar issue?&amp;nbsp; Running 8.2(5).&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 02:26:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/hairpin-static-nat/m-p/2312028#M344587</guid>
      <dc:creator>chevymannie</dc:creator>
      <dc:date>2019-03-12T02:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hairpin Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/hairpin-static-nat/m-p/2312029#M344588</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;You are most probably lacking a translation for the source address while you have the translation for the destination address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I mean is that the connection currently goes like this&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Host connects to server public&lt;/LI&gt;&lt;LI&gt;Connection reaches ASA&lt;/LI&gt;&lt;LI&gt;ASA untranslates the destination address to the real IP address&lt;/LI&gt;&lt;LI&gt;The server sees the connection coming from a local IP address&lt;/LI&gt;&lt;LI&gt;The server replies to that local IP address directly wihtout sending the traffic to ASA (as it sees the source host in the same network)&lt;/LI&gt;&lt;LI&gt;Connection gets stuck because the traffic doesn flow correctly &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So lets use these examples information to configure the correct translation&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Local network 10.10.10.0/24&lt;/LI&gt;&lt;LI&gt;Server 10.10.10.10&lt;/LI&gt;&lt;LI&gt;Public IP address 1.1.1.1&lt;/LI&gt;&lt;LI&gt;Interfaces called &lt;STRONG&gt;"inside"&lt;/STRONG&gt; and &lt;STRONG&gt;"outside"&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Default Dynamic PAT for outbound&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;global (outside) 1 interface&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nat (inside) 1 10.10.10.0 255.255.255.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static NAT outbound&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;static (inside,outside) 1.1.1.1 10.10.10.10 netmask 255.255.255.255&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static NAT for local traffic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;static (inside,inside) 1.1.1.1 10.10.10.10 netmask 255.255.255.255&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you probably have all the above things in a similiar form already on the ASA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you need to add is this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;global (inside) 1 interface&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This&amp;nbsp; (together with the earlier &lt;STRONG&gt;"nat"&lt;/STRONG&gt; command) will translated the users source address while connecting the server with the public IP address. Because we translate the users to ASAs &lt;STRONG&gt;"inside"&lt;/STRONG&gt; interface IP address this means that ASA will see all the packets related to the connection and the connection should work.&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;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>Thu, 15 Aug 2013 21:55:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/hairpin-static-nat/m-p/2312029#M344588</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-08-15T21:55:35Z</dc:date>
    </item>
  </channel>
</rss>

