<?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 Change some VPN Community settings with mgmt_cli in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Change-some-VPN-Community-settings-with-mgmt-cli/m-p/247087#M41312</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating a script to configure VPN Communities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mgmt_cli is used for this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The creation is not the problem. That work fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a solution to set the "Permanent Tunnels" and the "VPN Routing" settings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The communities are VPN Star Communities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the management api referece there is no solution documented by&amp;nbsp; "add vpn-community-star" or "set vpn-community-start".&lt;/P&gt;&lt;P&gt;Or I don't see it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody help me?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matthias&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 09:18:56 GMT</pubDate>
    <dc:creator>Thias</dc:creator>
    <dc:date>2025-04-23T09:18:56Z</dc:date>
    <item>
      <title>Change some VPN Community settings with mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Change-some-VPN-Community-settings-with-mgmt-cli/m-p/247087#M41312</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating a script to configure VPN Communities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mgmt_cli is used for this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The creation is not the problem. That work fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a solution to set the "Permanent Tunnels" and the "VPN Routing" settings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The communities are VPN Star Communities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the management api referece there is no solution documented by&amp;nbsp; "add vpn-community-star" or "set vpn-community-start".&lt;/P&gt;&lt;P&gt;Or I don't see it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody help me?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matthias&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 09:18:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Change-some-VPN-Community-settings-with-mgmt-cli/m-p/247087#M41312</guid>
      <dc:creator>Thias</dc:creator>
      <dc:date>2025-04-23T09:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change some VPN Community settings with mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Change-some-VPN-Community-settings-with-mgmt-cli/m-p/247100#M41317</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello again&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I found a solution.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is an old thead. But it still work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/Missing-API-possibility-to-set-vpn-community-star-objects/td-p/20956" target="_blank" rel="noopener"&gt;https://community.checkpoint.com/t5/API-CLI-Discussion/Missing-API-possibility-to-set-vpn-community-star-objects/td-p/20956&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A class="" href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/9262" target="_self"&gt;&lt;SPAN class=""&gt;Kim_Moberg&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;has do it with a generic-object. And this is also working for the VPN Routing settings.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is my code via powershell&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;amp; $MGMTCLI  set generic-object uid `
    (&amp;amp; $MGMTCLI show vpn-community-star name ("VPNCommunity-" + $a.VPNComName) -f json -s $SessionID | ConvertFrom-Json).UID `
    routeThroughCenter TO_OTHER_SATELLITE `
    -f json -s $SessionID&lt;/LI-CODE&gt;&lt;P&gt;For the VPN routing the&amp;nbsp;routeThroughCenter must be set.&lt;/P&gt;&lt;P&gt;Values are&lt;/P&gt;&lt;P&gt;NONE --&amp;gt; To center only&lt;/P&gt;&lt;P&gt;TO_OTHER_SATELLITE --&amp;gt; To center and to other satellites through center&amp;nbsp;&lt;/P&gt;&lt;P&gt;BY_DEFAULT --&amp;gt; To center or through the center to outher satellites, to Internet and other VPN targets&lt;/P&gt;&lt;P&gt;I hope it is helpful for some one&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matthias&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 11:40:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Change-some-VPN-Community-settings-with-mgmt-cli/m-p/247100#M41317</guid>
      <dc:creator>Thias</dc:creator>
      <dc:date>2025-04-23T11:40:28Z</dc:date>
    </item>
  </channel>
</rss>

