<?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: VPN tunnel Reset via API in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13890#M980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Thanks Tom&lt;/P&gt;&lt;P class=""&gt;But then I will need to use those scripts to parse via mgmt smartconsole.&lt;/P&gt;&lt;P class=""&gt;If I would my own website for internal use I will have to:&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a ssh to active cluster node&lt;/LI&gt;&lt;LI&gt;Login as expert&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Run-script with vpn tu del &amp;lt;peer address&amp;gt;&lt;/LI&gt;&lt;LI&gt;Sign out expert mode&lt;/LI&gt;&lt;LI&gt;Clos ssh session&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This have to be done either vi asp .net or php and before that I would need to find the peer that might have an issue.&lt;/P&gt;&lt;P&gt;What I was thinking talking from smart monitor.&lt;/P&gt;&lt;P&gt;You got some kind of ping running showing the connection is open.&lt;/P&gt;&lt;P&gt;And you have the name of the vpn community as well as the peer address&lt;/P&gt;&lt;P&gt;If it was a API entry in Json I would being able to request these informations in a couple of requests.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Jul 2018 06:48:24 GMT</pubDate>
    <dc:creator>Kim_Moberg</dc:creator>
    <dc:date>2018-07-29T06:48:24Z</dc:date>
    <item>
      <title>VPN tunnel Reset via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13885#M975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Hi&lt;/P&gt;&lt;P class=""&gt;I was thinking if there have been any considerations of inplementing any was to reset vpn tunnel via th mgmt API interface?&lt;/P&gt;&lt;P class=""&gt;&lt;A _jive_internal="true" class="jive-link-profile-small jive_macro jive_macro_user" href="https://community.checkpoint.com/people/h.ank2614aef2-c5d1-3f73-bbbd-45c59b9e2728"&gt;Heiko Ankenbrand&amp;nbsp;&lt;/A&gt;did provide a great hint to to use vpn tu via commandline.&lt;/P&gt;&lt;P class=""&gt;&lt;A _jive_internal="true" href="https://community.checkpoint.com/docs/DOC-3021-show-vpn-routing-on-cli"&gt;https://community.checkpoint.com/docs/DOC-3021-show-vpn-routing-on-cli&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Commands are:&lt;/P&gt;&lt;P class=""&gt;vpn tu del ipsec all &amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;vpn tu del ipsec ip-addr&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;vpn tu del ipsec ip-addr username&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;vpn tu del all &amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;vpn tu del ip-addr&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;vpn tu del ip-addr username&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;I was thinking since smart monitor can do this from the manager why not also being able to do so from the mgmt API?&lt;/P&gt;&lt;P class=""&gt;We have a lot if ipsec vpn which on Remote site have a lte router in front of a Cisco router. This LTE router being reset daily at midnight but due to missing dead Peer detection old sessions not being reset after reboot of the LTE router.&lt;/P&gt;&lt;P class=""&gt;This cause sometimes we manually need to reset vpn tunnels.&lt;/P&gt;&lt;P class=""&gt;This we would like to deligate to users who are not firewall experts, and do not want to allow them smart monitor or expert access.&lt;/P&gt;&lt;P class=""&gt;Therefore we would like to build a portal where they can login and check connection status’s and reset vpn id wanted.&lt;/P&gt;&lt;P class=""&gt;Would that we easy to implement and easy to solve?&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Thanks&lt;/P&gt;&lt;P class=""&gt;Best regards&lt;/P&gt;&lt;P class=""&gt;Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 13:25:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13885#M975</guid>
      <dc:creator>Kim_Moberg</dc:creator>
      <dc:date>2018-07-27T13:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: VPN tunnel Reset via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13886#M976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/migrated-users/6703"&gt;Tomer Sole&lt;/A&gt;‌, we should add this to API future developments list, per product owner.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 13:38:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13886#M976</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-07-27T13:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: VPN tunnel Reset via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13887#M977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be useful for the gateway API currently under development (i.e. where you will be able to query the gateway directly with REST API).&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/migrated-users/45223"&gt;Alexander Kim&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 02:56:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13887#M977</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-07-29T02:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: VPN tunnel Reset via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13888#M978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds nice. I will talk with VPN guys, offer them the i/s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There could be more useful commands, the whole "vpn" binary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 05:38:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13888#M978</guid>
      <dc:creator>Alexander_Kim</dc:creator>
      <dc:date>2018-07-29T05:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: VPN tunnel Reset via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13889#M979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can do that&amp;nbsp;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;today&lt;/STRONG&gt;&lt;/SPAN&gt; using run-script API.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/run-script~v1.1%20" title="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/run-script~v1.1%20"&gt;Check Point - Management API reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 06:34:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13889#M979</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-07-29T06:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: VPN tunnel Reset via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13890#M980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Thanks Tom&lt;/P&gt;&lt;P class=""&gt;But then I will need to use those scripts to parse via mgmt smartconsole.&lt;/P&gt;&lt;P class=""&gt;If I would my own website for internal use I will have to:&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a ssh to active cluster node&lt;/LI&gt;&lt;LI&gt;Login as expert&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Run-script with vpn tu del &amp;lt;peer address&amp;gt;&lt;/LI&gt;&lt;LI&gt;Sign out expert mode&lt;/LI&gt;&lt;LI&gt;Clos ssh session&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This have to be done either vi asp .net or php and before that I would need to find the peer that might have an issue.&lt;/P&gt;&lt;P&gt;What I was thinking talking from smart monitor.&lt;/P&gt;&lt;P&gt;You got some kind of ping running showing the connection is open.&lt;/P&gt;&lt;P&gt;And you have the name of the vpn community as well as the peer address&lt;/P&gt;&lt;P&gt;If it was a API entry in Json I would being able to request these informations in a couple of requests.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 06:48:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13890#M980</guid>
      <dc:creator>Kim_Moberg</dc:creator>
      <dc:date>2018-07-29T06:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: VPN tunnel Reset via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13891#M981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's true. With R80.10 Management API you can only send all VPN calls to one place (the Management) rather than login to every gateway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 07:28:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13891#M981</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-07-29T07:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: VPN tunnel Reset via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13892#M982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;It is fantastic to see Gaia API is now in GA.&lt;/P&gt;&lt;P class=""&gt;I have already checked it out and I see a great potential of providing API to Secure gateways.&lt;/P&gt;&lt;P class=""&gt;What I have looking for a long time is to&amp;nbsp;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;include VPN shell functionality into the Gaia API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;Did not see the features available yet but have been in dialog with &lt;A _jive_internal="true" class="jive-link-profile-small jive_macro jive_macro_user" href="https://community.checkpoint.com/people/3faa5c46-385d-3be2-a196-b190c2a5b927"&gt;Alexander Kim&amp;nbsp;&lt;/A&gt;if it could be included in a feature roadmap release and that was possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;This is my idea basically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;To include the CLISH VPN shell and tu commands into the API.&lt;/SPAN&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;&amp;nbsp;I have been freely translating how a possible API for this method fundation could look like.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;&lt;A class="jive-link-external-small" href="https://{{ip}}/gaia_api/vpn/show-tunnels-ike" rel="nofollow"&gt;https://{{ip}}/gaia_api/vpn/show-tunnels-ike&lt;/A&gt;&amp;nbsp; (features show all peers, or peers ip)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;&lt;A class="jive-link-external-small" href="https://{{ip}}/gaia_api/vpn/show-tunnels-IPsec" rel="nofollow"&gt;https://{{ip}}/gaia_api/vpn/show-tunnels-IPsec&lt;/A&gt;&amp;nbsp; (features show all peers, or peers ip)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;A class="jive-link-external-small" href="https://{{ip}}/gaia_api/vpn/delete-ipsec-tunnel-all" rel="nofollow" style="font-weight: bold; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;https://{{ip}}/gaia_api/vpn/delete-ipsec-tunnel-all&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;A class="jive-link-external-small" href="https://{{ip}}/gaia_api/vpn/delete-ipsec-tunnel-peer" rel="nofollow" style="font-weight: bold; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;https://{{ip}}/gaia_api/vpn/delete-ipsec-tunnel-peer&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;A class="jive-link-external-small" href="https://{{ip}}/gaia_api/vpn/delete-ipsec-peer-username" rel="nofollow" style="font-weight: bold; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;https://{{ip}}/gaia_api/vpn/delete-ipsec-peer-username&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;A class="jive-link-external-small" href="https://{{ip}}/gaia_api/vpn/delete-all-tunnels" rel="nofollow" style="font-weight: bold; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;https://{{ip}}/gaia_api/vpn/delete-all-tunnels&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;A class="jive-link-external-small" href="https://{{ip}}/gaia_api/vpn/delete-peer-username" rel="nofollow" style="font-weight: bold; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;https://{{ip}}/gaia_api/vpn/delete-peer-username&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;Any order ideas?&lt;/P&gt;&lt;P class=""&gt;Thanks&lt;/P&gt;&lt;P class=""&gt;Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2019 21:01:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/13892#M982</guid>
      <dc:creator>Kim_Moberg</dc:creator>
      <dc:date>2019-01-18T21:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: VPN tunnel Reset via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/158391#M7151</link>
      <description>&lt;P&gt;Hi everyone, is there any update on this topic? My operation team would need a solution like that. I'm not happy to give them write access just for resetting tunnels.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 06:56:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/VPN-tunnel-Reset-via-API/m-p/158391#M7151</guid>
      <dc:creator>Claudio_Bolcato</dc:creator>
      <dc:date>2022-09-29T06:56:53Z</dc:date>
    </item>
  </channel>
</rss>

