FortiClient VPN 7.4.3 (macOS) drops IPsec IKEv2 tunnel immediately on screen lock - "Check VPN Connect without Reauth"
Environment:
- FortiClient VPN (free, VPN-only) 7.4.3.4323
- macOS Tahoe 26.7.1 (iMac)
- IPsec IKEv2 tunnel with SAML SSO/MFA, NAT-T (UDP 4500)
- Not connected to EMS (log shows "Ignore Secure compliance Check as FCT is not connected to EMS")
Problem:
The VPN tunnel is disconnected by FortiClient itself less than one second after the macOS screen is locked. This happens even when the system is prevented from sleeping (display sleep and screensaver disabled, sleep prevented with a keep-awake utility) and while traffic is actively flowing through the tunnel.
Steps to reproduce:
1. Connect the IPsec IKEv2 tunnel with SAML SSO.
2. Keep traffic flowing through the tunnel (e.g. a TCP check every 60 seconds to an internal host).
3. Disable screensaver and display sleep, prevent system sleep.
4. Lock the screen (Ctrl+Cmd+Q).
5. The tunnel is disconnected within ~0.7 seconds.
If the screen is not locked, the tunnel stays up indefinitely, so this is not an idle timeout, a network issue, or a gateway-side disconnect.
Relevant unified log entries (log show, IPs redacted):
11:02:38.179 iked: [com.fortinet.forticlient:IPSec] ikev2_ike_sa_alive: sending alive check
11:02:38.194 iked: [com.fortinet.forticlient:IPSec] recv INFORMATIONAL res 409 peer <GATEWAY>:4500 ... policy 'vpn'
11:02:38.194 iked: [com.fortinet.forticlient:IPSec] ikev2_msg_decrypt: integrity check succeeded
11:02:39.731 loginwindow: _handleAppleEvent | Received a kAELockScreenEvent
11:02:40.394 FortiTray: [com.fortinet.forticlient.macos:util] Check VPN Connect without Reauth
11:02:40.432 FortiTray: [com.fortinet.forticlient.macos:util] VPN disconnected
11:02:40.508 FortiTray: [com.fortinet.forticlient.macos:util] Config firewall policy succeeded
The IKE SA keepalive succeeds one second before the lock, so the tunnel is healthy. The disconnect is initiated locally by FortiTray right after the lock event, following the "Check VPN Connect without Reauth" step.
Questions:
1. Is disconnecting on screen lock intended behavior for IPsec tunnels with SAML SSO on macOS?
2. Is there a setting (client-side, FortiGate-side, or XML config) to keep the tunnel up while the session is locked, and is it available in the free VPN-only client without EMS?
3. Does the Windows client behave the same way with the same tunnel configuration?
This makes the client hard to use for remote work: users must either leave the workstation unlocked (a security issue) or re-authenticate with MFA every time they step away.
Thanks.
