Skip to main content
Visitor II
Oct 7, 2026 2:32 PM UTC
Solved

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.

funkylicious
SuperUser
Oct 7, 2026 3:46 PM UTC

has a similar issue, described here, ended up using 7.2.13 at the moment.

 

"jack of all trades, master of none"

2 replies

funkylicious
SuperUser
SuperUser
Oct 7, 2026 3:46 PM UTC

has a similar issue, described here, ended up using 7.2.13 at the moment.

 

Translate
"jack of all trades, master of none"
New Member
Oct 22, 2026 8:17 PM UTC

This is my first post on this community, please bear with me :)

I got tired of waiting for Forti to come up with a solution, so I created one.

Note that this is fresh out the oven and hasn’t been tested for more than a couple of hours.

Currently running on:

FortiClient 7.4.3.4323

MacOS 26.6.2

FortiGate 7.4.11

 

Modify the VPN on the FortiGate:

show vpn ipsec phase1-interface
config vpn ipsec phase1-interface
edit "YOUR_PHASE1_NAME"
set client-resume enable
set client-resume-interval 7200
next
end

Modify the FortiClient config:

Export your config on desktop

sudo "/Library/Application Support/Fortinet/FortiClient/bin/fcconfig" \
-m all \
-f "$HOME/Desktop/FortiClient-backup.xml" \
-o export

 Modify the XML

sed 's/<session_resume>0<\/session_resume>/<session_resume>1<\/session_resume>/' \
"$HOME/Desktop/FortiClient-backup.xml" \
> "$HOME/Desktop/FortiClient-test.xml"

Reimport the config 

sudo "/Library/Application Support/Fortinet/FortiClient/bin/fcconfig" \
-m all \
-f "$HOME/Desktop/FortiClient-test.xml" \
-o import

 The “7200” in client-resume-interval is in seconds and represents the amount of time the fortiGate will hold on to the session authentication.

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024