<?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: ASA 5525: simple nat CLI code help please? in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778820#M1098028</link>
    <description>&lt;P&gt;You are correct= static. Can you please write code? I've struggled with this a long time.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 21:44:55 GMT</pubDate>
    <dc:creator>MicJameson1</dc:creator>
    <dc:date>2023-02-20T21:44:55Z</dc:date>
    <item>
      <title>ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778813#M1098026</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Goal:&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;On ASA-5525...&lt;BR /&gt;...to permit servers 10.0.1.1/24, 10.0.1.2, 10.0.1.3...&lt;BR /&gt;...which use protocol sftp&lt;BR /&gt;...to dynamically translate IP's to public Outside interface&lt;BR /&gt;...to reach server 3.3.3.3 on its port 2222&lt;/P&gt;&lt;P&gt;Question: &lt;STRONG&gt;What is the CLI code for this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 21:31:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778813#M1098026</guid>
      <dc:creator>MicJameson1</dc:creator>
      <dc:date>2023-02-20T21:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778815#M1098027</link>
      <description>&lt;P&gt;why dynamic ??&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 21:35:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778815#M1098027</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2023-02-20T21:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778820#M1098028</link>
      <description>&lt;P&gt;You are correct= static. Can you please write code? I've struggled with this a long time.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 21:44:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778820#M1098028</guid>
      <dc:creator>MicJameson1</dc:creator>
      <dc:date>2023-02-20T21:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778830#M1098031</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ASA OOO.PNG" style="width: 945px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/176909iC9A549BC70D9B43B/image-size/large?v=v2&amp;amp;px=999" role="button" title="ASA OOO.PNG" alt="ASA OOO.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;I think you must look to ALL picture,&amp;nbsp;&lt;BR /&gt;the ACL must allow SFTP&amp;nbsp;&lt;BR /&gt;the NAT must NATing the traffic or UN-NATing the traffic&amp;nbsp;&lt;/P&gt;
&lt;P&gt;object network SFTP&lt;/P&gt;
&lt;DIV class="brVideoContainer"&gt;
&lt;DIV class="outer-wrapper"&gt;
&lt;DIV id="tinyMceEditor_93f5b66b7e4d62MHMCiscoWorld_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="bottomRightPlayer"&gt;&lt;SPAN&gt;host &amp;lt;ServerPrivate IP&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;nat (inside,outside) static &amp;lt;Server Public IP&amp;gt; service tcp 22 22&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;the Inspection &amp;lt;&amp;lt;- here are you run bypass as I mention before ?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 22:35:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778830#M1098031</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2023-02-20T22:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778853#M1098034</link>
      <description>&lt;P&gt;1. inside_in ACL is healthy and being hit. &amp;lt;&amp;lt;COMPLETE&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Can you help me attain my intent here (to use object group in config)? &lt;/STRONG&gt;&lt;U&gt;I think I need to use manual NAT.&lt;/U&gt;&lt;BR /&gt;object-group network MY_3_SERVERS_to_VENDOR1&lt;BR /&gt;&amp;nbsp; network-object host 10.0.1.1&lt;BR /&gt;&amp;nbsp; network-object host 10.0.1.2&lt;BR /&gt;&amp;nbsp; network-object host 10.0.1.3&lt;BR /&gt;&amp;nbsp; nat (Inside,Outside) static 3.3.3.3 service tcp 2222&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^&lt;BR /&gt;ERROR: % Invalid input detected at '^' marker.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 22:51:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778853#M1098034</guid>
      <dc:creator>MicJameson1</dc:creator>
      <dc:date>2023-02-20T22:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778866#M1098035</link>
      <description>&lt;P&gt;I will test use object-group with multi network host mapped to one public IP&amp;nbsp;&lt;BR /&gt;but before that can you check add single network host&amp;nbsp;&lt;BR /&gt;also are the 3.3.3.3 is reachable via OUT interface ??&lt;BR /&gt;are you use Inside, Outside as nameif of interface ??&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 23:12:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778866#M1098035</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2023-02-20T23:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778872#M1098036</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;but before that can you check add single network host&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;also are the 3.3.3.3 is reachable via OUT interface ?? &lt;STRONG&gt;YES confirmed&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are you use Inside, Outside as nameif of interface ??&amp;nbsp;&lt;STRONG&gt;YES confirmed&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I think it's best to not get too complex. I think it's simple config error.&lt;/P&gt;&lt;P&gt;I just need code that satisfies 1st post. Your code is right idea, but it's best to use 1 object group for the three hosts. so...&amp;nbsp;&lt;/P&gt;&lt;P&gt;object network SFTP&lt;BR /&gt;host &amp;lt;ServerPrivate IP&amp;gt;&lt;BR /&gt;nat (inside,outside) static &amp;lt;Server Public IP&amp;gt; service tcp 2222&lt;/P&gt;&lt;P&gt;...needs to be changed to an "object group" config. thats all i think.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 23:20:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778872#M1098036</guid>
      <dc:creator>MicJameson1</dc:creator>
      <dc:date>2023-02-20T23:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778876#M1098037</link>
      <description>&lt;P&gt;&lt;SPAN&gt;object network SFTP &amp;lt;&amp;lt;- you can change as you want butI recommend&amp;nbsp; always keep name referring&amp;nbsp;to IP or service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;host &amp;lt;ServerPrivate IP&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nat (inside,outside) static &amp;lt;Server Public IP&amp;gt; service tcp &lt;STRONG&gt;22&amp;nbsp; 22&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 23:26:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778876#M1098037</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2023-02-20T23:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778879#M1098038</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Some progress.&lt;/STRONG&gt; I took PCAP from device not ASA-- 1 hop &lt;STRONG&gt;past&lt;/STRONG&gt; Outside interface of ASA. Pcap says the translated destination port is NOT required 2222.&lt;/P&gt;&lt;P&gt;Below is present config&lt;/P&gt;&lt;P&gt;object network SFTP&lt;BR /&gt;nat (Inside,Outside) static 3.3.3.3 service tcp 2222 2222&lt;BR /&gt;access-group Outside_access_in in interface Outside&lt;/P&gt;&lt;P&gt;How I fix so TRANSLATED destination port is 2222 ? (I think i need manual twice NAT, but i'm not sure)&lt;/P&gt;&lt;P&gt;(REAL destination port needs exactly "2222")&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 23:52:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778879#M1098038</guid>
      <dc:creator>MicJameson1</dc:creator>
      <dc:date>2023-02-20T23:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778881#M1098039</link>
      <description>&lt;P&gt;tcp 22 22 is not meaning port 2222&amp;nbsp;&lt;BR /&gt;it meaning&amp;nbsp;&lt;BR /&gt;source tcp port 22 will NATing to tcp port 22&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;that why I make it bold.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 23:58:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778881#M1098039</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2023-02-20T23:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778883#M1098040</link>
      <description>&lt;P&gt;OK, we have misunderstanding here, because there is strange coincidence...&lt;/P&gt;&lt;P&gt;The vendor has open port EXACTLY THIS NUMBER "2222" (2230-8=2222, the number 2222)&lt;/P&gt;&lt;P&gt;The protocol is sftp, which uses port 22. I need the code to connect to destination port exactly 2222.&lt;/P&gt;&lt;P&gt;(now maybe later, there is a completely different issue that SERVICE 22 used by SFTP (and also SSH) is blocked by firepower or something. But that is later troubleshoot.)&lt;/P&gt;&lt;P&gt;Below is present config&lt;/P&gt;&lt;P&gt;object network SFTP&lt;BR /&gt;nat (Inside,Outside) static 3.3.3.3 service tcp 2222 2222&lt;BR /&gt;access-group Outside_access_in in interface Outside&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How I fix so TRANSLATED destination port is 2222 ? (I think i need manual twice NAT, but i'm not sure)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...or maybe my big misunderstanding is that TCP protocol is NOT a port, it is different thing. So again, please tell me how to fix?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 00:08:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778883#M1098040</guid>
      <dc:creator>MicJameson1</dc:creator>
      <dc:date>2023-02-21T00:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778884#M1098041</link>
      <description>&lt;P&gt;&lt;STRONG&gt;How I fix so TRANSLATED destination port is 2222 ? (I think i need manual twice NAT, but i'm not sure) ?&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;you you want to NAT port&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;you already have static PAT&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;and you receive&amp;nbsp;SFTP toward 2222.&lt;BR /&gt;no need any other NAT for this case.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 00:11:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778884#M1098041</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2023-02-21T00:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: ASA 5525: simple nat CLI code help please?</title>
      <link>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778885#M1098042</link>
      <description>&lt;P&gt;right now PCAP on device 1 hop past outside int of ASA going to www, shows destination port is NOT 2222. It is random port. It needs to be 2222.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is present config&lt;/P&gt;&lt;P&gt;object network SFTP&lt;/P&gt;&lt;P&gt;&amp;nbsp; host 10.0.1.1&lt;BR /&gt;&amp;nbsp; nat (Inside,Outside) static 3.3.3.3 service tcp 2222 2222&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 00:22:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-5525-simple-nat-cli-code-help-please/m-p/4778885#M1098042</guid>
      <dc:creator>MicJameson1</dc:creator>
      <dc:date>2023-02-21T00:22:24Z</dc:date>
    </item>
  </channel>
</rss>

