Created on
08-01-2024
02:53 PM
Edited on
10-07-2024
10:56 PM
By
Jean-Philippe_P
Description | This article describes how to enable debugging on a single VPN Peer. |
Scope |
FortiGate v7.0. FortiGate v7.2. FortiGate v7.4. FortiGate v7.6. |
Solution |
If a user has multiple IPsec tunnels configured, it is possible to enable IPSec VPN-specific debugs per peer.
FortiGate-60E # diagnose vpn ike filter
FortiGate-60E # diagnose vpn ike log-filter dst-addr4 1.1.1. FortiGate-60E # di debug application ike -1 FortiGate-60E # diagnose debug enable
Using the 'dst-addr4' or 'tunnel' keyword, it is possible to enable the logs per VPN gateway or IPsec tunnel.
Note: Starting from v7.4.1, the 'diagnose vpn ike log-filter dst-addr4' command has been changed to 'diagnose vpn ike log filter rem-addr4'.
To turn off the currently enabled settings, use these commands:
FortiGate-60E # diagnose debug disable FortiGate-60E # diagnose debug reset |