Skip to main content
Nivedha
Staff
Staff
Apr 15, 2024 5:33 AM UTC

Troubleshooting Tip: What logs to collect for ADVPN issues while opening TAC tickets

Description This article indicates logs to generate for ADVPN tickets.
Scope FortiGate.
Solution

There are two main issues with ADVPN. It can either be a routing issue or a tunnel issue.

 

For routing issues, collect the following debugs:

  • Details of the issue.
  • Topology details.
  • Source IP.
  • Destination IP.
  • Traffic flow: Source IP (LAN interface of FGTA) FGTA (IPSec tunnel name) ----- (IPSec tunnel name)  FGTB (LAN interface of FGTB) Destination IP. These details are important for TAC engineers to understand the topology.
  • Policy ID of Policies allowing traffic on  FGTA and FGTB.
  • Specific details of the traffic that is denied.
  • Config file of all FortiGates involved.
  • Routing commands:

get router info routing-table details <sourceip>

get router info routing-table details <destip>

 

  • If BGP is involved:

 

get router info bgp summary

get router info bgp network <source IP> <----- From remote FortiGate.

get router info bgp network <destination IP> <----- From local FortiGate.

 

diag sys session filter src <source IP>

diag sys session filter dst <destination IP>

diag sys session list

 

If it is a tunnel issue then the following details:

  • Details of the issue.
  • Topology details.
  • Traffic flow –FGTA (IPSec tunnel name) ----- (IPSec tunnel name)  FGTB. These details are important for TAC engineers to understand the topology.
  • Config file of all FGT involved.
  • Tunnel details:

diag vpn ike gateway list

diag vpn tunnel list

get vpn ipsec tunnel summary

 

  • IKE Debugs:

Related article:

Troubleshooting Tip: IPSEC Tunnel (debugging IKE)

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024