<?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 Hi Bellaichef, Your original in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/how-to-create-several-service-translation-for-the-same-host/m-p/2576901#M197732</link>
    <description>&lt;P&gt;Hi Franck,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your original note did not mention that you were wanting to forward to different ports on the inside, so I did not address this in my answer.&amp;nbsp; However, it can be done.&lt;/P&gt;&lt;P&gt;In order to do port forwarding, you must define the port translation in the NAT command as well.&amp;nbsp; So, instead of ending with "service tcp ftp ftp" for instance, you might have a command that ends with "service tcp PORT3389 PORT3390" assuming you had defined such service objects in your configuration.&lt;/P&gt;&lt;P&gt;For example, you could use manual NAT:&lt;/P&gt;&lt;P&gt;object service PORT3389&lt;/P&gt;&lt;P&gt;&amp;nbsp; service tcp destination eq 3389&lt;/P&gt;&lt;P&gt;object service PORT3390&lt;/P&gt;&lt;P&gt;&amp;nbsp; service tcp destination eq 3390&lt;/P&gt;&lt;P&gt;object network RDP-SERVER-PUB&lt;/P&gt;&lt;P&gt;&amp;nbsp; host 209.165.201.3&lt;/P&gt;&lt;P&gt;object network RDP-SERVER&lt;/P&gt;&lt;P&gt;&amp;nbsp; host 10.1.2.27&lt;/P&gt;&lt;P&gt;(exit to global config mode and enter following manual NAT)&lt;/P&gt;&lt;P&gt;nat (inside,outside) source static RDP-SERVER RDP-SERVER-PUB service PORT3389 PORT3390&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And yes, I'm quite certain this method exists on ASA firewalls.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jan 2015 13:23:37 GMT</pubDate>
    <dc:creator>David Garneau</dc:creator>
    <dc:date>2015-01-21T13:23:37Z</dc:date>
    <item>
      <title>How to create several service translation for the same host (Static PAT) in Software 8.4+</title>
      <link>https://community.cisco.com/t5/network-security/how-to-create-several-service-translation-for-the-same-host/m-p/2576898#M197729</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just got a 5520 in 9.0.4, before I was using 8.2.1 on these machines.&lt;/P&gt;
&lt;P&gt;So I noted some changes between these 2 releases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the static PAT I'm a little bit blocked.&lt;/P&gt;
&lt;P&gt;In 8.2.1 was easily able to publish serveral services for the same host using static PAT this way:&lt;/P&gt;

&lt;PRE&gt;
static (inside,outside) tcp 209.165.201.3 ftp 10.1.2.27 ftp netmask 255.255.255.255

static (inside,outside) tcp 209.165.201.3 http 10.1.2.27 http netmask 255.255.255.255&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's in 8.4.+ it changed to this:&lt;/P&gt;

&lt;PRE&gt;
object network MyServer

 host 10.1.2.27

 nat (inside,outside) static 209.165.201.3 service ftp ftp&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My problem is when I add the following line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE&gt;
nat (inside,outside) static 209.165.201.3 service http http&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It does not add to the previous one, it replace it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How I could publish several services for the same server? Don't tell me that I have to create a network object for each service, it can't be so annoying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thx by advance for your answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 05:22:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-create-several-service-translation-for-the-same-host/m-p/2576898#M197729</guid>
      <dc:creator>bellaichef</dc:creator>
      <dc:date>2019-03-12T05:22:16Z</dc:date>
    </item>
    <item>
      <title>Hello bellaichef,</title>
      <link>https://community.cisco.com/t5/network-security/how-to-create-several-service-translation-for-the-same-host/m-p/2576899#M197730</link>
      <description>&lt;P&gt;Hello bellaichef,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you will find that your problem is that you are trying to define multiple NAT statements within the object definition.&amp;nbsp; The only NAT statements that should occur within object definition mode are auto-NAT, and each object is limited to one auto-NAT statement.&amp;nbsp; This is why your second NAT is overwriting the first.&lt;/P&gt;
&lt;P&gt;You should instead use manual NAT for this.&lt;/P&gt;

&lt;PRE&gt;
object network MyServer
 host 10.1.2.27&lt;/PRE&gt;

&lt;PRE&gt;
object network MyServer-Public
 host 209.165.201.3&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use manual NAT from global config mode:&lt;/P&gt;

&lt;PRE&gt;
nat (inside,outside) source static MyServer MyServer-Public service tcp ftp ftp&lt;/PRE&gt;

&lt;PRE&gt;
nat (inside,outside) source static MyServer MyServer-Public service tcp http http&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Jan 2015 21:09:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-create-several-service-translation-for-the-same-host/m-p/2576899#M197730</guid>
      <dc:creator>David Garneau</dc:creator>
      <dc:date>2015-01-20T21:09:11Z</dc:date>
    </item>
    <item>
      <title>Hi David, Thank you for your</title>
      <link>https://community.cisco.com/t5/network-security/how-to-create-several-service-translation-for-the-same-host/m-p/2576900#M197731</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer. Unfortunatelly it won't do the trick for me because the service works with objects this way and can't be directly the TCP port translation.&lt;/P&gt;&lt;P&gt;So I don't understand how using object method,&amp;nbsp;the firewall could know that 3390 should be forwarded to 3389 and 8443 to 443 for instance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you sure that your method exist on your Firewall? May be it's a software limitation on mine? I'm using a 5520 on 9.0.4 in multiple context mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you by advance for your answers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Franck&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 08:05:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-create-several-service-translation-for-the-same-host/m-p/2576900#M197731</guid>
      <dc:creator>bellaichef</dc:creator>
      <dc:date>2015-01-21T08:05:36Z</dc:date>
    </item>
    <item>
      <title>Hi Bellaichef, Your original</title>
      <link>https://community.cisco.com/t5/network-security/how-to-create-several-service-translation-for-the-same-host/m-p/2576901#M197732</link>
      <description>&lt;P&gt;Hi Franck,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your original note did not mention that you were wanting to forward to different ports on the inside, so I did not address this in my answer.&amp;nbsp; However, it can be done.&lt;/P&gt;&lt;P&gt;In order to do port forwarding, you must define the port translation in the NAT command as well.&amp;nbsp; So, instead of ending with "service tcp ftp ftp" for instance, you might have a command that ends with "service tcp PORT3389 PORT3390" assuming you had defined such service objects in your configuration.&lt;/P&gt;&lt;P&gt;For example, you could use manual NAT:&lt;/P&gt;&lt;P&gt;object service PORT3389&lt;/P&gt;&lt;P&gt;&amp;nbsp; service tcp destination eq 3389&lt;/P&gt;&lt;P&gt;object service PORT3390&lt;/P&gt;&lt;P&gt;&amp;nbsp; service tcp destination eq 3390&lt;/P&gt;&lt;P&gt;object network RDP-SERVER-PUB&lt;/P&gt;&lt;P&gt;&amp;nbsp; host 209.165.201.3&lt;/P&gt;&lt;P&gt;object network RDP-SERVER&lt;/P&gt;&lt;P&gt;&amp;nbsp; host 10.1.2.27&lt;/P&gt;&lt;P&gt;(exit to global config mode and enter following manual NAT)&lt;/P&gt;&lt;P&gt;nat (inside,outside) source static RDP-SERVER RDP-SERVER-PUB service PORT3389 PORT3390&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And yes, I'm quite certain this method exists on ASA firewalls.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:23:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-create-several-service-translation-for-the-same-host/m-p/2576901#M197732</guid>
      <dc:creator>David Garneau</dc:creator>
      <dc:date>2015-01-21T13:23:37Z</dc:date>
    </item>
  </channel>
</rss>

