Technical Tip: How to decrypt IPSec Phase-1(ISAKMP) packets
| Description | This article describes how to decrypt IPSec Phase-1 (ISAKMP) packets. |
| Scope | FortiGate. |
| Solution |
diagnose vpn ike log-filter dst-addr4 10.47.2.36 diagnose debug application ike -1 diagnose debug enable diagnose vpn ike gateway clear name <phase1 tunnel name>
Note: Starting from FortiOS 7.4.1, the 'diagnose vpn ike log-filter dst-addr4' command has been changed to 'diagnose vpn ike log filter rem-addr4'.
diagnose debug disable diagnose debug reset
ISAKMP SA 44bccc59eacea672/3477d67621c2c4d5 key 16:5821AD4D929637E363BE4172EEA4C16A
It is also possible to get the SPI and ISAKMP keys from FortiGate using the command below:
diag vpn ike gateway list name <Phase1-Name>
Related articles: Technical Tip: How to decrypt IPSec Phase-2 (ISAKMP) packets IKEv2 |





