Skip to main content
SulyIT
New Member
June 6, 2018
Question

IPsec VPN on linux ?

  • June 6, 2018
  • 20 replies
  • 71401 views

Hi, 

 

I would like to know if it's possible to connect the VPN Remote Access IPsec (not the site2site) in Linux? 

 

I know that for the VPN SSL I can use openFortinet or something like that in linux, but apparently the IPsec VPN is not supported. 

 

Another questions, is there a way to start and stop the Ipsec VPN from command prompt or with an API?  

    20 replies

    ericli_FTNT
    Staff
    Staff
    June 6, 2018

    You can install a FortiClient as a IPSEC client on Linux.

     

    [link]https://www.forticlient.com/[/link]

    SulyIT
    SulyITAuthor
    New Member
    June 6, 2018

    As you can see in attachment the linux client doesn't support the IPSec VPN. 

    It is possible to use another client for the connexion on linux? Or this is possible to use a regular site2site instead of the client? 

     

    Thanks in advance 

    ericli_FTNT
    Staff
    Staff
    June 6, 2018

    Sorry, double checked it. It turns out that currently linux version does not have this feature.

    emnoc
    New Member
    August 13, 2018

    review  strongswan. It's suitable for ipsec vpn  and for dialup  applications.

    HancieC
    New Member
    August 30, 2018

    Do anyone tried to connect StrongSwan tunnel (route-based) IPSEC mode to Cisco router (ISR) or maybe someone have an instruction how to do it ?

    I need to connect an linux instance from cloud to Cisco ISR router

    hendri_tobing
    New Member
    July 8, 2019

    Hi, 

     

    I wonder also about this. Is there any solution or at least a workaround for Linux users to connect to IPSec VPN?

     

    Thank you.

    SulyIT
    SulyITAuthor
    New Member
    July 8, 2019
    The shrewsoft client, the package is called "ike".
    sw2090
    SuperUser
    SuperUser
    July 8, 2021

    Yeah shrewsoft is still good on windows but since the developement is shut down since 2014 it will not work in current linuxes. I managed to compile it on an ubuntu 20.04 with some cheating but it diddn't really work at all afterwards.

     

    I however then used OpenSwan/StrongSwan to do it hence that's in the standard repos of allmost every distro. However there still is no suitable gui for it in linux. But it does work fine on cli. 

    I only need to execute "ipsec up <connectionname>" to bring it up and it uses iptables instead of routing entries here. Just the only issue I have ist that it doesn't support multiple subnets when you use ikev1 but that one is to blame me for still not using ikev2 xD

    britzer0683
    New Member
    January 28, 2022

    Is there any plan from fortinet to have IPSEC Configuration in linux?

    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.