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

VPN Debug

HeikoAnkenbrand
Champion Champion
Champion

evpn1234.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.

 


   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-C "; echo -e "\e[0m"; sleep 100000000;' > /tmp/vd; chm
...;
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.




(2)
12 Replies

robin-mauser
Explorer

Hi  @HeikoAnkenbrand 

Saves a lot of typing.
Super oneliner!

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


ute
Participant

Does the oneliner also work under R80.40?

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

HeikoAnkenbrand
Champion Champion
Champion

Hi  @ute

yes

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Robin-N
Participant

Hi @HeikoAnkenbrand,

That's an interesting idea.

Can you use it for debugging that has nothing to do with VPN?

regards,
Robin

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

G_W_Albrecht
Legend Legend
Legend

If you edit it to perform debug for your purpose you could !

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

HeikoAnkenbrand
Champion Champion
Champion

I will change the onliner for debuging.

Coming up in the next few days.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


H_W
Participant

👍

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Ute1
Explorer

Hi @HeikoAnkenbrand,
I have an idea, but don't know how to implement it.
You could also put the log files after the "ctrl C" in a tar archive.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


HeikoAnkenbrand
Champion Champion
Champion

Hi @Ute1,

This is a good idea. I will include this in a new version.

Best regards
Heiko

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


nils_alfer
Contributor

Hi  @HeikoAnkenbrand 

I often use the onliner for VPN debugging. Would be great if you could integrate the tar function.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Joerg_R
Participant

We have over 200 VPN tunnels that change more often. Therefore I use the oneliner very extensively.

Great idea, thanks

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

nils_alfer
Contributor

Is an interesting solution! Should be included in the "vpn tu" tool.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos