<?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 Lots of NAT rules have to migrate to FMC in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/lots-of-nat-rules-have-to-migrate-to-fmc/m-p/3737802#M1021067</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have nearly hundred of Static NAT mapping need to migrate to FTD (FMC).&lt;/P&gt;
&lt;P&gt;Because those NAT are one to one mapping, i have to create hundred of NAT rule in FMC?&lt;/P&gt;
&lt;P&gt;It's not difficult in ASA, but for FMC, I have to create hundred of objects and rules.....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any better way to handle this?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Roy&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 16:25:51 GMT</pubDate>
    <dc:creator>Roy Lee</dc:creator>
    <dc:date>2020-02-21T16:25:51Z</dc:date>
    <item>
      <title>Lots of NAT rules have to migrate to FMC</title>
      <link>https://community.cisco.com/t5/network-security/lots-of-nat-rules-have-to-migrate-to-fmc/m-p/3737802#M1021067</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have nearly hundred of Static NAT mapping need to migrate to FTD (FMC).&lt;/P&gt;
&lt;P&gt;Because those NAT are one to one mapping, i have to create hundred of NAT rule in FMC?&lt;/P&gt;
&lt;P&gt;It's not difficult in ASA, but for FMC, I have to create hundred of objects and rules.....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any better way to handle this?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Roy&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 16:25:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/lots-of-nat-rules-have-to-migrate-to-fmc/m-p/3737802#M1021067</guid>
      <dc:creator>Roy Lee</dc:creator>
      <dc:date>2020-02-21T16:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Lots of NAT rules have to migrate to FMC</title>
      <link>https://community.cisco.com/t5/network-security/lots-of-nat-rules-have-to-migrate-to-fmc/m-p/3738035#M1021079</link>
      <description>&lt;P&gt;Hello Roy,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're running 6.2.3 you can use the FMC REST API to create NAT rules (&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/623/relnotes/Firepower_Release_Notes_623/new_features_and_changed_behavior.html#reference_mmb_fzg_lbb" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/623/relnotes/Firepower_Release_Notes_623/new_features_and_changed_behavior.html#reference_mmb_fzg_lbb&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've not tried the API for NAT specifically but I've played with it a little bit recently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Start by looking at the API explorer for your FMC. You'll need to globally enable the API first in the FMC (System&amp;gt;Configuration&amp;gt;REST API Preference&amp;gt;Enable REST API) and make sure your user has the appropriate privs then browse to https://&amp;lt;YOUR_FMC_IP&amp;gt;/api/api-explorer&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can manually use this directly to DELETE, PUT (modify existing), POST (create new) or GET various records.&lt;/P&gt;
&lt;P&gt;You can then go on to write scripts to automate the process. I managed to get something up and running fairly easily.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See my other post here for an example Python script:&amp;nbsp;&lt;A href="https://community.cisco.com/t5/firepower/my-python-script-to-query-fmc-api-for-list-of-sensor-names-and/m-p/3737313" target="_blank"&gt;https://community.cisco.com/t5/firepower/my-python-script-to-query-fmc-api-for-list-of-sensor-names-and/m-p/3737313&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I am aware the only options you have are to use the FMC GUI or learn how to use the REST API &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively you could use the ASA--&amp;gt;FTD migration tool to add a 'dummy' device?? This will add all the objects for you. Then delete the dummy device. You might need a spare physical FTD to do that though - not sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best of luck and keep us posted on how you get on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Matt.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 15:16:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/lots-of-nat-rules-have-to-migrate-to-fmc/m-p/3738035#M1021079</guid>
      <dc:creator>matty-boy</dc:creator>
      <dc:date>2018-11-02T15:16:39Z</dc:date>
    </item>
  </channel>
</rss>

