<?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: Confusing NAT statements in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/confusing-nat-statements/m-p/4094627#M1070587</link>
    <description>Hello, &lt;BR /&gt;&lt;BR /&gt;It would be probable due to the type of service you are using to identify the port object. When you define the service object for port 21, is that using source? or Dest? &lt;BR /&gt;&lt;BR /&gt;Mike.</description>
    <pubDate>Fri, 29 May 2020 19:55:59 GMT</pubDate>
    <dc:creator>Maykol Rojas</dc:creator>
    <dc:date>2020-05-29T19:55:59Z</dc:date>
    <item>
      <title>Confusing NAT statements</title>
      <link>https://community.cisco.com/t5/network-security/confusing-nat-statements/m-p/4094607#M1070585</link>
      <description>&lt;P&gt;I have a dmz server, listening on port 21, I want this server to be accessible from internet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are my options:&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nat (dmz,outside) source static ftp_10.20.30.40 x.x.x.x(publicIP) service FTP_21 FTP_21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^^ Does NOT work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=============================================================&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;object network ftp_10.20.30.40&lt;BR /&gt;host 10.20.30.40&lt;BR /&gt;nat (dmz,outside) static x.x.x.x(PublicIP) service tcp ftp ftp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^^^ Works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is wrong with 1??? I am clueless. I have exact same NAT statement for another server (option 3) listening on a different port and it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;nat (dmz,outside) source static 10.20.30.41 y.y.y.y(PublicIP) service 2222 2222&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 19:14:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/confusing-nat-statements/m-p/4094607#M1070585</guid>
      <dc:creator>Brad_Shawh</dc:creator>
      <dc:date>2020-05-29T19:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Confusing NAT statements</title>
      <link>https://community.cisco.com/t5/network-security/confusing-nat-statements/m-p/4094627#M1070587</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;It would be probable due to the type of service you are using to identify the port object. When you define the service object for port 21, is that using source? or Dest? &lt;BR /&gt;&lt;BR /&gt;Mike.</description>
      <pubDate>Fri, 29 May 2020 19:55:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/confusing-nat-statements/m-p/4094627#M1070587</guid>
      <dc:creator>Maykol Rojas</dc:creator>
      <dc:date>2020-05-29T19:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Confusing NAT statements</title>
      <link>https://community.cisco.com/t5/network-security/confusing-nat-statements/m-p/4094841#M1070595</link>
      <description>&lt;P class="lia-align-justify"&gt;Thank you.&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;I was using destination ports, but should it not be destination port 21 and not source? How does this work?&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 10:48:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/confusing-nat-statements/m-p/4094841#M1070595</guid>
      <dc:creator>Brad_Shawh</dc:creator>
      <dc:date>2020-05-30T10:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Confusing NAT statements</title>
      <link>https://community.cisco.com/t5/network-security/confusing-nat-statements/m-p/4094946#M1070605</link>
      <description>Hello; &lt;BR /&gt;&lt;BR /&gt;It can be confusing because your clients are actually using port 21 as destination, but if you see it closely, the Server will be always using port 21 as source for the replies. &lt;BR /&gt;&lt;BR /&gt;From a client initiating the conn (Initiating SYN): &lt;BR /&gt;Client--RandomSourcePort--Firewall--Server---Port 21. &lt;BR /&gt;&lt;BR /&gt;When the server replies, it would look like this (Reply SYN-ACK): &lt;BR /&gt;Port21--Server ---Firewall---RandomSourcePort--Client . &lt;BR /&gt;&lt;BR /&gt;For the firewall logic, it would statically map whatever that comes source on port 21 to the NAT address. That would allow anyone to send packets to that global IP and the firewall knows that if the source port is 21 (it will always be when the server replies) it will NAT it. &lt;BR /&gt;&lt;BR /&gt;Hope it helps.</description>
      <pubDate>Sat, 30 May 2020 20:32:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/confusing-nat-statements/m-p/4094946#M1070605</guid>
      <dc:creator>Maykol Rojas</dc:creator>
      <dc:date>2020-05-30T20:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Confusing NAT statements</title>
      <link>https://community.cisco.com/t5/network-security/confusing-nat-statements/m-p/4099266#M1070857</link>
      <description>&lt;P&gt;Thank you for the explanation &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 10:34:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/confusing-nat-statements/m-p/4099266#M1070857</guid>
      <dc:creator>Brad_Shawh</dc:creator>
      <dc:date>2020-06-08T10:34:11Z</dc:date>
    </item>
  </channel>
</rss>

