<?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: IP Tables in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/IP-Tables/m-p/85086#M4863</link>
    <description>This is a script that was developed for R80 (specifically, the first version).&lt;BR /&gt;It might need modification for later versions.</description>
    <pubDate>Wed, 13 May 2020 16:12:11 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2020-05-13T16:12:11Z</dc:date>
    <item>
      <title>IP Tables</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/IP-Tables/m-p/38662#M2299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2&gt;Overview&lt;/H2&gt;&lt;P&gt;A python scripts that takes the output of ip-tables and produces a script with a similar Check Point policy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN style="line-height: 1.5;"&gt;Instructions&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;See power point slides in the attached zip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;Code Version&lt;/H2&gt;&lt;P&gt;Code version 0.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;Tested on version&lt;/H2&gt;&lt;P&gt;R80, API version 1.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 13px; color: #ff0000;"&gt;&lt;STRONG&gt;NOTICE: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6667px; color: #999999;"&gt;&lt;STRONG&gt;By using this sample code you agree to terms and conditions in this &lt;A href="https://community.checkpoint.com/docs/DOC-1042"&gt;Terms and Conditions&lt;/A&gt;​&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 06:51:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/IP-Tables/m-p/38662#M2299</guid>
      <dc:creator>Avigdor_Sharon</dc:creator>
      <dc:date>2015-12-04T06:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: IP Tables</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/IP-Tables/m-p/85020#M4861</link>
      <description>&lt;P&gt;Good morning, I have tested the script and it works very well for the most part, it only gives me problems in one command.&lt;/P&gt;&lt;P&gt;#create in-line layers - one for every chain:&lt;BR /&gt;mgmt_cli add layer name sub_policy_INPUT -s id.txt&lt;/P&gt;&lt;P&gt;#create top layer&lt;BR /&gt;mgmt_cli add layer name iptables_policy -s id.txt&lt;/P&gt;&lt;P&gt;The add layer command does not exist, but the add access-layer command does exist. I have changed it for the latter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my iptable version is&amp;nbsp;&lt;SPAN&gt;iptables v1.3.5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;my CP version is&amp;nbsp;product-version: "Check Point Gaia R80.30 "&lt;BR /&gt;os-build: "200"&lt;BR /&gt;os-kernel-version: "3.10.0-693cpx86_64"&lt;BR /&gt;os-edition: "64-bit"&lt;/P&gt;&lt;P&gt;do you think it will work properly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 06:57:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/IP-Tables/m-p/85020#M4861</guid>
      <dc:creator>VN_Payers</dc:creator>
      <dc:date>2020-05-13T06:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: IP Tables</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/IP-Tables/m-p/85030#M4862</link>
      <description>Without verifying the actual script... if you should run into issues try to modify the login call to specify the api version which should be used ("--version 1"). In this case it would be version 1.0 - if you do not specify this your management server will automatically try to use the latest version (which is 1.5 for R80.30).</description>
      <pubDate>Wed, 13 May 2020 08:34:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/IP-Tables/m-p/85030#M4862</guid>
      <dc:creator>Maik</dc:creator>
      <dc:date>2020-05-13T08:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: IP Tables</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/IP-Tables/m-p/85086#M4863</link>
      <description>This is a script that was developed for R80 (specifically, the first version).&lt;BR /&gt;It might need modification for later versions.</description>
      <pubDate>Wed, 13 May 2020 16:12:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/IP-Tables/m-p/85086#M4863</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-05-13T16:12:11Z</dc:date>
    </item>
  </channel>
</rss>

