<?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: Mgmt_Cli to create VPN directional Match condition in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/111461#M5636</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshpal_Bhati_0-1613971460838.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/10647iA71DC40C1DF778A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harshpal_Bhati_0-1613971460838.png" alt="Harshpal_Bhati_0-1613971460838.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For other user above syntax was worked for salman .&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 05:25:05 GMT</pubDate>
    <dc:creator>Harshpal_Bhati</dc:creator>
    <dc:date>2021-02-22T05:25:05Z</dc:date>
    <item>
      <title>Mgmt_Cli to create VPN directional Match condition</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110479#M5629</link>
      <description>&lt;P&gt;Create an access rule/set an access rule using Mgmt_Cli to create VPN directional Match condition&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 17:27:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110479#M5629</guid>
      <dc:creator>SalmanKaleem</dc:creator>
      <dc:date>2021-02-10T17:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mgmt_Cli to create VPN directional Match condition</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110500#M5630</link>
      <description>&lt;P&gt;VPN Directional Match is a global property, described here:&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk100726&amp;amp;partition=Basic&amp;amp;product=IPSec" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk100726&amp;amp;partition=Basic&amp;amp;product=IPSec&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;There isn't an official API to actually set this global property, but I believe these can be set with generic-objects.&lt;BR /&gt;You can get a list of the properties from here:&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-Query-Global-Properties-via-CLI/m-p/3766#M357" target="_blank"&gt;https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-Query-Global-Properties-via-CLI/m-p/3766#M357&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Directional Match rules are described in the API documentation for set-access-rule.&lt;BR /&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-access-rule~v1.7%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-access-rule~v1.7%20&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;However, I don't see any specific examples of how to set it using mgmt_cli.&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;can you provide a more precise example here?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 02:03:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110500#M5630</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-02-11T02:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mgmt_Cli to create VPN directional Match condition</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110516#M5631</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;Thanks for additional details. Actually, we are automating the deployment of checkpoint auto scaling clusters that require creation of controllers, templates &amp;amp; policies. We are stuck with following VPN rule creation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mgmt_cli set access-rule name "tgw-community VPN Traffic Rule" layer "Network " vpn add directional from "tgw-community" to "External_clear" -s sid.txt&lt;/P&gt;&lt;P&gt;What are we missing with the above rule as per&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-access-rule~v1.7%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-access-rule~v1.7%20&lt;/A&gt;&lt;/P&gt;&lt;P&gt;mgmt_cli set access-rule name "tgw-community VPN Traffic Rule" layer "Network " vpn add directional from "tgw-community" to "tgw-community" -s sid.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Setting Value&lt;/P&gt;&lt;P&gt;Source Any&lt;/P&gt;&lt;P&gt;Destination Any&lt;/P&gt;&lt;P&gt;VPN&lt;BR /&gt;(Directional Match)&lt;BR /&gt;tgw-community -&amp;gt; tgw-community&lt;BR /&gt;tgw-community -&amp;gt; External_clear&lt;/P&gt;&lt;P&gt;Services &amp;amp; Applications Any&lt;/P&gt;&lt;P&gt;Action Accept&lt;/P&gt;&lt;P&gt;Track Log&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 08:40:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110516#M5631</guid>
      <dc:creator>SalmanKaleem</dc:creator>
      <dc:date>2021-02-11T08:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mgmt_Cli to create VPN directional Match condition</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110592#M5632</link>
      <description>&lt;P&gt;Keep in mind mgmt_cli is turning your CLI command into JSON name/value pairs.&lt;BR /&gt;So it's possibly something like:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;mgmt_cli set access-rule name "tgw-community VPN Traffic Rule" layer "Network " vpn add directional.from "tgw-community" directional.to "tgw-community" -s sid.txt&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;mgmt_cli set access-rule name "tgw-community VPN Traffic Rule" layer "Network " vpn add directional.0.from "tgw-community" directional.0.to "tgw-community" -s sid.txt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 17:46:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110592#M5632</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-02-11T17:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Mgmt_Cli to create VPN directional Match condition</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110798#M5633</link>
      <description>&lt;P&gt;I get this error for both&amp;nbsp;directional.0.from &amp;amp;&amp;nbsp;directional.from&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mgmt_cli set access-rule name "tgw-community VPN Traffic Rule" layer "Network" vpn add directional.0.from "tgw-community" directional.0.to "tgw-community" -s sid.txt&lt;BR /&gt;code: "generic_err_invalid_parameter_name"&lt;BR /&gt;message: "Unrecognized parameter [directional]"&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 10:03:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110798#M5633</guid>
      <dc:creator>SalmanKaleem</dc:creator>
      <dc:date>2021-02-15T10:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mgmt_Cli to create VPN directional Match condition</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110837#M5634</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;can you help with the correct syntax in this case?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 18:19:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110837#M5634</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-02-15T18:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mgmt_Cli to create VPN directional Match condition</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110886#M5635</link>
      <description>&lt;P&gt;Hi Salman,&lt;/P&gt;
&lt;P&gt;When working with mgmt_cli tool, the path to each parameter should be followed with "."&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mgmt_cli set access-rule name "tgw-community VPN Traffic Rule" layer "Network" vpn.add.directional.0.from "tgw-community" vpn.add.directional.0.to "tgw-community" -s sid.txt&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 08:58:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/110886#M5635</guid>
      <dc:creator>chkp-royl</dc:creator>
      <dc:date>2021-02-16T08:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mgmt_Cli to create VPN directional Match condition</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/111461#M5636</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshpal_Bhati_0-1613971460838.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/10647iA71DC40C1DF778A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harshpal_Bhati_0-1613971460838.png" alt="Harshpal_Bhati_0-1613971460838.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For other user above syntax was worked for salman .&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 05:25:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-Cli-to-create-VPN-directional-Match-condition/m-p/111461#M5636</guid>
      <dc:creator>Harshpal_Bhati</dc:creator>
      <dc:date>2021-02-22T05:25:05Z</dc:date>
    </item>
  </channel>
</rss>

