<?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: Getting VPN Domain Configuration via Web Services API when Interoperable Devices are used in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-VPN-Domain-Configuration-via-Web-Services-API-when/m-p/191507#M7987</link>
    <description>&lt;P&gt;API version 1.9 (R81.20) and higher support this through the &lt;STRONG&gt;add/show/set/delete interoperable-device&lt;/STRONG&gt; commands.&amp;nbsp; Also see my article here:&lt;/P&gt;
&lt;P&gt;&lt;A id="link_41" href="https://community.checkpoint.com/t5/API-CLI-Discussion/Functionality-Mgmt-API-vs-SmartConsole-Revisited-for-R81-20-v1-9/m-p/182601?search-action-id=70553282505&amp;amp;search-result-uid=182601" target="_blank"&gt;Functionality - Mgmt&amp;nbsp;API&amp;nbsp;vs.&amp;nbsp;SmartConsole&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2023 17:26:36 GMT</pubDate>
    <dc:creator>Timothy_Hall</dc:creator>
    <dc:date>2023-09-04T17:26:36Z</dc:date>
    <item>
      <title>Getting VPN Domain Configuration via Web Services API when Interoperable Devices are used</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-VPN-Domain-Configuration-via-Web-Services-API-when/m-p/191506#M7986</link>
      <description>&lt;P&gt;I've been starting to go more in depth with the&amp;nbsp;&lt;A href="https://layer77.net/2023/06/03/getting-started-with-checkpoint-r81-10-management-api/" target="_blank" rel="noopener"&gt;Web Services API in R81.10&lt;/A&gt; and to build some tools around it.&amp;nbsp; I'm especially interested in something that could retrieve the VPN Domain for all VPN Communities since this is a common misconfiguration (think an equivalent of the ever-popular&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/Scripts/One-liner-to-show-VPN-topology-on-gateways/td-p/57975" target="_blank" rel="noopener"&gt;One-liner to show VPN Topology (VPN Domain) on gateways&lt;/A&gt;&amp;nbsp;script)&lt;/P&gt;
&lt;P&gt;First, the good news.&amp;nbsp; I&lt;EM&gt; am&lt;/EM&gt; able to get the VPN Domain for VPN Communities where the VPN domain is user-defined.&amp;nbsp; Something like this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/show-vpn-communities-star~v1.8%20" target="_blank" rel="noopener"&gt;show-vpn-communities-star&lt;/A&gt; - List all Star VPN Communities&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/show-vpn-community-star~v1.8%20" target="_blank" rel="noopener"&gt;show-vpn-community-star&lt;/A&gt; - Get details for specific Star Community&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If the VPN Domain has been user-defined, there will be an&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;override-vpn-domains&lt;/STRONG&gt; object with a list of gateways with the following attributes:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;gateway - object with the name, type, and ipv4-address of the gateway&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;vpn-domain - network or group that is the VPN domain.&amp;nbsp; Details can be retrieved with &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/show-network~v1.8%20" target="_blank"&gt;show-network&lt;/A&gt; or &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/show-group~v1.8%20" target="_self"&gt;show-group&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Great!&amp;nbsp; Problem is, I can't figure how to get same for communities where the default VPN Domain is used.&amp;nbsp; Root problem here is while&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/show-simple-cluster~v1.8%20" target="_blank" rel="noopener"&gt;show-simple-cluster&lt;/A&gt;&amp;nbsp;and &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/show-simple-gateway~v1.8%20" target="_blank" rel="noopener"&gt;show-simple-gateway&lt;/A&gt; have vpn-settings -&amp;gt; vpn-domain in the JSON response, I don't see that for a VPN Community with an Interoperable device.&lt;/P&gt;
&lt;P&gt;Is there a separate command go get the details for an Interoperable Device that I'm just missing?&amp;nbsp; Or is it not possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 17:07:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-VPN-Domain-Configuration-via-Web-Services-API-when/m-p/191506#M7986</guid>
      <dc:creator>johnnyringo</dc:creator>
      <dc:date>2023-09-04T17:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting VPN Domain Configuration via Web Services API when Interoperable Devices are used</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-VPN-Domain-Configuration-via-Web-Services-API-when/m-p/191507#M7987</link>
      <description>&lt;P&gt;API version 1.9 (R81.20) and higher support this through the &lt;STRONG&gt;add/show/set/delete interoperable-device&lt;/STRONG&gt; commands.&amp;nbsp; Also see my article here:&lt;/P&gt;
&lt;P&gt;&lt;A id="link_41" href="https://community.checkpoint.com/t5/API-CLI-Discussion/Functionality-Mgmt-API-vs-SmartConsole-Revisited-for-R81-20-v1-9/m-p/182601?search-action-id=70553282505&amp;amp;search-result-uid=182601" target="_blank"&gt;Functionality - Mgmt&amp;nbsp;API&amp;nbsp;vs.&amp;nbsp;SmartConsole&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 17:26:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-VPN-Domain-Configuration-via-Web-Services-API-when/m-p/191507#M7987</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2023-09-04T17:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting VPN Domain Configuration via Web Services API when Interoperable Devices are used</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-VPN-Domain-Configuration-via-Web-Services-API-when/m-p/191605#M7993</link>
      <description>&lt;P&gt;You may be able to find the information in R81.10 using generic-object API calls.&lt;BR /&gt;There is no formal documentation on this endpoint (nor is there any support for it), though there are several usage examples on CheckMates.&lt;/P&gt;
&lt;P&gt;Your best bet is to upgrade to R81.20 and use the formally supported API endpoints.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 14:11:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-VPN-Domain-Configuration-via-Web-Services-API-when/m-p/191605#M7993</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-09-05T14:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting VPN Domain Configuration via Web Services API when Interoperable Devices are used</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-VPN-Domain-Configuration-via-Web-Services-API-when/m-p/191632#M7995</link>
      <description>&lt;P&gt;Ahh yeah I was afraid of that.&amp;nbsp; Just upgraded to R81.10 (API v1.8) a few months ago; R81.20 wasn't planned until next year but I can bump it up in priority.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This management server is in Google Cloud, so the upgrade process is non-trivial.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 17:05:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-VPN-Domain-Configuration-via-Web-Services-API-when/m-p/191632#M7995</guid>
      <dc:creator>johnnyringo</dc:creator>
      <dc:date>2023-09-05T17:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting VPN Domain Configuration via Web Services API when Interoperable Devices are used</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-VPN-Domain-Configuration-via-Web-Services-API-when/m-p/191633#M7996</link>
      <description>&lt;P&gt;Yes, I know R81.20 is now recommended so an upgrade is planned within the next 6 months.&amp;nbsp; It unfortunately requires a maintenance window as some of the cluster member hostnames on the VM don't perfectly match the name in SmartConsole and this have to go through a SIC reset and failover process.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;A href="https://support.checkpoint.com/results/sk/sk98096" target="_blank" rel="noopener"&gt;Policy installation fails with "TCP connection failure port=18191 [error no. 10]" and "Load on Module failed - no memory"&lt;/A&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 17:10:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-VPN-Domain-Configuration-via-Web-Services-API-when/m-p/191633#M7996</guid>
      <dc:creator>johnnyringo</dc:creator>
      <dc:date>2023-09-05T17:10:05Z</dc:date>
    </item>
  </channel>
</rss>

