Skip to main content
New Member
July 22, 2026
Solved

Can't connect with fortinet 7.2 managed with EMS and SAML on linux

  • July 22, 2026
  • 5 replies
  • 66 views

I enrolled my forticlient with the EMS, it shows “connected”.

When I try to connect to the VPN (SAML Login), it’s stuck “connecting”.

Two problems come to mind:
* It doesn’t show the SAML popup (auth through azure) as it does on windows.
* when looking at service log, last line says /opt/forticlient/iked: invalid option -- 'P'


I tried a number of things, starting the session with X or Wayland, no change, setting the open in external browser setting flag … with no success.

Help

Best answer by KentCunnect

Ok, I’ve finally solved the problem. I had strongswan installed that conflicted with the port iked was listenning to. 

5 replies

funkylicious
SuperUser
SuperUser
July 22, 2026

it would seem that starting with FortiClient 7.4.3 for Linux and FortiOS 7.6.1 , IPsec with SAML using an external browser is supported - link

"jack of all trades, master of none"
New Member
July 22, 2026

ah, IT support generates the client for me, and their system doesn’t use the last version. Do you think I can install the default client and register it with EMS afterwards ? and would it event works if EMS and forticlient versions mismatch ?

Thanks for your answer

funkylicious
SuperUser
SuperUser
July 22, 2026
"jack of all trades, master of none"
KentCunnectAuthorAnswer
New Member
August 3, 2026

Ok, I’ve finally solved the problem. I had strongswan installed that conflicted with the port iked was listenning to. 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!