<?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: PAT not compatible for multiple mappings?? in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278100#M858484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Err you are trying to input;-&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 8013 10.144.100.92 8002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT you already have in your config:-&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 8000 10.144.100.92 8002 netmask 255.255.255.255 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK - you cannot have 2 statements that define a different source port - but have the same desintation port...I may be wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2009 11:22:46 GMT</pubDate>
    <dc:creator>andrew.prince</dc:creator>
    <dc:date>2009-07-22T11:22:46Z</dc:date>
    <item>
      <title>PAT not compatible for multiple mappings??</title>
      <link>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278099#M858483</link>
      <description>&lt;P&gt;Guy's, can any one shed some light on this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to replace a gnat box with a cisco PIX but it would appear that the Pix can not perform what the Gnat Box does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have PAT mapping multiple different external/translate ports to the same server on the same original port. Cisco will not allow this? Why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can understand you not being able to map the same translate ports to multiple original ports as the device would not know which statement to choose. However the other way round should work as this is what we have configured on the Gnat box device. In theory it should work too?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be immenseley appreciated on this as I'm know wondering whether the PIX is not up to the job for this type of advanced PAT work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statement that conflicts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CISCLNFW1(config)# static (inside,dmz) tcp interface 8013 10.144.100.92 8002 n$&lt;/P&gt;&lt;P&gt;ERROR: duplicate of existing static&lt;/P&gt;&lt;P&gt;  TCP inside:10.144.100.92/8002 to dmz:192.168.0.21/8000 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;Usage: [no] static [(real_ifc, mapped_ifc)]&lt;/P&gt;&lt;P&gt;                {&amp;lt;mapped_ip&amp;gt;|interface}&lt;/P&gt;&lt;P&gt;                {&amp;lt;real_ip&amp;gt; [netmask &amp;lt;mask&amp;gt;]} | {access-list &amp;lt;acl_name&amp;gt;}&lt;/P&gt;&lt;P&gt;                [dns]&lt;/P&gt;&lt;P&gt;                [[tcp] &amp;lt;max_conns&amp;gt; [&amp;lt;emb_lim&amp;gt; [&amp;lt;norandomseq&amp;gt; [nailed]]]]&lt;/P&gt;&lt;P&gt;                [udp &amp;lt;max_conns&amp;gt;]&lt;/P&gt;&lt;P&gt;        [no] static [(real_ifc, mapped_ifc)] {tcp|udp}&lt;/P&gt;&lt;P&gt;                {&amp;lt;mapped_ip&amp;gt;|interface} &amp;lt;mapped_port&amp;gt;&lt;/P&gt;&lt;P&gt;                {&amp;lt;real_ip&amp;gt; &amp;lt;real_port&amp;gt; [netmask &amp;lt;mask&amp;gt;]} |&lt;/P&gt;&lt;P&gt;                {access-list &amp;lt;acl_name&amp;gt;}&lt;/P&gt;&lt;P&gt;                [dns]&lt;/P&gt;&lt;P&gt;                [[tcp] &amp;lt;max_conns&amp;gt; [&amp;lt;emb_lim&amp;gt; [&amp;lt;norandomseq&amp;gt; [nailed]]]]&lt;/P&gt;&lt;P&gt;                [udp &amp;lt;max_conns&amp;gt;]&lt;/P&gt;&lt;P&gt;        show running-config [all] static [&amp;lt;mapped_ip&amp;gt;]&lt;/P&gt;&lt;P&gt;        clear configure static&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nat-control&lt;/P&gt;&lt;P&gt;global (outside) 1 interface&lt;/P&gt;&lt;P&gt;nat (inside) 1 0.0.0.0 0.0.0.0&lt;/P&gt;&lt;P&gt;nat (dmz) 0 access-list dmz_nat0_outbound outside&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 8000 10.144.100.92 8002 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface pop3 10.144.100.77 pop3 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface smtp 10.144.100.77 smtp netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 8001 10.144.100.74 8001 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 5002 10.144.100.74 5002 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 5007 10.144.100.74 5007 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 5006 10.144.100.74 5006 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 5005 10.144.100.74 5005 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 5004 10.144.100.74 5004 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 5001 10.144.100.74 5001 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 5003 10.144.100.77 5003 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 5000 10.144.100.74 5000 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp 192.168.0.10 9000 10.144.100.70 7000 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (dmz,outside) liswww2_ext 192.168.0.23 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (dmz,outside) interface dmzwww netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;static (dmz,inside) 10.144.100.74 192.168.0.21 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;access-group outside_access_in in interface outside&lt;/P&gt;&lt;P&gt;access-group inside_access_in in interface inside&lt;/P&gt;&lt;P&gt;access-group dmz_access_in in interface dmz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 00:59:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278099#M858483</guid>
      <dc:creator>ccannon88567</dc:creator>
      <dc:date>2019-03-13T00:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: PAT not compatible for multiple mappings??</title>
      <link>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278100#M858484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Err you are trying to input;-&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 8013 10.144.100.92 8002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT you already have in your config:-&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 8000 10.144.100.92 8002 netmask 255.255.255.255 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK - you cannot have 2 statements that define a different source port - but have the same desintation port...I may be wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 11:22:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278100#M858484</guid>
      <dc:creator>andrew.prince</dc:creator>
      <dc:date>2009-07-22T11:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: PAT not compatible for multiple mappings??</title>
      <link>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278101#M858486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew, it's something I have not seen before but it is definately in place on the existing solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone else please advise? Will an ASA perform this if not the PIX?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is on an existing config of the gnat box, I'm shocked that Cisco PIX does not support this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In theory it should work fine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help needed! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 11:47:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278101#M858486</guid>
      <dc:creator>ccannon88567</dc:creator>
      <dc:date>2009-07-22T11:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: PAT not compatible for multiple mappings??</title>
      <link>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278102#M858488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to out this in my lab pix 525 and ASA5510 and both devices returned the same error:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pixfirewall(config)# static (inside,dmz) tcp interface 8013 10.144.100.92 8002$&lt;/P&gt;&lt;P&gt;ERROR: duplicate of existing static&lt;/P&gt;&lt;P&gt;  TCP inside:10.144.100.92/8002 to dmz:192.168.0.254/8000 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I added:-&lt;/P&gt;&lt;P&gt;pixfirewall(config)#&lt;/P&gt;&lt;P&gt;pixfirewall(config)# static (inside,dmz) tcp interface 8013 10.144.100.92 8003 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;pixfirewall(config)#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried something differnet:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static (inside,dmz) tcp interface 8000 10.144.100.77 pop3 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and recevied the error:-&lt;/P&gt;&lt;P&gt;pixfirewall(config)# static (inside,dmz) tcp interface 8000 10.144.100.77 pop3$&lt;/P&gt;&lt;P&gt;ERROR: mapped-address conflict with existing static&lt;/P&gt;&lt;P&gt;  TCP inside:10.144.100.92/8002 to dmz:192.168.0.254/8000 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conclusion - Multiple configs of tcp src/dst ports is not permitted - even to differenet backend servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 12:02:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278102#M858488</guid>
      <dc:creator>andrew.prince</dc:creator>
      <dc:date>2009-07-22T12:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: PAT not compatible for multiple mappings??</title>
      <link>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278103#M858492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew, thanks your help on on investigating this matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found a solution in the form of Policy NAT and thought that you would be interested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Policy NAT enables you to map otherwise overlapping conflicts through normal statements (please note that it will not allow you to overlap "translated ports" only original to the same server as it would be impossible for the device to route the traffic).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's how;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list Policy_NAT_1 extended permit tcp host 10.0.0.1 eq 8000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list Policy_NAT_2 extended permit tcp host 10.0.0.1 eq 8000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static (inside,outside) tcp 62.62.62.1 8013 access-list Policy_NAT_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static (inside,outside) tcp 62.62.62.1 8012 access-list Policy_NAT_2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hey presto - 2 different ports mapped to the same inside server and to the same original port &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just make sure that your ACL's have different names even though they state the same thing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 14:52:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278103#M858492</guid>
      <dc:creator>ccannon88567</dc:creator>
      <dc:date>2009-07-23T14:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: PAT not compatible for multiple mappings??</title>
      <link>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278104#M858494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOL!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had found roughly the same thing, in a head scratching moment after my post on my first test lab!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5 pts for posting first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 14:57:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278104#M858494</guid>
      <dc:creator>andrew.prince</dc:creator>
      <dc:date>2009-07-23T14:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: PAT not compatible for multiple mappings??</title>
      <link>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278105#M858496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Andrew!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5 pts for effort - setting up a lab to help me out of a tricky situation! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 19:52:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/pat-not-compatible-for-multiple-mappings/m-p/1278105#M858496</guid>
      <dc:creator>ccannon88567</dc:creator>
      <dc:date>2009-07-23T19:52:12Z</dc:date>
    </item>
  </channel>
</rss>

