Skip to main content
RRatBB
New Member
Feb 6, 2025 4:34 PM UTC
Solved

Can "diagnose debug application" Be Filtered

I am trying to debug some ssl-vpn connection stuff.  If I run "diag debug application sslvpn -1" it generates a lot of debug lines.  Downloading the output and filtering through it to find what I need is not fun. 

 

Is there a way to filter this by the source IP of the remote VPN client?  Or by some sort of VPN session ID?  Or something so that I can focus on troubleshooting a single user without having to wade through all the other connection data?

Dhruvin_patel
Staff
Feb 6, 2025 6:03 PM UTC

Greetings!

 

Yes there is a way to filter with public IP source address.

 

diagnose vpn ssl debug-filter src-addr4 x.x.x.x -------> public IP of the endpoint
diagnose debug application sslvpn -1
diagnose debug enable

 

If you wish to clear the filter, use this command, diagnose vpn ssl debug-filter clear

 

ref: https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-SSL-VPN-Troubleshooting/ta-p/189542

 

Regards!

4 replies

Dhruvin_patel
Staff
Staff
Feb 6, 2025 6:03 PM UTC

Greetings!

 

Yes there is a way to filter with public IP source address.

 

diagnose vpn ssl debug-filter src-addr4 x.x.x.x -------> public IP of the endpoint
diagnose debug application sslvpn -1
diagnose debug enable

 

If you wish to clear the filter, use this command, diagnose vpn ssl debug-filter clear

 

ref: https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-SSL-VPN-Troubleshooting/ta-p/189542

 

Regards!

Translate
RRatBB
RRatBBAuthor
New Member
Feb 6, 2025 7:56 PM UTC

Perfect! Thank you.

Translate
AEK
SuperUser
SuperUser
Feb 6, 2025 6:04 PM UTC

Yes you can with this command.

diagnose vpn ssl debug-filter ...

Full info here:

https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-SSL-VPN-Troubleshooting/ta-p/189542

Hope it helps.

Translate
AEK
RRatBB
RRatBBAuthor
New Member
Feb 6, 2025 7:57 PM UTC

Thanks!

Translate
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