FortiClient - Remote Access IPsec Connection Issue - MacOS
Hi All,
We are experiencing an issue with the forticlient VPN client on MacOS 15.5
We are currently planning our roll out of remote access via IPsec and moving away from SSL VPNs,
The issue we are having is that after a device cold start/reboot, the initial attempt to connect to the remote access VPN via IPsec always fails and gives an "Connection was terminated unexpectedly" error.
Trying it immediately again afterwards, it still fails.
The current workaround is to connect to the same remote VPN endpoint but via SSL VPN, and then trying the IPsec once more; however, this does not always seem to work.
Another workaround seems to be waiting 5-10 minutes, and trying the IPsec connection seems to work.
Once successfully connected via the IPsec VPN, it continues to work until the client device is rebooted/shut down.
Looking through the Forticlient debug logs, we are getting an "IPsec error -104"; however, when running an authentication debug on the FortiGate, I can see we are successfully authenticating via LDAP + Duo MFA.
When using the same login details to the same LDAP server but via SSL VPN, it works and authenticates successfully 100% of the time.
Because of this, I do not trust that the -104 error is real.
When running Wireshark captures, I can also see the FortiClient app begins to initiate the phase 1 process, but when the FortiGate firewall responds, the Forticlient application does not continue on to the quick mode process and gets stuck sending NAT-Keepalive messages to the FortiGate.
The issues seem to have started after upgrading the macOS version to 15.5.
We are not experiencing this issue with older versions of MacOS (ie. macOS 12.7.6)
The issue is also affecting versions of Forticlient VPN, including 7.4.0, 7.4.1, 7.4.2 & the current version 7.4.3
This issue is limiting our rollout of the IPsec remote access VPN.
if anyone has experienced a similar issue, I would greatly appreciate any assistance.
