- CheckMates
- :
- CheckMates Toolbox
- :
- Scripts
- :
- VPN Debug + VPND live view
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
VPN Debug + VPND live view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


Champion
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 vpnd.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-C "; echo -e "\e[0m"; tail -f $FWDIR/log/vpnd.elg;' > /tmp/vd; chmod 770 /tmp/vd; /tmp/vd
If the VPN error has occurred, you only need to stop the oneliner via CTRL-C.
Now you can find the usual debug files here:
$FWDIR/log/ike.elg
$FWDIR/log/vpnd.elg
More VPN oneliner:
- ONELINER - Easy VPN Debug
- ONELINER - Easy VPN Debug - with IKE live view
Use the tool with even more functions:
- Easy VPN Debug Tool
➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
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 vpnd.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 CTR
...;
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.
0 Replies
