Hello forum,
we have a box with many VPN tunnels, but one is giving me a headache.
I like to do a long term debugging, because FortiAnalizer has not the necessary details like dpd messages. My best method currently is to run a "screen" session with output logging and do "diagnose debug application ike -1" there.
But this ends after 30 minutes and has no timestamp.
Has anyone a good idea? Sending those debugs to a syslog server would be great.
Cheers,
Dirk
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi Dirk,
My method is:
putty with logging enabled
Prolong Admin Session Timeout via GUI
Prolong Debug time:
diagnose debug duration 0
Enable debug timestamp:
diagnose debug console timestamp enable
Filter Debug for the specific Peer´s Source (yes, filter is set as dst-addr :(
diagnose vpn ike log-filter dst-addr4 1.2.3.4
diagnose vpn ike filter dst-addr4 1.2.3.4
Regards,
The jaene
Hello The jaene,
"diagnose debug duration 0" is one thing I didn't know about, thank you for that.
I got another hint that's solving the timestamp issue. "ts" from the moreutils package adds a configurable timestamp to an output line. Together with "tee" it works directly with ssh.
ssh my-fortigate | tee >(ts > debug.log)
Cheers,
Dirk
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1714 | |
1093 | |
752 | |
447 | |
232 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.