<?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: NAT Parameters in CSV File for import it via API in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/NAT-Parameters-in-CSV-File-for-import-it-via-API/m-p/70757#M4224</link>
    <description>&lt;P&gt;As masher mentioned the whole list of possible options can be obtained from &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-host~v1.5%20" target="_self"&gt;here&lt;/A&gt;, including the NAT settings for a new object. To be precise, what you are looking for it "nat-settings.method" which can have a value of either static or hide. In addition to that you need to specify the related NAT IP via "nat-settings.ip-address" + the auto-rule option in order to automatically create a related NAT rule, related to the specified NAT parameters in the object itself.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2019 07:29:20 GMT</pubDate>
    <dc:creator>Maik</dc:creator>
    <dc:date>2019-12-18T07:29:20Z</dc:date>
    <item>
      <title>NAT Parameters in CSV File for import it via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/NAT-Parameters-in-CSV-File-for-import-it-via-API/m-p/70683#M4220</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we need to import approx 10,000 Host/network objects along with NAT parameters and "Install on" option.&lt;/P&gt;&lt;P&gt;As per my understanding i can create a csv file for it and import it using API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and below will be the CSV file parameters&lt;/P&gt;&lt;P&gt;==============================&lt;/P&gt;&lt;P&gt;name,ip-address,color&lt;/P&gt;&lt;P&gt;PC-A,10.1.1.1,yellow&lt;/P&gt;&lt;P&gt;PC-B,10.1.1.2,yellow&lt;/P&gt;&lt;P&gt;PC-C,10.1.1.3,yellow&lt;/P&gt;&lt;P&gt;============================&lt;/P&gt;&lt;P&gt;But I don's have any idea for Hide/Static NAT and "Install on" parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 14:35:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/NAT-Parameters-in-CSV-File-for-import-it-via-API/m-p/70683#M4220</guid>
      <dc:creator>Vishnu_Kumar</dc:creator>
      <dc:date>2019-12-17T14:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: NAT Parameters in CSV File for import it via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/NAT-Parameters-in-CSV-File-for-import-it-via-API/m-p/70690#M4221</link>
      <description>&lt;P&gt;If you're defining NAT in the host object, then it can be handled by the API with the &lt;STRONG&gt;&lt;EM&gt;nat-settings.ipv4-address &lt;/EM&gt;&lt;/STRONG&gt;and &lt;EM&gt;&lt;STRONG&gt;nat-settings.install-on&lt;/STRONG&gt;&lt;/EM&gt; parameters.&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-host~v1.5" target="_self"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-host~v1.5&lt;/A&gt; for additional information on setting these in the hosts object.&lt;/P&gt;
&lt;P&gt;If you're wanting to configure nat-rules in the policy, then the &lt;STRONG&gt;&lt;EM&gt;add-nat-rule&lt;/EM&gt;&lt;/STRONG&gt; command would be a place to start. This would be a separate operation from the add host command that you are attempting to use.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-nat-rule~v1.5" target="_self"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-nat-rule~v1.5&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure that you're using the correct revision of the API documentation for your version of R80 as there might be some differences in supported operations and syntax.&lt;/P&gt;
&lt;P&gt;- &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#api_versions~v1.5%20" target="_self"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#api_versions~v1.5&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 14:59:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/NAT-Parameters-in-CSV-File-for-import-it-via-API/m-p/70690#M4221</guid>
      <dc:creator>masher</dc:creator>
      <dc:date>2019-12-17T14:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: NAT Parameters in CSV File for import it via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/NAT-Parameters-in-CSV-File-for-import-it-via-API/m-p/70697#M4222</link>
      <description>You will have issues trying to import 10,000 hosts in a single CSV file.&lt;BR /&gt;You will need to break it up into multiple files with no more than 500 lines each.</description>
      <pubDate>Tue, 17 Dec 2019 15:26:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/NAT-Parameters-in-CSV-File-for-import-it-via-API/m-p/70697#M4222</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-12-17T15:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: NAT Parameters in CSV File for import it via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/NAT-Parameters-in-CSV-File-for-import-it-via-API/m-p/70755#M4223</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for this valuable information. I will keep in mind.&lt;/P&gt;&lt;P&gt;But please suggest me the parameters for Hide and Static-NAT&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 06:49:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/NAT-Parameters-in-CSV-File-for-import-it-via-API/m-p/70755#M4223</guid>
      <dc:creator>Vishnu_Kumar</dc:creator>
      <dc:date>2019-12-18T06:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: NAT Parameters in CSV File for import it via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/NAT-Parameters-in-CSV-File-for-import-it-via-API/m-p/70757#M4224</link>
      <description>&lt;P&gt;As masher mentioned the whole list of possible options can be obtained from &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-host~v1.5%20" target="_self"&gt;here&lt;/A&gt;, including the NAT settings for a new object. To be precise, what you are looking for it "nat-settings.method" which can have a value of either static or hide. In addition to that you need to specify the related NAT IP via "nat-settings.ip-address" + the auto-rule option in order to automatically create a related NAT rule, related to the specified NAT parameters in the object itself.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:29:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/NAT-Parameters-in-CSV-File-for-import-it-via-API/m-p/70757#M4224</guid>
      <dc:creator>Maik</dc:creator>
      <dc:date>2019-12-18T07:29:20Z</dc:date>
    </item>
  </channel>
</rss>

