I have just installed FortiClient 6.0.0.0029 in Ubuntu 18.04 – KDE.
I'm not shure, but looks like Linux's FortiClient has only SSL connection but not IPsec (which I need)…
Works ok in Windows 10, but mine has some bugs and I prefer to work with Ubuntu whenever possible. There is a form with:
- Connection type (SSL-VPN / IPsec VPN)
- Connection Name
- Description
- Remote Gateway
- Authentication Method (PreShared key in my case)
- Authentication (XAuth)
- Username
My company sent me only the data to fill that form, but I can't find anything like that in Ubuntu's version of FortiClient6.
Does anyone know an alternative to connect with linux, using that data? Maybe I don't need to use FortiClient specifically.
Thanks in advance!
Best Answer
You should check out Strongswan which is the recommended IPSec initiator-responder in Ubuntu. You can install it from Ubuntu's repository i.e.:
sudo apt-get install strongswan
.There are many ways to configure it: editing the legacy
ipsec.conf
file or using theswanctl
tool. To install swanctl simply usesudo apt-get install strongswan-swanctl
. If you're using Ubuntu Desktop then you can use the GUI to configure Strongswan just install the Strongswan module for Network Manager (sudo apt-get install network-manager-strongswan
).Command line config
A swanctl example config should look something like this:
/etc/swanctl/config.d/
(work.conf
or whatever)Open that file with your favourite editor and setup the proper config which is going to be something like this:
Save the config file then issue
swanctl --load-all
to start the connection. To check the status issueswanctl --list-sas
and check out that the SAs are up and running.This config is not tested and probably wont work as it is.
GUI config
Here is a guide with screenshots too: https://wiki.strongswan.org/projects/strongswan/wiki/NetworkManager