Description
Solution
To enable DTLS on SSL VPN, run the following commands:
config vpn ssl settings
set dtls-tunnel enable
end
This has been enabled by default since 5.4.
If the user(s) are still using TCP, check FortiClient settings to ensure that the option 'Preferred DTLS Tunnel' is checked in the settings. If the option is greyed out, select the padlock on the top right to unlock it (Screenshot below). See the following FortiClient article for more information: VPN options
When FortiClients are managed by EMS, the DTLS option cannot be enabled directly on the FortiClient console. Changes need to be pushed by the administrator from EMS.
Verification steps to see if FortiClient is using DTLS:
get vpn ssl monitor
show full vpn ssl settings | grep "port "
Example:
diagnose sniffer packet any 'host <PC Public IP> and port <SSLVPN Port>' 4 10 l
Example:
Another option to improve performance is to disable NPU offload for the policy being used by SSL VPN. Be cautious when doing it as traffic will then be handled by CPU only which may cause high CPU usage if the policy usage is high :
config firewall policy
edit <SSLVPN policy ID>
set auto-asic offload disable
end
Note:
The DTLS option for all MAC-OS on the FortiClient is supported starting v7.2.2.: SSL VPN DTLS support for FortiClient (macOS) and (Linux) 7.2.2
Related article:
Technical Tip: How to enable DTLS option from EMS
Troubleshooting Tip: DTLS connection is not negotiated when connecting to FortiSASE with Windows PC
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.