<?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: port redirection using the same public ip in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363007#M307039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for pointing that out, thats worked. !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Dec 2013 20:15:13 GMT</pubDate>
    <dc:creator>sandevsingh</dc:creator>
    <dc:date>2013-12-16T20:15:13Z</dc:date>
    <item>
      <title>port redirection using the same public ip</title>
      <link>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363001#M307033</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can you do a static NAT using the same public ip so that it goes to different internal ips on different port numbers.? Something like a port-redirection. For example, the public ip:100.100.100.100/443 goes to 10.10.10.1/443 AND 100.100.100.100/8443 goes to 10.10.10.2/443.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 03:18:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363001#M307033</guid>
      <dc:creator>sandevsingh</dc:creator>
      <dc:date>2019-03-12T03:18:46Z</dc:date>
    </item>
    <item>
      <title>port redirection using the same public ip</title>
      <link>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363002#M307034</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;Yes, that is possible. Do notice that the port TCP/443 for example on an ASA is used for both ASDM and SSL VPN on the external interface typically. So it might be worth not using it at all as a public/mapped port is at all possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on your software level the NAT configuration for the Static PAT (Port Forward) might be different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Software level 8.2 (and below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;static (inside,outside) tcp interface &lt;MAPPED port=""&gt; &lt;LOCAL ip=""&gt; &lt;LOCAL port=""&gt; netmask 255.255.255.255&lt;/LOCAL&gt;&lt;/LOCAL&gt;&lt;/MAPPED&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Software level 8.3 (and above)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network STATIC-PAT-TCPxxx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; host &lt;LOCAL ip=""&gt;&lt;/LOCAL&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; nat (inside,outside) static interface service &lt;LOCAL port=""&gt; &lt;MAPPED port=""&gt;&lt;/MAPPED&gt;&lt;/LOCAL&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above examples use the&lt;STRONG&gt; "outside"&lt;/STRONG&gt; interface IP address as the NAT IP as we use the &lt;STRONG&gt;"interface"&lt;/STRONG&gt; parameter. This would have to be placed with the actual NAT IP address if you are using some other IP address other than that which is configured on your actual interface.&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/4.5.4/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>Mon, 16 Dec 2013 17:56:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363002#M307034</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-12-16T17:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: port redirection using the same public ip</title>
      <link>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363003#M307035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnx Jouni,&lt;/P&gt;&lt;P&gt;I am on 8.4, if I use the same public IP (which is NOT the external int ip on the ASA) it gives me a warning, although it took the config -&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: mapped-address 100.100.100.100/443 ovelap with existing static NAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 18:59:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363003#M307035</guid>
      <dc:creator>sandevsingh</dc:creator>
      <dc:date>2013-12-16T18:59:35Z</dc:date>
    </item>
    <item>
      <title>port redirection using the same public ip</title>
      <link>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363004#M307036</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;It would seem that you have already configured a Static NAT using the same public IP address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Static NAT would pair a local IP to a public/mapped IP. When talking about TCP/UDP it would essentially map each public port to the same local port on the local IP address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it would seem to me that you would better use some other public IP address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though the ASA accepted the Static PAT (Port Forward) configuration it might be that the Static NAT overrides the Static PAT function so that it is never used. This depends on the way the Static NAT is configured and can only be told by looking at the configurations and/or perhaps using the &lt;STRONG&gt;"packet-tracer"&lt;/STRONG&gt; command to test the configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an extra public IP address that you could use as the Static PAT public IP address for all the translations you are attempting to do?&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, 16 Dec 2013 19:04:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363004#M307036</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-12-16T19:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: port redirection using the same public ip</title>
      <link>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363005#M307037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jouni,&lt;/P&gt;&lt;P&gt;Yes, I have used the same public ip for a different static NAT, here is my config - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network websrv1&lt;/P&gt;&lt;P&gt; nat (to-nexus,Outside) static 100.100.100.100 service tcp https https&lt;/P&gt;&lt;P&gt;object network websrv2&lt;/P&gt;&lt;P&gt; nat (to-nexus,Outside) static 100.100.100.100 service tcp 8443 https&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe although it has taken the config, the order counts. Under "show nat", entry no.1 is what is taking preference and no hits on entry 2.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Auto NAT Policies (Section 2)&lt;/P&gt;&lt;P&gt;1 (to-nexus) to (Outside) source static websrv1 100.100.100.100&amp;nbsp;&amp;nbsp; service tcp https https&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; translate_hits = 1, untranslate_hits = 11187&lt;/P&gt;&lt;P&gt;2 (to-nexus) to (Outside) source static websrv2 100.100.100.100&amp;nbsp;&amp;nbsp; service tcp 8443 https&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; translate_hits = 0, untranslate_hits = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANY THOUGHTS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 19:24:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363005#M307037</guid>
      <dc:creator>sandevsingh</dc:creator>
      <dc:date>2013-12-16T19:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: port redirection using the same public ip</title>
      <link>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363006#M307038</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;Yes, since we are doing Auto NAT / Network Object NAT (the ones configured under &lt;STRONG&gt;"object" &lt;/STRONG&gt;configurations) that means the ASA will order the NAT rules based on predefined rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in your case it comes down perhaps to the last determining factor which is the&lt;STRONG&gt; "object"&lt;/STRONG&gt; name (alphabetical order). They are otherwise the same but the other one ends with&lt;STRONG&gt; "1"&lt;/STRONG&gt; and the other one with &lt;STRONG&gt;"2"&lt;/STRONG&gt;. This is why the&lt;STRONG&gt; "websrv1" &lt;/STRONG&gt;one is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is NOT the actual problem. I think you have the ports configured the wrong way around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first port listed after the&lt;STRONG&gt; "service tcp"&lt;/STRONG&gt; or &lt;STRONG&gt;"service udp"&lt;/STRONG&gt; should be the local/real port. This is the port that is actually listening on the host/server. The second port listed should be the mapped/public port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the NAT under the &lt;STRONG&gt;"object network websrv2"&lt;/STRONG&gt; should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nat (to-nexus,Outside) static 100.100.100.100 service tcp https 8443&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try that and see if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice that you can use the &lt;STRONG&gt;"?"&lt;/STRONG&gt; after the&lt;STRONG&gt; "tcp"&lt;/STRONG&gt; section of that command which will list if the next expected value is the real/local port or the mapped/public port.&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, 16 Dec 2013 19:41:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363006#M307038</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-12-16T19:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: port redirection using the same public ip</title>
      <link>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363007#M307039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for pointing that out, thats worked. !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 20:15:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-redirection-using-the-same-public-ip/m-p/2363007#M307039</guid>
      <dc:creator>sandevsingh</dc:creator>
      <dc:date>2013-12-16T20:15:13Z</dc:date>
    </item>
  </channel>
</rss>

