Skip to main content
bup
New Member
Jan 23, 2026 9:02 AM UTC
Question

IPSec remote access from Linux with SAML SSO

Hi everyone,

 

I'm trying to set up remote access via IPSec to a FortiGate 60F. Since MS365 SSO is in use already for various services, this should be used also for VPN access. I've been able to successfully implement this and was able to connect from a Windows box with SSO and the FortiClient VPN-only version (7.4.3 hotfix 1.8758). EMS is not in use. However, I'm also looking for a solution for Linux, but each option that I see leads to a dead

 

  • Open-source IPsec clients like strongswan and libreswan don't appear to support SSO authentication (yet). I tried to add a separate user using static credentials for EAP login, but I also haven't found a way to use these tools with both a PSK and additional EAP authentication.
  • I was able to establish a connection with the regular Linux FortiClient, but it can't be used without an EMS except for a trial.
  • The FortiClient VPN-only version for Linux (7.4.3 build 1736) appears to only support SSL VPN, but not IPSec.
  • SSL VPN is obsolete and was removed from recent FortiOS, so resorting to this protocol is not really an option.

(When) will FortiClient VPN-only for Linux be updated to support IPSec VPN? Right now it appears to be Zombie software, as it only supports a protocol that is not available on updated FortiGates, so I assume the plan is to fully deprecate SSL VPN. Alternatively, can the regular FortiClient installation be put into Standalone mode, so that it can work without an EMS?

 

If there is no way with the FortiClient, did anybody succeed in configuring strongswan/libreswan to connect to a FortiGate with SSO or at least with a static user, when both PSK and EAP is in use?

 

Thanks!

6 replies

AEK
SuperUser
SuperUser
Jan 24, 2026 5:17 PM UTC

Hi Bup

The only solution I see at the moment is to create a Windows VM (with FCT-VPN) on your PC as a link between your Linux and the tunnel.

Translate
AEK
bup
bupAuthor
New Member
Jan 26, 2026 10:47 AM UTC

Hi AEK,

 

thanks for the response. While this certainly works for sporadic uses, it is of course only a fairly ugly workaround.

I'd really like to know whether Fortinet plans to release a Linux version of the VPN-only FortiClient with IPsec support in the near future. Given that they already have a VPN-only Linux version without IPsec and a fully-featured Linux version with IPsec, it appears that all the code is available already and would only require to be packed up into an installer...

Translate
Eduardoj
Visitor III
Mar 14, 2026 5:39 PM UTC

Same problem here. I have some clients that need to autenticate from linux on IPsec VPN using SSO, but there is no native option for that.

Translate
RDMCH
New Member
May 18, 2026 10:57 AM UTC

Hi guys, did you find any solution except using a Windows VM ?

Translate
Explorer
May 18, 2026 11:09 AM UTC

For Linux, FortiClient VPN-only currently seems to be the blocker because it does not provide the same IPsec SAML SSO capability as Windows FortiClient, so EMS/managed FortiClient may be required.

Translate
New Member
Nov 2, 2026 7:44 PM UTC

I had the same problem as all of you, so I decided to use AI to make a client that I could use on Linux. I put some effort into making it nice and you can find it here: https://github.com/TeaDrinkingProgrammer/archway-vpn/. Hope that helps.

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