Linux: connecting to a VPN using IKEv1, PSK and email token
04:04 22 Feb 2026

I am trying to connect to a Fortinet VPN server using Linux that requires IKEv1, a PSK and will then mail me a token.

StrongSwan command line tools do not offer the option to enter a token at a prompt.

Is there any viable way to get this working?

Thanks,

linux ipsec strongswan fortinet