<?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: Checking the State of VPN Tunnel in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Checking-the-State-of-VPN-Tunnel/m-p/168220#M27981</link>
    <description>&lt;P&gt;In addition to what&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/3630"&gt;@Chris_Atkinson&lt;/a&gt;&amp;nbsp;said, yes, if SmartView Monitor shows the tunnel UP, it means it is up &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 15:05:42 GMT</pubDate>
    <dc:creator>_Val_</dc:creator>
    <dc:date>2023-01-18T15:05:42Z</dc:date>
    <item>
      <title>Checking the State of VPN Tunnel</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Checking-the-State-of-VPN-Tunnel/m-p/168177#M27976</link>
      <description>&lt;P&gt;Hello..&lt;/P&gt;&lt;P&gt;I am relatively new to Checkpoint S2S VPN Tunnels..recently i created a non vti VPN tunnel (R80.40 vsx limitation). I was wondering if there is a way to check if the tunnel is stablished and UP without asking the remote side.&lt;/P&gt;&lt;P&gt;I went to the Smartview Monitor and under "VPNs" and "Tunnels on Community" i can see the status of tunnel is showing UP and Green..does this mean that the tunnel is active ? or is there any other way to determine this at Checkpoint end.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 11:12:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Checking-the-State-of-VPN-Tunnel/m-p/168177#M27976</guid>
      <dc:creator>LostBoY</dc:creator>
      <dc:date>2023-01-18T11:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Checking the State of VPN Tunnel</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Checking-the-State-of-VPN-Tunnel/m-p/168186#M27977</link>
      <description>&lt;P&gt;You also have the "vpn tu" command on the Gateway CLI to show the SA info etc.&lt;/P&gt;
&lt;P&gt;For more info see: sk33853&lt;/P&gt;
&lt;P&gt;cpview also provides some VPN metrics that may be helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 12:03:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Checking-the-State-of-VPN-Tunnel/m-p/168186#M27977</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2023-01-18T12:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Checking the State of VPN Tunnel</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Checking-the-State-of-VPN-Tunnel/m-p/168220#M27981</link>
      <description>&lt;P&gt;In addition to what&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/3630"&gt;@Chris_Atkinson&lt;/a&gt;&amp;nbsp;said, yes, if SmartView Monitor shows the tunnel UP, it means it is up &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:05:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Checking-the-State-of-VPN-Tunnel/m-p/168220#M27981</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2023-01-18T15:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Checking the State of VPN Tunnel</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Checking-the-State-of-VPN-Tunnel/m-p/168255#M27986</link>
      <description>&lt;P&gt;Thanks..this was helpful&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 17:05:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Checking-the-State-of-VPN-Tunnel/m-p/168255#M27986</guid>
      <dc:creator>LostBoY</dc:creator>
      <dc:date>2023-01-18T17:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Checking the State of VPN Tunnel</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Checking-the-State-of-VPN-Tunnel/m-p/168533#M28032</link>
      <description>&lt;P&gt;try this&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;echo;_vpn=1;if [[ -f /bin/enabled_blades ]];then if [[ `enabled_blades|tr 'A-Z' 'a-z'` != *'vpn'* ]];then _vpn=0;fi;elif [[ -f /opt/fw1/conf/active_blades.txt ]];then if [[ `grep VPN-S2S /opt/fw1/conf/active_blades.txt|awk '{print $NF}'` != '1' ]];then _vpn=0;fi;elif [[ -f /opt/fw1/conf/blades.json ]];then if [[ `jq '.data[]|select(.name=="VPN-S2S")|.enabled' /opt/fw1/conf/blades.json` != '1' ]];then _vpn=0;fi;fi;if [[ $_vpn == 1 ]];then _ha=0;if [[ `$CPDIR/bin/cpprod_util FwIsHighAvail` -eq '1' ]];then _ha=1;if [[ `cphaprob stat|grep \(local\)|tr 'A-Z' 'a-z'` == *'active'* ]];then _ha=0;fi;fi;if [[ $_ha == 0 ]];then if [[ -f /bin/timeout ]];then _stat=`timeout 5 stattest gettable 1.3.6.1.4.1.2620.1.9002.1 2 3 4 1 7 8 9 10 11`;else _stat=`stattest gettable 1.3.6.1.4.1.2620.1.9002.1 2 3 4 1 7 8 9 10 11`;fi;echo "$_stat"|tr ',' ' '|awk '{gsub("132","Initialized",$2)}1'|awk '{gsub("131","Down",$2)}1'|awk '{gsub("130","Phase_1",$2)}1'|awk '{gsub("129","Idle",$2)}1'|awk '{gsub("4","Destroyed",$2)}1'|awk '{gsub("3","UP",$2)}1'|awk '{gsub("0","Primary",$6)}1'|awk '{gsub("1","Backup",$6)}1'|awk '{gsub("2","On-demand",$6)}1'|awk '{gsub("0","?",$7)}1'|awk '{gsub("1","Alive",$7)}1'|awk '{gsub("2","!",$7)}1'|awk '{gsub("1","Regular",$8)}1'|awk '{gsub("2","DAIP",$8)}1'|awk '{gsub("3","ROBO",$8)}1'|awk '{gsub("4","LSV",$8)}1'|awk '{gsub("1","Regular",$9)}1'|awk '{gsub("2","Permanent",$9)}1'|sort|sed "s/^/$(hostname) &amp;lt;=&amp;gt; /"|sed '1 i\( , , , , , , , , , , )'|sed '1 i\FROM &amp;lt;=&amp;gt; TO STATE VPN_COMMUNITY PEER_IP SOURCE_IP LINK_PRIORITY PROB_STATE PEER_TYPE VPN_TYPE'|if [[ -f /bin/column ]];then column -t|sed "s/\bUP\b/\x1b[1;32m&amp;amp;\x1b[m/g;s/\bDown\b\|\bDestroyed\b/$\x1b[1;31m&amp;amp;\x1b[m/g;s/\bBackup\b\|\bAlive\b\|\bInitialized\b\|\bPhase_1\b/\x1b[1;36m&amp;amp;\x1b[m/g"|sed '/^(.*)$/ s/./=/g'|sed '$a+'|sed '2h;$x'|sed "s/^/&amp;nbsp; /";echo -e "\033[1;2m&amp;nbsp; Reset VPN tunnel to peer : vpn tu del PEER_IP\n&amp;nbsp; Show&amp;nbsp; VPN tunnel details : vpn tu tlist -p PEER_IP\033[m";else cat|sed '/^(.*)$/ s/./=/g';fi;else echo -e "\033[1;31mNot an active HA member.\033[m";fi;else echo -e "\033[1;31mNot a VPN gateway.\033[m";fi;unset _vpn _ha _stat;echo&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 13:48:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Checking-the-State-of-VPN-Tunnel/m-p/168533#M28032</guid>
      <dc:creator>CheckPointerXL</dc:creator>
      <dc:date>2023-01-20T13:48:29Z</dc:date>
    </item>
  </channel>
</rss>

