Created on
07-29-2025
03:34 AM
Edited on
08-01-2025
07:14 AM
By
Jean-Philippe_P
Description | This article describes the unusual behavior where the decrypted packets/bytes counter is reporting incorrect values in 'diagnose vpn tunnel list name <tunnel_name>' output. |
Scope | FortiGate. |
Solution |
Once the IPsec VPN tunnel is established, the 'diagnose vpn tunnel list name <tunnel_name>' command is used to see details about phase2 selectors (config vpn ipsec phase2-interface).
FGT_Lab # diagnose vpn tunnel list parent=FGT_P1 index=545
The pkts/bytes counter displays the number of packets/bytes encrypted or decrypted by the Security Association (SA). Once SA is offloaded, the decrypt counter doesn't update regularly (as encryption).
dec:pkts/bytes=5762/16468, enc:pkts/bytes=9470/581554
dec:pkts/bytes=11904/1064898, enc:pkts/bytes=18934/1161034
When NPU Offloading is disabled under phase1 settings, the decrypt packets are updated regularly.
dec:pkts/bytes=7422/445320, enc:pkts/bytes=7422/890640
Run these commands to disable hardware acceleration for individual IPsec VPN tunnels:
config vpn ipsec phase1-interface
edit phase-1-name
set npu-offload disable
end
Before disabling the hardware acceleration, refer to this article to understand its impact:
The issue will be resolved in v7.4.9 and v7.6.4. |
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 2025 Fortinet, Inc. All Rights Reserved.