Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 

VPN Debug + IKE live view

HeikoAnkenbrand
Champion Champion
Champion

evpnike123.JPG
This oneliner will do the work for you.
Use this onliner to start easy a VPN debug without entering all debug commands by hand.

Shows you the results of the ike.elg file as live view.

 


   echo 'echo "VPN Debug start"; function ctrl_c { vpn debug off; vpn debug ikeoff; vpn debug truncoff; echo "VPN Debug stop"; rm /tmp/vd; exit 0;}; trap ctrl_c INT; vpn debug trunc; vpn debug on; vpn debug ikeon; vpn debug on TDERROR_ALL_ALL=5; echo -e "\e[7m"; echo " Stop VPN debug with CTRL
...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




5 Replies

Joerg_R
Participant

This is a simple and very good solution.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Alice_Shields
Participant

Do I see it right, that you use the following VPN debug commands?


   vpn debug trunc; vpn debug on; vpn debug ikeon; vpn debug on TDERROR_ALL_ALL=5
  

 

What do I have to do after the debug?
Stop debug?

 

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Nauuk_K
Participant

Hi  @HeikoAnkenbrand 

Interesting idea. This makes debugging much easier.

 

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


HeikoAnkenbrand
Champion Champion
Champion

Hi  @Alice_Shields,

I use the following cli commands in the script.

 


   vpn debug trunc; vpn debug on; vpn debug ikeon; vpn debug on TDERROR_ALL_ALL=5 >>> VPN issue <<< vpn debug off vpn debug ikeoff vpn debug truncoff
  

 

 

 

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


president
Participant

Nice solution!

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free